Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/f36-build-31284302-4275645/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/alpine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1637020800 Wrote: /builddir/build/SRPMS/alpine-2.25-1.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/f36-build-31284302-4275645/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/alpine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1637020800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pHI4Bd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alpine-2.25 + /usr/bin/xz -dc /builddir/build/SOURCES/alpine-2.25.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd alpine-2.25 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (alpine-2.24-useragent.patch): + echo 'Patch #1 (alpine-2.24-useragent.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file doc/tech-notes/config.html patching file doc/tech-notes/tech-notes.txt Hunk #1 succeeded at 6630 (offset 1 line). patching file pith/pine.hlp Hunk #1 succeeded at 37522 (offset 2699 lines). Patch #2 (alpine-2.23-gcc10.patch): + echo 'Patch #2 (alpine-2.23-gcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pith/smime.c Hunk #1 succeeded at 46 (offset 1 line). + install -m644 -p /builddir/build/SOURCES/README.fedora . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7NEGXJ + umask 022 + cd /builddir/build/BUILD + cd alpine-2.25 + touch imap/ip6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-09-18 15:02:36.346783285 +0000 +++ ./configure 2021-11-16 16:10:45.058189196 +0000 @@ -2112,7 +2112,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-11-16 16:10:45.058189196 +0000 +++ ./configure 2021-11-16 16:10:45.118188597 +0000 @@ -6972,7 +6972,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -22552,7 +22552,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x ']' + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-debug=no --without-tcl --with-c-client-target=lfd --with-smtp-msa=/usr/sbin/sendmail --with-npa=/usr/bin/inews --with-passfile=.alpine.passfile --with-simple-spellcheck=hunspell --with-interactive-spellcheck=hunspell --with-system-pinerc=/etc/pine.conf --with-system-fixed-pinerc=/etc/pine.conf.fixed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk 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... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu configure: Configuring for alpine 2.25 (aarch64-redhat-linux-gnu) checking for aarch64-redhat-linux-gnu-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none ./configure: line 4589: AX_PROG_CC_FOR_BUILD: command not found checking for gcc option to accept ISO C99... none needed checking for gcc 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) gawk checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /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 -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-redhat-linux-gnu file names to aarch64-redhat-linux-gnu format... func_convert_file_noop checking how to convert aarch64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6978: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux 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... /usr/bin/rm checking for cp... /usr/bin/cp checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for sed... (cached) /usr/bin/sed checking for make... /usr/bin/make checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge 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... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking option: dmalloc enabled... no ./configure: line 15007: hostname: command not found checking option: debugging is enabled... no 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 passwd... /usr/bin/passwd checking for hunspell... /usr/bin/hunspell checking for hunspell... /usr/bin/hunspell configure: --with-passfile definition overrides OS-Specific password caching configure: Excluding TCL Support, and thus Web Alpine 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 ber_alloc in -llber... yes checking for library containing ldap_initialize... -lldap configure: * * * Including LDAP Support checking for library containing crypt... -lcrypt checking for library containing gss_init_sec_context... -lgssapi_krb5 checking gssapi/gssapi_generic.h usability... yes checking gssapi/gssapi_generic.h presence... yes checking for gssapi/gssapi_generic.h... yes checking for library containing buildSmbNtlmAuthRequest... no configure: NOT including NTLM Support: ntlm library not found 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... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no 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... yes checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for memory.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... 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 locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... 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... yes checking for mode_t... yes checking for pid_t... yes checking for uid_t in sys/types.h... 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 sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... 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 vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for strchr... yes checking for memcpy... yes checking for strtol... yes checking for strtoul... yes checking for select... yes checking for poll... yes checking for qsort... yes checking for getuid... yes checking for getpwuid... yes checking for getpwnam... yes checking for gettimeofday... yes checking for tmpfile... yes checking for uname... yes checking for rename... yes checking for read... yes checking for signal... yes checking for setjmp... yes checking for chown... yes checking for wait4... yes checking for waitpid... yes checking for wait... yes checking for srandom... yes checking for popen... yes checking for pclose... yes checking for fsync... yes checking for truncate... yes checking for listen... yes checking for wcwidth... yes checking for mbstowcs... yes checking for wcrtomb... yes checking for wctomb... yes checking for putenv... yes checking for setenv... 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... yes checking for sigemptyset... yes checking for sigaddset... yes checking for sigprocmask... yes checking for library containing syslog... none required configure: * * * S/MIME support enabled configure: * * * Including Kerberos5 functionality 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 /usr/bin/rm: cannot remove 'libtoolT': No such file or directory config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + /usr/bin/make -O -j5 V=1 VERBOSE=1 'EXTRACFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5" EXTRAAUTHENTICATORS="gss " EXTRASPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private " BUNDLED="no" if test ! -L c-client ; then ln -s imap/c-client c-client ; fi make[2]: Entering directory '/builddir/build/BUILD/alpine-2.25/imap' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.25/imap' make[1]: Entering directory '/builddir/build/BUILD/alpine-2.25/imap' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.25/imap' make[1]: Entering directory '/builddir/build/BUILD/alpine-2.25/imap' make build EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private ' BUNDLED='no' BUILDTYPE=lnpno IP=6 \ SPECIALS="GSSDIR=/usr/kerberos" make[2]: Entering directory '/builddir/build/BUILD/alpine-2.25/imap' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.25/imap' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.25/imap' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.25/imap' make[3]: 'ip6' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.25/imap' Building c-client for lnpno... echo `cat SPECIALS` SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private > c-client/SPECIALS cd c-client;make lnpno EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L'\ EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS='gss '\ PASSWDTYPE=std SSLTYPE=nopwd IP=6\ GSSDIR=/usr/kerberos SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private BUNDLED='no' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.25/imap/c-client' make build EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lcrypt" make[4]: Entering directory '/builddir/build/BUILD/alpine-2.25/imap/c-client' 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 gcc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer '-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" -DLOCKPGM4=\"/usr/bin/mlock\" > OSCFLAGS echo -lcrypt -L/usr/lib -Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 > 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 maildir.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox maildir courier imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths gss ext md5 pla log bea oa2 make[5]: Entering directory '/builddir/build/BUILD/alpine-2.25/imap/c-client' echo -I/usr/kerberos/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f /usr/kerberos/lib/libk5crypto.a) && echo -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.25/imap/c-client' echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c sh -c '(test nopwd != none) && echo "int pith_ssl_encryption_version(char *);" >> linkage.h || true' ln -s os_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' Standard password authentication ln -s ckp_std.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/etc/pki/tls/certs\" -DSSL_KEY_DIRECTORY=\"/etc/pki/tls/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c `cat CCTYPE` -c `cat CFLAGS` mail.c `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c `cat CCTYPE` -c `cat CFLAGS` smanager.c `cat CCTYPE` -c `cat CFLAGS` utf8.c `cat CCTYPE` -c `cat CFLAGS` utf8aux.c `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c `cat CCTYPE` -c `cat CFLAGS` rfc822.c `cat CCTYPE` -c `cat CFLAGS` nntp.c `cat CCTYPE` -c `cat CFLAGS` smtp.c `cat CCTYPE` -c `cat CFLAGS` imap4r1.c `cat CCTYPE` -c `cat CFLAGS` http.c `cat CCTYPE` -c `cat CFLAGS` json.c `cat CCTYPE` -c `cat CFLAGS` pop3.c `cat CCTYPE` -c `cat CFLAGS` unix.c `cat CCTYPE` -c `cat CFLAGS` mbx.c `cat CCTYPE` -c `cat CFLAGS` mmdf.c `cat CCTYPE` -c `cat CFLAGS` tenex.c `cat CCTYPE` -c `cat CFLAGS` mtx.c `cat CCTYPE` -c `cat CFLAGS` news.c `cat CCTYPE` -c `cat CFLAGS` phile.c `cat CCTYPE` -c `cat CFLAGS` mh.c `cat CCTYPE` -c `cat CFLAGS` mx.c `cat CCTYPE` -c `cat CFLAGS` mix.c `cat CCTYPE` -c `cat CFLAGS` maildir.c 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 maildir.o;ranlib c-client.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.25/imap/c-client' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.25/imap/c-client' echo lnpno > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Not building bundled tools. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.25/imap' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. In file included from env_unix.c:259, from osdep.c:47: pmatch.c: In function 'pmatch_full': pmatch.c:41:43: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 41 | if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; | ^ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ In file included from auths.c:1, from env_unix.c:263, from osdep.c:47: kerb_mit.c: In function 'kerberos_login': kerb_mit.c:103:38: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 103 | authserver_login (lcase (user),kuser,argc,argv)) | ^~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from auths.c:1, from env_unix.c:263, from osdep.c:47: kerb_mit.c:103:31: warning: pointer targets in passing argument 1 of 'authserver_login' differ in signedness [-Wpointer-sign] 103 | authserver_login (lcase (user),kuser,argc,argv)) | ^~~~~~~~~~~~ | | | unsigned char * In file included from env_unix.h:58, from osdep.h:68, from osdep.c:28: env.h:40:30: note: expected 'char *' but argument is of type 'unsigned char *' 40 | long authserver_login (char *user,char *authuser,int argc,char *argv[]); | ~~~~~~^~~~ In file included from auths.c:4, from env_unix.c:263, from osdep.c:47: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:202:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 202 | if(read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size) < 0) | ^ auth_md5.c:205:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 205 | for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++); | ^ auth_md5.c:207:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 207 | lusr = *s ? lcase (cpystr (user)) : NIL; | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from auths.c:4, from env_unix.c:263, from osdep.c:47: auth_md5.c:208:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 208 | for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s; | ^ auth_md5.c:209:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 209 | s = ret ? NIL : strtok_r (NIL,"\015\012",&r)) | ^ auth_md5.c:211:45: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 211 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ In file included from auths.c:4, from env_unix.c:263, from osdep.c:47: auth_md5.c:211:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 211 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ auth_md5.c:213:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 213 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from auths.c:4, from env_unix.c:263, from osdep.c:47: auth_md5.c:213:45: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 213 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * In file included from osdep.c:41: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from auths.c:4, from env_unix.c:263, from osdep.c:47: auth_md5.c:214:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 214 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from auths.c:4, from env_unix.c:263, from osdep.c:47: auth_md5.c:214:48: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 214 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^~~~ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from auths.c:4, from env_unix.c:263, from osdep.c:47: auth_md5.c:217:37: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 217 | if (!ret && lret) ret = cpystr (lret); | ^~~~ | | | unsigned char * In file included from osdep.c:41: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from auths.c:8, from env_unix.c:263, from osdep.c:47: auth_oa2.c: In function 'auth_oauth2_client': auth_oa2.c:47:9: warning: unused variable 'u' [-Wunused-variable] 47 | char *u; | ^ In file included from osdep.c:47: env_unix.c: In function 'pwuser': env_unix.c:679:33: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] 679 | struct passwd *pw = getpwnam (user); | ^~~~ | | | unsigned char * In file included from osdep.c:39: /usr/include/pwd.h:116:45: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ In file included from osdep.c:47: env_unix.c:683:41: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~ | | | unsigned char * In file included from osdep.c:41: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from osdep.c:47: env_unix.c:683:33: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from osdep.c:47: env_unix.c:683:24: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ~~^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:39: /usr/include/pwd.h:116:45: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ In file included from osdep.c:47: env_unix.c: In function 'valpwd': env_unix.c:709:23: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 709 | ret = pwuser (user); /* validated, get passwd entry for user */ | ^~~~ | | | char * env_unix.c:676:46: note: expected 'unsigned char *' but argument is of type 'char *' 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c:714:26: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 714 | else if ((pw = pwuser (user)) != NULL) {/* can get user? */ | ^~~~ | | | char * env_unix.c:676:46: note: expected 'unsigned char *' but argument is of type 'char *' 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c:717:51: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 717 | (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) | ^ | | | char * env_unix.c:676:46: note: expected 'unsigned char *' but argument is of type 'char *' 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function 'server_login': env_unix.c:748:58: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 748 | else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); | ^~~~ | | | char * env_unix.c:676:46: note: expected 'unsigned char *' but argument is of type 'char *' 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function 'authserver_login': env_unix.c:766:28: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 766 | return pw_login (pwuser (user),authuser,user,NIL,argc,argv); | ^~~~ | | | char * env_unix.c:676:46: note: expected 'unsigned char *' but argument is of type 'char *' 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function 'pw_login': env_unix.c:805:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 805 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:805:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 805 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:808:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 808 | if (!compare_cstring (auser,*t++)) | ^~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:808:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 808 | if (!compare_cstring (auser,*t++)) | ^~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c: In function 'mailboxfile': env_unix.c:1093:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1093 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ~~~~^~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1093:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1093 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1103:64: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1103 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1103:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1103 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1127:56: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1127 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1127:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1127 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1141:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1141 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1141:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1141 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1155:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1155 | if (!compare_cstring (name+1,"NBOX")) { | ~~~~^~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1155:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1155 | if (!compare_cstring (name+1,"NBOX")) { | ^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c: In function 'dorc': env_unix.c:1606:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1606 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1606:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1606 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1620:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1620 | if (!compare_cstring (s,"set new-mailbox-format") || | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1620:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1620 | if (!compare_cstring (s,"set new-mailbox-format") || | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1621:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1621 | !compare_cstring (s,"set new-folder-format")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1621:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1621 | !compare_cstring (s,"set new-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1622:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1622 | if (!compare_cstring (k,"same-as-inbox")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1622:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1622 | if (!compare_cstring (k,"same-as-inbox")) { | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1624:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1624 | if (!compare_cstring (d->name,"mbox")) | ~^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1624:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1624 | if (!compare_cstring (d->name,"mbox")) | ^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1627:45: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1627 | else if (!compare_cstring (d->name,"dummy")) d = NIL; | ~^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1627:52: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1627 | else if (!compare_cstring (d->name,"dummy")) d = NIL; | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1631:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1631 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1631:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1631 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1634:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1634 | if (!compare_cstring (k,"mbox")) k = "unix"; | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1634:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1634 | if (!compare_cstring (k,"mbox")) k = "unix"; | ^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1645:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1645 | if (!compare_cstring (s,"set empty-mailbox-format") || | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1645:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1645 | if (!compare_cstring (s,"set empty-mailbox-format") || | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1646:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1646 | !compare_cstring (s,"set empty-folder-format")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1646:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1646 | !compare_cstring (s,"set empty-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1647:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1647 | if (!compare_cstring (k,"invalid")) appendProto = NIL; | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1647:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1647 | if (!compare_cstring (k,"invalid")) appendProto = NIL; | ^~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1648:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1648 | else if (!compare_cstring (k,"same-as-inbox")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1648:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1648 | else if (!compare_cstring (k,"same-as-inbox")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1650:48: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1650 | compare_cstring (d->name,"dummy")) ? | ~^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1650:55: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1650 | compare_cstring (d->name,"dummy")) ? | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1652:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1652 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1652:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1652 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1656:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1656 | d && compare_cstring (d->name,k); d = d->next); | ~^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1656:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1656 | d && compare_cstring (d->name,k); d = d->next); | ^ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1667:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1667 | if (!compare_cstring (s,"set local-host")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1667:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1667 | if (!compare_cstring (s,"set local-host")) { | ^~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1671:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1671 | else if (!compare_cstring (s,"set news-active-file")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1671:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1671 | else if (!compare_cstring (s,"set news-active-file")) { | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1675:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1675 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1675:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1675 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1679:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1679 | else if (!compare_cstring (s,"set mh-path")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1679:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1679 | else if (!compare_cstring (s,"set mh-path")) | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1681:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1681 | else if (!compare_cstring (s,"set mh-allow-inbox")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1681:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1681 | else if (!compare_cstring (s,"set mh-allow-inbox")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1683:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1683 | else if (!compare_cstring (s,"set news-state-file")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1683:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1683 | else if (!compare_cstring (s,"set news-state-file")) { | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1687:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1687 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1687:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1687 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1691:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1691 | else if (!compare_cstring (s,"set public-home-directory")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1691:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1691 | else if (!compare_cstring (s,"set public-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1695:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1695 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1695:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1695 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1699:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1699 | else if (!compare_cstring (s,"set system-inbox")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1699:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1699 | else if (!compare_cstring (s,"set system-inbox")) { | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1703:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1703 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1703:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1703 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1707:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1707 | else if (!compare_cstring (s,"set from-widget")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1707:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1707 | else if (!compare_cstring (s,"set from-widget")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1709:45: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1709 | compare_cstring (k,"header-only") ? | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1709:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1709 | compare_cstring (k,"header-only") ? | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1712:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1712 | else if (!compare_cstring (s,"set rsh-command")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1712:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1712 | else if (!compare_cstring (s,"set rsh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1714:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1714 | else if (!compare_cstring (s,"set rsh-path")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1714:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1714 | else if (!compare_cstring (s,"set rsh-path")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1716:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1716 | else if (!compare_cstring (s,"set ssh-command")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1716:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1716 | else if (!compare_cstring (s,"set ssh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1718:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1718 | else if (!compare_cstring (s,"set ssh-path")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1718:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1718 | else if (!compare_cstring (s,"set ssh-path")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1720:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1720 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1720:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1720 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1722:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1722 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1722:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1722 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1724:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1724 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1724:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1724 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1726:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1726 | else if (!compare_cstring (s,"set rsh-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1726:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1726 | else if (!compare_cstring (s,"set rsh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1728:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1728 | else if (!compare_cstring (s,"set ssh-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1728:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1728 | else if (!compare_cstring (s,"set ssh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1730:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1730 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1730:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1730 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1732:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1732 | else if (!compare_cstring (s,"set lookahead")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1732:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1732 | else if (!compare_cstring (s,"set lookahead")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1734:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1734 | else if (!compare_cstring (s,"set prefetch")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1734:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1734 | else if (!compare_cstring (s,"set prefetch")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1736:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1736 | else if (!compare_cstring (s,"set close-on-error")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1736:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1736 | else if (!compare_cstring (s,"set close-on-error")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1738:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1738 | else if (!compare_cstring (s,"set imap-port")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1738:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1738 | else if (!compare_cstring (s,"set imap-port")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1740:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1740 | else if (!compare_cstring (s,"set pop3-port")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1740:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1740 | else if (!compare_cstring (s,"set pop3-port")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1742:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1742 | else if (!compare_cstring (s,"set uid-lookahead")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1742:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1742 | else if (!compare_cstring (s,"set uid-lookahead")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1744:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1744 | else if (!compare_cstring (s,"set try-ssl-first")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1744:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1744 | else if (!compare_cstring (s,"set try-ssl-first")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1747:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1747 | else if (!compare_cstring (s,"set mailbox-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1747:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1747 | else if (!compare_cstring (s,"set mailbox-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1749:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1749 | else if (!compare_cstring (s,"set directory-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1749:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1749 | else if (!compare_cstring (s,"set directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1751:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1751 | else if (!compare_cstring (s,"set lock-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1751:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1751 | else if (!compare_cstring (s,"set lock-protection")) | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1753:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1753 | else if (!compare_cstring (s,"set ftp-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1753:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1753 | else if (!compare_cstring (s,"set ftp-protection")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1755:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1755 | else if (!compare_cstring (s,"set public-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1755:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1755 | else if (!compare_cstring (s,"set public-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1757:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1757 | else if (!compare_cstring (s,"set shared-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1757:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1757 | else if (!compare_cstring (s,"set shared-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1759:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1759 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1759:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1759 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1761:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1761 | else if (!compare_cstring (s,"set public-directory-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1761:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1761 | else if (!compare_cstring (s,"set public-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1763:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1763 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1763:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1763 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1765:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1765 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1765:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1765 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1767:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1767 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1767:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1767 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1769:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1769 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1769:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1769 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1771:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1771 | else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1771:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1771 | else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1773:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1773 | else if (!compare_cstring (s,"set hide-dot-files")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1773:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1773 | else if (!compare_cstring (s,"set hide-dot-files")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1775:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1775 | else if (!compare_cstring (s,"set list-maximum-level")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1775:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1775 | else if (!compare_cstring (s,"set list-maximum-level")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1777:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1777 | else if (!compare_cstring (s,"set trust-dns")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1777:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1777 | else if (!compare_cstring (s,"set trust-dns")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1779:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1779 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1779:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1779 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1781:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1781 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1781:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1781 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1783:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1783 | else if (!compare_cstring (s,"set nntp-range")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1783:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1783 | else if (!compare_cstring (s,"set nntp-range")) | ^~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1787:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1787 | if (!compare_cstring (s,"set black-box-directory") && | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1787:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1787 | if (!compare_cstring (s,"set black-box-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1789:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1789 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1789:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1789 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1792:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1792 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1792:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1792 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1799:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1799 | else if (!compare_cstring (s,"set CA-certificate-path")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1799:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1799 | else if (!compare_cstring (s,"set CA-certificate-path")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1801:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1801 | else if (!compare_cstring (s,"set CA-certificate-container")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1801:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1801 | else if (!compare_cstring (s,"set CA-certificate-container")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1803:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1803 | else if (!compare_cstring (s,"set disable-plaintext")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1803:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1803 | else if (!compare_cstring (s,"set disable-plaintext")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1805:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1805 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1805:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1805 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1807:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1807 | else if (!compare_cstring (s,"set chroot-server")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1807:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1807 | else if (!compare_cstring (s,"set chroot-server")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1809:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1809 | else if (!compare_cstring (s,"set restrict-mailbox-access")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1809:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1809 | else if (!compare_cstring (s,"set restrict-mailbox-access")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1811:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1811 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1811:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1811 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1812:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1812 | else if (!compare_cstring (k,"otherusers")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1812:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1812 | else if (!compare_cstring (k,"otherusers")) | ^~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1814:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1814 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1814:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1814 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1816:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1816 | else if (!compare_cstring (s,"set advertise-the-world")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1816:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1816 | else if (!compare_cstring (s,"set advertise-the-world")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1818:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1818 | else if (!compare_cstring (s,"set limited-advertise")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1818:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1818 | else if (!compare_cstring (s,"set limited-advertise")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1821:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1821 | (s,"set disable-automatic-shared-namespaces")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1821:23: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1821 | (s,"set disable-automatic-shared-namespaces")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1823:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1823 | else if (!compare_cstring (s,"set allow-user-config")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1823:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1823 | else if (!compare_cstring (s,"set allow-user-config")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1825:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1825 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1825:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1825 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1827:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1827 | else if (!compare_cstring (s,"set k5-cp-uses-service-name")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1827:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1827 | else if (!compare_cstring (s,"set k5-cp-uses-service-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1831:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1831 | else if (!compare_cstring (s,"set plaintext-allowed-clients")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1831:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1831 | else if (!compare_cstring (s,"set plaintext-allowed-clients")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c: In function 'env_end': env_unix.c:1910:6: warning: the address of 'userFlags' will always evaluate as 'true' [-Waddress] 1910 | if(userFlags){ | ^~~~~~~~~ In file included from tcp_unix.c:26, from osdep.c:50: ip_unix.c: In function 'ip_stringtoaddr': ip_unix.c:130:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 130 | (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from tcp_unix.c:26, from osdep.c:50: ip_unix.c:130:22: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] 130 | (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:35: /usr/include/netdb.h:660:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 660 | extern int getaddrinfo (const char *__restrict __name, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from tcp_unix.c:26, from osdep.c:50: ip_unix.c: In function 'ip_nametoaddr': ip_unix.c:248:31: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 248 | (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from tcp_unix.c:26, from osdep.c:50: ip_unix.c:248:24: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] 248 | (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:35: /usr/include/netdb.h:660:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 660 | extern int getaddrinfo (const char *__restrict __name, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from osdep.c:50: tcp_unix.c: In function 'tcp_getline': tcp_unix.c:477:43: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] 477 | char *ret = tcp_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * tcp_unix.c:61:38: note: expected 'long int *' but argument is of type 'long unsigned int *' 61 | long *contd); | ~~~~~~^~~~~ tcp_unix.c:485:41: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] 485 | ret = tcp_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * tcp_unix.c:61:38: note: expected 'long int *' but argument is of type 'long unsigned int *' 61 | long *contd); | ~~~~~~^~~~~ tcp_unix.c: In function 'tcp_isclienthost': tcp_unix.c:1045:17: warning: unused variable 'sadrlen' [-Wunused-variable] 1045 | size_t adrlen,sadrlen,len; | ^~~~~~~ osdep.c: In function 'ssl_validate_cert': osdep.c:705:41: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] 705 | ret = ssl_compare_hostnames (host,s) ? NIL : | ^~~~ | | | char * osdep.c:223:51: note: expected 'unsigned char *' but argument is of type 'char *' 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^ osdep.c:705:46: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] 705 | ret = ssl_compare_hostnames (host,s) ? NIL : | ^ | | | char * osdep.c:223:68: note: expected 'unsigned char *' but argument is of type 'char *' 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^~~ osdep.c:714:51: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 714 | (name->type = GEN_DNS) && (s = name->d.ia5->data) && | ^ osdep.c:715:45: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] 715 | ssl_compare_hostnames (host,s)) ret = NIL; | ^~~~ | | | char * osdep.c:223:51: note: expected 'unsigned char *' but argument is of type 'char *' 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^ osdep.c:715:50: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] 715 | ssl_compare_hostnames (host,s)) ret = NIL; | ^ | | | char * osdep.c:223:68: note: expected 'unsigned char *' but argument is of type 'char *' 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^~~ osdep.c:664:17: warning: unused variable 't' [-Wunused-variable] 664 | char *s=NULL,*t,*ret = NIL; | ^ osdep.c: In function 'ssl_getline': osdep.c:769:43: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] 769 | char *ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * osdep.c:225:38: note: expected 'long int *' but argument is of type 'long unsigned int *' 225 | long *contd); | ~~~~~~^~~~~ osdep.c:777:41: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] 777 | ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * osdep.c:225:38: note: expected 'long int *' but argument is of type 'long unsigned int *' 225 | long *contd); | ~~~~~~^~~~~ In file included from osdep.c:47: env_unix.c: In function 'pw_login': env_unix.c:823:44: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 823 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ mail.c: In function 'mail_parameters': mail.c:407:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 407 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:407:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 407 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:412:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 412 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:412:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 412 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:417:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 417 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:417:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 417 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:423:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 423 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:423:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 423 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:428:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 428 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:428:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 428 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:433:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 433 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:433:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 433 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:438:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 438 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:438:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 438 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_valid_net_parse_work': mail.c:857:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 857 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:857:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 857 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:858:18: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 858 | lcase (strcpy (mb->service,v)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:859:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 859 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:859:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 859 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:861:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 861 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:861:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 861 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:863:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 863 | else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:863:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 863 | else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && | ^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:869:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 869 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:869:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 869 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:870:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 870 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:870:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 870 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:871:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 871 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:871:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 871 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:872:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 872 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:872:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 872 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:873:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 873 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:873:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 873 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:874:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 874 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:874:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 874 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:875:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:875:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:875:72: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:875:74: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:877:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 877 | else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:877:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 877 | else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:879:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:879:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:879:68: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:879:70: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:881:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 881 | else if (!compare_cstring (s,"tryssl")) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:881:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 881 | else if (!compare_cstring (s,"tryssl")) | ^~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:883:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 883 | else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:883:55: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 883 | else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) | ^~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:885:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 885 | else if (!compare_cstring(s, "tls1") | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:885:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 885 | else if (!compare_cstring(s, "tls1") | ^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:888:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 888 | else if (!compare_cstring(s, "tls1_1") | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:888:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 888 | else if (!compare_cstring(s, "tls1_1") | ^~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:891:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 891 | else if (!compare_cstring(s, "tls1_2") | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:891:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 891 | else if (!compare_cstring(s, "tls1_2") | ^~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:894:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 894 | else if (!compare_cstring(s, "tls1_3") | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:894:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 894 | else if (!compare_cstring(s, "tls1_3") | ^~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:897:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 897 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:897:55: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 897 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:900:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 900 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:900:55: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 900 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:903:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 903 | else if (!compare_cstring (s,"imap") || | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:903:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 903 | else if (!compare_cstring (s,"imap") || | ^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:904:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 904 | !compare_cstring (s,"nntp") || | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:904:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 904 | !compare_cstring (s,"nntp") || | ^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:905:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 905 | !compare_cstring (s,"pop3") || | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:905:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 905 | !compare_cstring (s,"pop3") || | ^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:906:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 906 | !compare_cstring (s,"smtp") || | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:906:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 906 | !compare_cstring (s,"smtp") || | ^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:907:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 907 | !compare_cstring (s,"submit")) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:907:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 907 | !compare_cstring (s,"submit")) | ^~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:908:18: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 908 | lcase (strcpy (mb->service,s)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:909:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 909 | else if (!compare_cstring (s,"imap2") || | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:909:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 909 | else if (!compare_cstring (s,"imap2") || | ^~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:910:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 910 | !compare_cstring (s,"imap2bis") || | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:910:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 910 | !compare_cstring (s,"imap2bis") || | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:911:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 911 | !compare_cstring (s,"imap4") || | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:911:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 911 | !compare_cstring (s,"imap4") || | ^~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:912:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 912 | !compare_cstring (s,"imap4rev1")) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:912:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 912 | !compare_cstring (s,"imap4rev1")) | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:914:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 914 | else if (!compare_cstring (s,"pop")) | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:914:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 914 | else if (!compare_cstring (s,"pop")) | ^~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_create': mail.c:1087:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1087 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:1087:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1087 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_open': mail.c:1353:52: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1353 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:1353:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1353 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ^~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_fetch_overview': mail.c:1586:48: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1586 | if (stream->dtb && mail_uid_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function 'mail_fetch_overview_sequence': mail.c:1602:44: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1602 | if (stream->dtb && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function 'mail_fetch_overview_default': mail.c:1627:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1627 | ov.date = env->date; | ^ mail.c: In function 'mail_fetch_header': mail.c:1845:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1845 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1791:33: note: expected 'unsigned char *' but argument is of type 'char *' 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_fetch_text': mail.c:1936:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1936 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1791:33: note: expected 'unsigned char *' but argument is of type 'char *' 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_fetch_mime': mail.c:1990:61: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1990 | if (!(section && *section && (b = mail_body (stream,msgno,section)))) | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1791:33: note: expected 'unsigned char *' but argument is of type 'char *' 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_fetch_body': mail.c:2073:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 2073 | if (!(b = mail_body (stream,msgno,section))) return ""; | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1791:33: note: expected 'unsigned char *' but argument is of type 'char *' 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_partial_text': mail.c:2133:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 2133 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1791:33: note: expected 'unsigned char *' but argument is of type 'char *' 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_partial_body': mail.c:2201:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 2201 | if (!(b = mail_body (stream,msgno,section))) return NIL; | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1791:33: note: expected 'unsigned char *' but argument is of type 'char *' 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_flag': mail.c:2423:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 2423 | ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c:2424:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 2424 | mail_sequence (stream,sequence)) && | ^~~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function 'mail_append_multiple': mail.c:2713:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 2713 | else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:2713:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2713 | else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from mail.c:30: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mail.c: In function 'mail_body_section': mail.c:2832:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2832 | if (!(i = strtoul (section,(char **) §ion,10)) || | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_parse_date': mail.c:2980:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2980 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from mail.c:30: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mail.c:2980:76: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2980 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from mail.c:27: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ mail.c:2980:64: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 2980 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:2986:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2986 | if (!(m = strtoul (s,(char **) &s,10))) return NIL; | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2990:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2990 | if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2992:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2992 | y = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3002:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3002 | if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') && | ~^~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3003:25: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3003 | (d = strtoul (s,(char **) &s,10)) && !*s) break; | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3008:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3008 | if (strlen (s) < (size_t) 5) return NIL; | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from mail.c:30: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mail.c:3036:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3036 | y = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3060:19: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3060 | d = strtoul (s+1,(char **) &s,10); | ~^~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3062:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3062 | m = strtoul (++s,(char **) &s,10); | ^~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3063:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3063 | y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; | ^~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_uid_sequence': mail.c:3393:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3393 | else if (!(i = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3404:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3404 | else if (!(j = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_filter': mail.c:3501:60: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 3501 | if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) | ^~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:107:40: note: expected 'unsigned char *' but argument is of type 'char *' 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_search_msg': mail.c:3645:44: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 3645 | BODY *body = mail_body (stream,msgno,section); | ^~~~~~~ | | | char * mail.c:2868:72: note: expected 'unsigned char *' but argument is of type 'char *' 2868 | BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_search_text': mail.c:3817:46: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 3817 | else if ((body = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * mail.c:2868:72: note: expected 'unsigned char *' but argument is of type 'char *' 2868 | BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_search_string': mail.c:3936:16: warning: unused variable 'sc' [-Wunused-variable] 3936 | STRINGLIST **sc = st; | ^~ mail.c: In function 'mail_search_keyword': mail.c:3984:50: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 3984 | if (!compare_csizedtext (stream->user_flags[i],&st->text)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:107:40: note: expected 'unsigned char *' but argument is of type 'char *' 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_criteria': mail.c:4115:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 4115 | switch (*ucase (criterion)) { | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_criteria_date': mail.c:4206:36: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 4206 | mail_parse_date (&elt,(char *) s->text.data) && | ^~~~~~~~~~~~~~~~~~~~~ | | | char * mail.c:2962:56: note: expected 'unsigned char *' but argument is of type 'char *' 2962 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function 'mail_sort_loadcache': mail.c:4462:22: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4462 | if (env) t = env->date; | ^ mail.c:4478:45: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 4478 | if (!(t && mail_parse_date (&telt,t) && | ^ | | | char * mail.c:2962:56: note: expected 'unsigned char *' but argument is of type 'char *' 2962 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function 'mail_sort_compare': mail.c:4781:29: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] 4781 | i = compare_string (s1->from,s2->from); | ~~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:105:36: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4781:38: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] 4781 | i = compare_string (s1->from,s2->from); | ~~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:105:54: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4784:29: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] 4784 | i = compare_string (s1->to,s2->to); | ~~^~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:105:36: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4784:36: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] 4784 | i = compare_string (s1->to,s2->to); | ~~^~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:105:54: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4787:29: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] 4787 | i = compare_string (s1->cc,s2->cc); | ~~^~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:105:36: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4787:36: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] 4787 | i = compare_string (s1->cc,s2->cc); | ~~^~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:105:54: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4790:29: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] 4790 | i = compare_string (s1->subject,s2->subject); | ~~^~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:105:36: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4790:41: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] 4790 | i = compare_string (s1->subject,s2->subject); | ~~^~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:105:54: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_thread_msgs': mail.c:4889:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4889 | if (!compare_cstring (type,t->name)) { | ^~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4889:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4889 | if (!compare_cstring (type,t->name)) { | ~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_thread_orderedsubject': mail.c:4933:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4933 | if (compare_cstring (top->sc->subject,s->subject)) { | ~~~~~~~^~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4933:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4933 | if (compare_cstring (top->sc->subject,s->subject)) { | ~^~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_thread_loadcache': mail.c:5255:58: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 5255 | if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) { | ~~^~~~~~ | | | char * mail.c:2962:56: note: expected 'unsigned char *' but argument is of type 'char *' 2962 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function 'mail_sequence': mail.c:5510:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5510 | else if (!(i = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:5526:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5526 | else if (!(j = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_parse_flags': mail.c:5581:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5581 | if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; | ~^~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5581:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5581 | if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; | ^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5582:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5582 | else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; | ~^~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5582:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5582 | else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5583:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5583 | else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; | ~^~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5583:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5583 | else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5584:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5584 | else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; | ~^~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5584:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5584 | else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5585:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5585 | else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; | ~^~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5585:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5585 | else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; | ^~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5595:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5595 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5595:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5595 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_usable_network_stream': mail.c:5645:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5645 | ((!compare_cstring (smb.host,trustdns ? | ~~~^~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5646:65: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5645 | ((!compare_cstring (smb.host,trustdns ? | ~~~~~~~~~~ 5646 | (s = tcp_canonical (nmb.host)) : nmb.host) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5651:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5651 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5651:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5651 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_auth': mail.c:6224:47: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6224 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ~~~~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:6224:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6224 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_lookup_auth_name': mail.c:6257:62: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6257 | !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) | ~~~~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:6257:69: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6257 | !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6507: oauth2_aux.c: In function 'oauth2_json_reply': oauth2_aux.c:113:42: warning: pointer targets in passing argument 1 of 'xoauth2_server' differ in signedness [-Wpointer-sign] 113 | server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); | ~~~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * oauth2_aux.c:68:28: note: expected 'char *' but argument is of type 'unsigned char *' 68 | char *xoauth2_server(char *server, char *tenant) | ~~~~~~^~~~~~ oauth2_aux.c:115:33: warning: pointer targets in passing argument 1 of 'http_open' differ in signedness [-Wpointer-sign] 115 | && ((stream = http_open(server)) != NULL) | ^~~~~~ | | | char * In file included from c-client.h:46, from mail.c:30: http.h:125:24: note: expected 'unsigned char *' but argument is of type 'char *' 125 | HTTPSTREAM *http_open (unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c: In function 'mm_login_oauth2_c_client_method': oauth2_aux.c:170:40: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 170 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6507: json.h:39:35: note: expected 'unsigned char *' but argument is of type 'char *' 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c:179:40: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 179 | if((jx = json_body_value(json, "interval")) != NULL) | ^~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6507: json.h:39:35: note: expected 'unsigned char *' but argument is of type 'char *' 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c:214:57: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 214 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6507: json.h:39:35: note: expected 'unsigned char *' but argument is of type 'char *' 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c:227:54: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 227 | jx = json_body_value(json, "error"); | ^~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6507: json.h:39:35: note: expected 'unsigned char *' but argument is of type 'char *' 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c:229:54: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 229 | jx = json_body_value(json, "error_description"); | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6507: json.h:39:35: note: expected 'unsigned char *' but argument is of type 'char *' 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c:254:52: warning: pointer targets in passing argument 1 of 'xoauth2_server' differ in signedness [-Wpointer-sign] 254 | char *server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); | ~~~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * oauth2_aux.c:68:28: note: expected 'char *' but argument is of type 'unsigned char *' 68 | char *xoauth2_server(char *server, char *tenant) | ~~~~~~^~~~~~ oauth2_aux.c:255:40: warning: pointer targets in passing argument 1 of 'http_get_param_url' differ in signedness [-Wpointer-sign] 255 | char *url = http_get_param_url(server, params); | ^~~~~~ | | | char * In file included from c-client.h:46, from mail.c:30: http.h:137:35: note: expected 'unsigned char *' but argument is of type 'char *' 137 | unsigned char *http_get_param_url(unsigned char *, HTTP_PARAM_S *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c:255:21: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 255 | char *url = http_get_param_url(server, params); | ^~~~~~~~~~~~~~~~~~ oauth2_aux.c:260:51: warning: pointer targets in passing argument 1 of 'ogac' differ in signedness [-Wpointer-sign] 260 | oauth2->param[OA2_Code].value = (*ogac)(url, method, oauth2, tryanother); | ^~~ | | | char * oauth2_aux.c:260:51: note: expected 'unsigned char *' but argument is of type 'char *' oauth2_aux.c:279:60: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 279 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6507: json.h:39:35: note: expected 'unsigned char *' but argument is of type 'char *' 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c:296:59: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 296 | jx = json_body_value(json, "error"); | ^~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6507: json.h:39:35: note: expected 'unsigned char *' but argument is of type 'char *' 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c:298:59: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 298 | jx = json_body_value(json, "error_description"); | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6507: json.h:39:35: note: expected 'unsigned char *' but argument is of type 'char *' 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c:134:10: warning: unused variable 's' [-Wunused-variable] 134 | char *s = NULL; | ^ oauth2_aux.c: In function 'oauth2deviceinfo_get_accesscode': oauth2_aux.c:324:56: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 324 | oauth2->param[OA2_DeviceCode].value = cpystr(dcode->device_code); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from c-client.h:49, from mail.c:30: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from mail.c:6507: oauth2_aux.c:336:44: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 336 | if(compare_cstring(error, "authorization_pending") == 0) | ^~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6507: oauth2_aux.c:336:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 336 | if(compare_cstring(error, "authorization_pending") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6507: oauth2_aux.c:338:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 338 | else if(compare_cstring(error, "authorization_declined") == 0) | ^~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6507: oauth2_aux.c:338:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 338 | else if(compare_cstring(error, "authorization_declined") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6507: oauth2_aux.c:340:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 340 | else if(compare_cstring(error, "bad_verification_code") == 0) | ^~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6507: oauth2_aux.c:340:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 340 | else if(compare_cstring(error, "bad_verification_code") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6507: oauth2_aux.c:342:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 342 | else if(compare_cstring(error, "expired_token") == 0) | ^~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6507: oauth2_aux.c:342:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 342 | else if(compare_cstring(error, "expired_token") == 0) | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6507: oauth2_aux.c:356:56: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 356 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6507: json.h:39:35: note: expected 'unsigned char *' but argument is of type 'char *' 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6507: oauth2_aux.c:320:7: warning: unused variable 'done' [-Wunused-variable] 320 | int done = 0, status, rv; | ^~~~ oauth2_aux.c: In function 'copy_xoauth2_info': oauth2_aux.c:409:33: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 409 | if(x->name) y->name = cpystr(x->name); | ~^~~~~~ | | | unsigned char * In file included from c-client.h:49, from mail.c:30: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from mail.c:6507: oauth2_aux.c:409:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 409 | if(x->name) y->name = cpystr(x->name); | ^ misc.c: In function 'compare_csizedtext': misc.c:488:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 488 | for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j) | ^ newsrc.c: In function 'newsrc_lsub': newsrc.c:173:26: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 173 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ newsrc.c:173:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 173 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ newsrc.c:176:28: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 176 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ newsrc.c:176:33: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 176 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ smanager.c: In function 'sm_subscribe': smanager.c:42:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 42 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from c-client.h:49, from smanager.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c:42:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 42 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from c-client.h:49, from smanager.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c: In function 'sm_unsubscribe': smanager.c:75:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 75 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from c-client.h:49, from smanager.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c:75:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 75 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from c-client.h:49, from smanager.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_script': utf8.c:383:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 383 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ^~~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:383:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 383 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_charset': utf8.c:400:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 400 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ^~~~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:400:52: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 400 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_cstext': utf8.c:586:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 586 | short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:586:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 586 | short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_cstocstext': utf8.c:613:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 613 | !compare_cstring (dcs->name,"ISO-2022-JP"))) ? | ~~~^~~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:613:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 613 | !compare_cstring (dcs->name,"ISO-2022-JP"))) ? | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_rmap': utf8.c:647:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 647 | return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : | ^~~~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:647:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 647 | return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : | ~~~~~~~~~^~~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_csvalidmap': utf8.c:1323:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1323 | if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; | ^ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:1323:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1323 | if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8aux.c: In function 'utf8_from_mutf7': utf8aux.c:413:24: warning: pointer targets in passing argument 1 of 'mail_utf7_valid' differ in signedness [-Wpointer-sign] 413 | if (mail_utf7_valid (src)) return NIL; | ^~~ | | | unsigned char * In file included from c-client.h:41, from utf8aux.c:32: mail.h:1726:30: note: expected 'char *' but argument is of type 'unsigned char *' 1726 | char *mail_utf7_valid (char *mailbox); | ~~~~~~^~~~~~~ utf8aux.c:418:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from utf8aux.c:32: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utf8aux.c:418:26: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^~~ | | | unsigned char * In file included from c-client.h:49, from utf8aux.c:32: misc.h:85:36: note: expected 'char *' but argument is of type 'unsigned char *' 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ utf8aux.c:418:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^ dummy.c: In function 'dummy_valid': dummy.c:129:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 129 | else if (!compare_cstring (rname,"INBOX")) return &dummydriver; | ^~~~~ | | | char * In file included from dummy.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:129:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 129 | else if (!compare_cstring (rname,"INBOX")) return &dummydriver; | ^~~~~~~ | | | char * In file included from dummy.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_scan': dummy.c:191:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 191 | if (pmatch ("INBOX",ucase (test))) { | ^~~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ dummy.c:191:17: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 191 | if (pmatch ("INBOX",ucase (test))) { | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c: In function 'dummy_lsub': dummy.c:230:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 230 | if (!compare_cstring (s,"INBOX") && | ^ | | | char * In file included from dummy.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:230:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 230 | if (!compare_cstring (s,"INBOX") && | ^~~~~~~ | | | char * In file included from dummy.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:231:34: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 231 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ dummy.c:231:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 231 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:233:29: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 233 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:233:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 233 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:236:26: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 236 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:236:28: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 236 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c: In function 'dummy_list_work': dummy.c:297:39: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 297 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:297:43: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 297 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from dummy.c:37: dummy.c:297:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 297 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from dummy.c:37: dummy.c:297:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 297 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~~~~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:311:27: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 311 | if ((pmatch_full (strcpy (path,tmp),pat,'/') || | ^~~~~~~~~~~~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:311:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 311 | if ((pmatch_full (strcpy (path,tmp),pat,'/') || | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:312:27: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 312 | pmatch_full (strcat (path,"/"),pat,'/') || | ^~~~~~~~~~~~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:312:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 312 | pmatch_full (strcat (path,"/"),pat,'/') || | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:313:22: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 313 | dmatch (path,pat,'/')) && | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:30:29: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:313:27: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 313 | dmatch (path,pat,'/')) && | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:30:46: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from dummy.c:37: dummy.c:322:26: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 322 | if (!pmatch (tmp,"INBOX")) { | ^~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from dummy.c:37: dummy.c:322:30: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 322 | if (!pmatch (tmp,"INBOX")) { | ^~~~~~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:323:32: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 323 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:323:36: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 323 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:328:37: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 328 | else if (pmatch_full (path,pat,'/') && | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:328:42: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 328 | else if (pmatch_full (path,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:332:25: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 332 | if (dmatch (path,pat,'/') && | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:30:29: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:332:30: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 332 | if (dmatch (path,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:30:46: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:338:30: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 338 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:338:34: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 338 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:338:63: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 338 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * In file included from dummy.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:338:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 338 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~~~~~ | | | char * In file included from dummy.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_create': dummy.c:467:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 467 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * In file included from dummy.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:467:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 467 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * In file included from dummy.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_rename': dummy.c:596:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 596 | if (!compare_cstring (rold,"INBOX") && stat (oldname,&sbuf)) | ^~~~ | | | char * In file included from dummy.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:596:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 596 | if (!compare_cstring (rold,"INBOX") && stat (oldname,&sbuf)) | ^~~~~~~ | | | char * In file included from dummy.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_open': dummy.c:627:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 627 | if (compare_cstring (stream->mailbox,"INBOX")) | ~~~~~~^~~~~~~~~ | | | char * In file included from dummy.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:627:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 627 | if (compare_cstring (stream->mailbox,"INBOX")) | ^~~~~~~ | | | char * In file included from dummy.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_copy': dummy.c:734:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 734 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from dummy.c:31: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ dummy.c:735:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 735 | mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); | ^~~~~~~~ | | | char * In file included from dummy.c:31: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ dummy.c: In function 'dummy_append': dummy.c:756:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 756 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from dummy.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:756:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 756 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from dummy.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_scan_contents': dummy.c:390:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 390 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function 'fd_string_setpos': fdstring.c:97:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | read ((long) s->data,s->curpos,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function 'fd_string_init': fdstring.c:67:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | read (d->fd,s->chunk,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.c: In function 'rfc822_parse_msg_full': rfc822.c:163:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 163 | ucase (tmp); /* coerce to uppercase */ | ^~~ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:202:60: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 202 | if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); | ^ rfc822.c:134:8: warning: unused variable 'PathP' [-Wunused-variable] 134 | long PathP = NIL; /* flag that a Path: was seen */ | ^~~~~ rfc822.c: In function 'rfc822_parse_content': rfc822.c:379:44: warning: pointer targets in passing argument 1 of 'rfc822_base64' differ in signedness [-Wpointer-sign] 379 | s1 = (char *) rfc822_base64 (s, strlen(s), &k); | ^ | | | char * In file included from c-client.h:43, from rfc822.c:37: rfc822.h:102:37: note: expected 'unsigned char *' but argument is of type 'char *' 102 | void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len); | ~~~~~~~~~~~~~~~^~~ rfc822.c:555:63: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 555 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ~~^~ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:555:54: warning: pointer targets in passing argument 2 of 'rfc822_parse_content_header' differ in signedness [-Wpointer-sign] 555 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ^~~~~~~~~~~~ | | | unsigned char * In file included from c-client.h:43, from rfc822.c:37: rfc822.h:64:52: note: expected 'char *' but argument is of type 'unsigned char *' 64 | void rfc822_parse_content_header (BODY *body,char *name,char *s); | ~~~~~~^~~~ rfc822.c: In function 'rfc822_parse_content_header': rfc822.c:626:39: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 626 | body->disposition.type = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:626:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 626 | body->disposition.type = ucase (cpystr (s)); | ^ rfc822.c:640:51: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 640 | stl->text.data = (unsigned char *) ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:667:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 667 | compare_cstring (s,body_types[i]); i++); | ^ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:667:43: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 667 | compare_cstring (s,body_types[i]); i++); | ~~~~~~~~~~^~~ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:678:43: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 678 | body_types[body->type] = ucase (s); | ^ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:678:34: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 678 | body_types[body->type] = ucase (s); | ^ rfc822.c:690:39: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 690 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:690:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 690 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^ rfc822.c:708:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 708 | compare_cstring (s,body_encodings[i]); i++); | ^ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:708:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 708 | compare_cstring (s,body_encodings[i]); i++); | ~~~~~~~~~~~~~~^~~ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:719:51: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 719 | body_encodings[body->encoding] = ucase (s); | ^ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:719:42: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 719 | body_encodings[body->encoding] = ucase (s); | ^ rfc822.c: In function 'rfc822_parse_parameter': rfc822.c:752:33: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 752 | param->attribute = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:752:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 752 | param->attribute = ucase (cpystr (s)); | ^ rfc822.c: In function 'rfc822_output_header': rfc822.c:1528:48: warning: pointer targets in passing argument 4 of 'rfc822_output_header_line' differ in signedness [-Wpointer-sign] 1528 | rfc822_output_header_line (buf,"Date",i,env->date) && | ~~~^~~~~~ | | | unsigned char * In file included from c-client.h:43, from rfc822.c:37: rfc822.h:89:39: note: expected 'char *' but argument is of type 'unsigned char *' 89 | char *text); | ~~~~~~^~~~ rfc822.c: In function 'rfc822_output': rfc822.c:2422:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 2422 | char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ | ^~~ nntp.c: In function 'nntp_list': nntp.c:366:26: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 366 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ nntp.c:366:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 366 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ nntp.c:369:28: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 369 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ nntp.c:369:33: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 369 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:49, from nntp.c:31: nntp.c: In function 'nntp_lsub': nntp.c:401:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 401 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:49, from nntp.c:31: nntp.c:401:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 401 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ nntp.c: In function 'nntp_status': nntp.c:571:31: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] 571 | newsrc_check_uid (state,k,&status.recent,&status.unseen); | ^~~~~ | | | char * In file included from nntp.c:32: newsrc.h:42:39: note: expected 'unsigned char *' but argument is of type 'char *' 42 | void newsrc_check_uid (unsigned char *state,unsigned long uid, | ~~~~~~~~~~~~~~~^~~~~ nntp.c:580:27: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] 580 | newsrc_check_uid (state,i++,&status.recent,&status.unseen); | ^~~~~ | | | char * In file included from nntp.c:32: newsrc.h:42:39: note: expected 'unsigned char *' but argument is of type 'char *' 42 | void newsrc_check_uid (unsigned char *state,unsigned long uid, | ~~~~~~~~~~~~~~~^~~~~ nntp.c: In function 'nntp_mopen': nntp.c:752:12: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 752 | lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 753 | net_host (nstream->netstream) : mb.host)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:49, from nntp.c:31: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_fetchfast': nntp.c:875:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 875 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c:876:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 876 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c: In function 'nntp_flags': nntp.c:918:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 918 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c:918:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 918 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c: In function 'nntp_over': nntp.c:1021:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1021 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ nntp.c:1021:72: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1021 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from nntp.c:31: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ nntp.c: In function 'nntp_parse_overview': nntp.c:1067:45: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1067 | if (!elt->day) mail_parse_date (elt,ov->date); | ~~^~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_search_msg': nntp.c:1336:36: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1336 | (!mail_parse_date (&delt,ov->date) || | ~~^~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_sort_loadcache': nntp.c:1553:40: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1553 | if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); | ^ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_extensions': nntp.c:1845:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1845 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1845:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1845 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1846:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1846 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1846:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1846 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1847:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1847 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1847:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1847 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^~~~~ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1848:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1848 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1848:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1848 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^~~~~ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1849:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1849 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1849:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1849 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1850:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1850 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1850:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1850 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1852:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1852 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1852:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1852 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1855:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1855 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1855:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1855 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c: In function 'nntp_mail': nntp.c:1943:23: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 1943 | if ((s = strstr (env->date," (")) != NULL) *s = NIL; | ~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from nntp.c:31: /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'unsigned char *' 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ nntp.c:1914:8: warning: unused variable 'retry' [-Wunused-variable] 1914 | long retry = NIL; | ^~~~~ nntp.c:1913:8: warning: unused variable 'error' [-Wunused-variable] 1913 | long error = NIL; | ^~~~~ nntp.c: In function 'nntp_mopen': nntp.c:786:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 786 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 787 | (size_t) 1,(size_t) k,f); | ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1122:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1122 | fread (elt->private.msg.header.text.data = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1123 | (unsigned char *) fs_get ((size_t) *size + 3), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1124 | (size_t) 1,(size_t) *size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'smtp_open_full': smtp.c:164:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 164 | else if (!compare_cstring (mb.service,"submit")) { | ~~^~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:164:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 164 | else if (!compare_cstring (mb.service,"submit")) { | ^~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:182:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 182 | s = compare_cstring ("localhost",mb.host) ? | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:182:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 182 | s = compare_cstring ("localhost",mb.host) ? | ~~^~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c: In function 'smtp_auth': smtp.c:293:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 293 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:293:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 293 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c: In function 'smtp_ehlo': smtp.c:727:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 727 | if (!compare_cstring (s,"SIZE")) { | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:727:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 727 | if (!compare_cstring (s,"SIZE")) { | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:731:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 731 | else if (!compare_cstring (s,"DELIVERBY")) { | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:731:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 731 | else if (!compare_cstring (s,"DELIVERBY")) { | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:735:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 735 | else if (!compare_cstring (s,"ATRN")) { | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:735:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 735 | else if (!compare_cstring (s,"ATRN")) { | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:739:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 739 | else if (!compare_cstring (s,"AUTH")) | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:739:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 739 | else if (!compare_cstring (s,"AUTH")) | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:745:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 745 | else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:745:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 745 | else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:746:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 746 | else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:746:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 746 | else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:747:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 747 | else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:747:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 747 | else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; | ^~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:748:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 748 | else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:748:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 748 | else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:749:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 749 | else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:749:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 749 | else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:750:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 750 | else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:750:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 750 | else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:751:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 751 | else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:751:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 751 | else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:752:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 752 | else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:752:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 752 | else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:753:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 753 | else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:753:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 753 | else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:754:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 754 | else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:754:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 754 | else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:755:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 755 | else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:755:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 755 | else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:756:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 756 | else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:756:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 756 | else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:757:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 757 | else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:757:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 757 | else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; | ^~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:758:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 758 | else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:758:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 758 | else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:759:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 759 | else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:759:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 759 | else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:761:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 761 | else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:761:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 761 | else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:762:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 762 | else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; | ^ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:762:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 762 | else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from c-client.h:49, from imap4r1.c:41: imap4r1.c: In function 'imap_lsub': imap4r1.c:524:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 524 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from imap4r1.c:41: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:49, from imap4r1.c:41: imap4r1.c:524:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 524 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from imap4r1.c:41: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ imap4r1.c: In function 'imap_list_work': imap4r1.c:584:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 584 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:584:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 584 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:586:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 586 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:586:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 586 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:598:63: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 598 | strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:599:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 599 | !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function 'imap_manage': imap4r1.c:701:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] 701 | if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && | ^~ imap4r1.c:722:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 722 | mm_log (reply->text,ret ? NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_open': imap4r1.c:906:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 906 | if (!reply || strcmp (reply->tag,"*") || | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:907:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 907 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:907:51: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 907 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:908:31: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 908 | if (reply) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:917:31: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 917 | preauthed = !strcmp (reply->key,"PREAUTH"); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1062:45: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1062 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ~~^~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1062:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1062 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1072:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1072 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_rimap': imap4r1.c:1118:68: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1118 | !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1122:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1122 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1122:56: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1122 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function 'imap_anon': imap4r1.c:1158:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1158 | if (compare_cstring (reply->tag,tag)) { | ^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1160:70: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1160 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1175:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1175 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_auth': imap4r1.c:1198:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1198 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1198:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1198 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1245:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1245 | else if (compare_cstring (reply->tag,tag)) | ^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1246:76: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1246 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1260:31: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1260 | lsterr = cpystr (reply->text); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_login': imap4r1.c:1326:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1326 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_challenge': imap4r1.c:1357:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1357 | !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1362:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1362 | strlen (reply->text),len))) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c: In function 'imap_close': imap4r1.c:1431:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1431 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_fast': imap4r1.c:1472:45: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1472 | if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_flags': imap4r1.c:1493:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1493 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_overview': imap4r1.c:1546:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1546 | ov.date = env->date; | ^ imap4r1.c: In function 'imap_structure': imap4r1.c:1594:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1594 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1721:29: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1721 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1723:27: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1723 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_msgdata': imap4r1.c:1953:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1953 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1963:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1963 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1972:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1972 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1976:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1976 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_uid': imap4r1.c:2029:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2029 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_msgno': imap4r1.c:2065:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2065 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_flag': imap4r1.c:2106:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2106 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_search': imap4r1.c:2178:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2178 | !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2197:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2197 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2203:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2203 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:2239:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2239 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_sort': imap4r1.c:2302:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2302 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2309:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2309 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2318:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2318 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_thread': imap4r1.c:2405:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2405 | if (!compare_cstring (thr->name,type)) | ~~~^~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:2405:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2405 | if (!compare_cstring (thr->name,type)) | ^~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_thread_work': imap4r1.c:2465:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2465 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2472:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2472 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2480:21: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2480 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_check': imap4r1.c:2504:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2504 | mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_expunge': imap4r1.c:2529:36: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 2529 | else if (mail_sequence (stream,sequence)) { | ^~~~~~~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imap4r1.c:2557:27: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2557 | if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_copy': imap4r1.c:2595:65: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 2595 | else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imap4r1.c:2599:21: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2599 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_append': imap4r1.c:2652:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2652 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_append_referral': imap4r1.c:2715:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2715 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_append_single': imap4r1.c:2745:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 2745 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:2749:44: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2749 | LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); | ^ imap4r1.c:2750:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2750 | LOCAL->reply.key = "BAD"; | ^ imap4r1.c:2751:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2751 | LOCAL->reply.text = "Bad date in append"; | ^ imap4r1.c: In function 'imap_acl_work': imap4r1.c:2947:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2947 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_setquota': imap4r1.c:2971:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2971 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_setid': imap4r1.c:3049:27: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 3049 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_getquota': imap4r1.c:3073:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 3073 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_getquotaroot': imap4r1.c:3096:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 3096 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_send': imap4r1.c:3133:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3133 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3133:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3133 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3134:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3134 | compare_cstring (cmd,"STORE") && | ^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3134:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3134 | compare_cstring (cmd,"STORE") && | ^~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3135:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3135 | compare_cstring (cmd,"SEARCH")) ? | ^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3135:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3135 | compare_cstring (cmd,"SEARCH")) ? | ^~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3288:52: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 3288 | if (!map->date || mail_parse_date (&elt,map->date)) { | ~~~^~~~~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_send_literal': imap4r1.c:3414:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3414 | if (strcmp (reply->tag,"+")) {/* prompt for more data? */ | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function 'imap_search_x_gm_ext1': imap4r1.c:3628:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3628 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3634:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 3634 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:3669:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 3669 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_reply': imap4r1.c:4002:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4002 | if (!strcmp (reply->tag,"+")) return reply; | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4004:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4004 | else if (!strcmp (reply->tag,"*")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4009:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4009 | if (tag && !compare_cstring (tag,reply->tag)) return reply; | ^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_reply': imap4r1.c:4035:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4035 | if (!(LOCAL->reply.line = text)) { | ^ imap4r1.c:4041:43: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 4041 | if (stream->debug) mm_dlog (LOCAL->reply.line); | ^ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1699:21: note: expected 'char *' but argument is of type 'unsigned char *' 1699 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:4042:50: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4042 | if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:366:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4042:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4042 | if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { | ^ imap4r1.c:4048:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4048 | if (strcmp (LOCAL->reply.tag,"+")) { | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4050:28: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4050 | if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { | ^ imap4r1.c:4060:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4060 | if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) | ^ imap4r1.c:4061:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4061 | LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c:4064:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4064 | LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ | ^ imap4r1.c:4065:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4065 | if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) | ^ imap4r1.c:4066:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4066 | LOCAL->reply.text = ""; | ^ imap4r1.c: In function 'imap_fake': imap4r1.c:4086:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4086 | LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); | ^ imap4r1.c:4087:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4087 | LOCAL->reply.key = "NO"; | ^ imap4r1.c:4088:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4088 | LOCAL->reply.text = text; | ^ imap4r1.c: In function 'imap_OK': imap4r1.c:4103:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4103 | if (!strcmp (reply->key,"OK")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4104:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4104 | imap_parse_response (stream,reply->text,NIL,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4108:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4108 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4109:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4109 | imap_parse_response (stream,reply->text,WARN,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4111:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4111 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4112:40: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4112 | imap_parse_response (stream,reply->text,ERROR,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c: In function 'imap_parse_unsolicited': imap4r1.c:4136:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4136 | msgno = strtoul (reply->key,(char **) &s,10); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4150:31: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4150 | s = ucase (strtok_r (reply->text," ",&r)); | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:366:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4150:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 4150 | s = ucase (strtok_r (reply->text," ",&r)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4151:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4151 | t = strtok_r (NIL,"\n",&r); /* and locate the text after it */ | ^ imap4r1.c:4154:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4154 | if (LOCAL->authed && !strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4156:40: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4156 | else if (LOCAL->authed && !strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4158:40: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4158 | else if (LOCAL->authed && !strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4166:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4166 | else if (LOCAL->authed && t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4166:69: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4166 | else if (LOCAL->authed && t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4177:33: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4177 | while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:366:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4177:52: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4177 | while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { | ^ imap4r1.c:4181:29: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 4181 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4181:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4181 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4189:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 4189 | mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4195:60: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4195 | LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4236:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4236 | if (!(s = strchr (md.what,']'))) { | ^ imap4r1.c:4238:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4238 | for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); | ^ imap4r1.c:4240:28: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4240 | if (strncmp (s,"HEADER.FIELDS",13) && | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imap4r1.c:4241:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4241 | (!s[13] || strcmp (s+13,".NOT"))) | ~^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4251:39: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4251 | else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; | ~~^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4251:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4251 | else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; | ^ imap4r1.c:4256:38: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4256 | md.first = strtoul (s+1,(char **) &s,10) + 1; | ~^~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4299:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4299 | elt->rfc822_size = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4335:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4335 | else if (strcmp (s,"COPY") || !LOCAL->authed) { | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4342:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4342 | else if (LOCAL->authed && !strcmp (reply->key,"FLAGS") && reply->text && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4344:38: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4344 | (s = strtok_r (reply->text+1," )",&r))) | ~~~~~~~~~~~^~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:366:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4344:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4344 | (s = strtok_r (reply->text+1," )",&r))) | ^ imap4r1.c:4347:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4347 | compare_cstring (s,stream->user_flags[i]); i++); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4353:74: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 4353 | else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); | ^ | | | unsigned char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imap4r1.c:4355:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4355 | while ((s = strtok_r (NIL," )",&r)) != NULL); | ^ imap4r1.c:4356:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4356 | else if (LOCAL->authed && !strcmp (reply->key,"SEARCH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4358:44: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4358 | if (reply->text && (t = strtok_r (reply->text," ",&r))) do | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:366:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4358:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4358 | if (reply->text && (t = strtok_r (reply->text," ",&r))) do | ^ imap4r1.c:4359:25: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4359 | if ((i = strtoul (t,NIL,10)) != 0L) { | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4368:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4368 | } while ((t = strtok_r (NIL," ",&r)) != NULL); | ^ imap4r1.c:4370:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4370 | else if (LOCAL->authed && !strcmp (reply->key,"SORT")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4378:44: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4378 | if (reply->text && (t = strtok_r (reply->text," ",&r))) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:366:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4378:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4378 | if (reply->text && (t = strtok_r (reply->text," ",&r))) { | ^ imap4r1.c:4379:25: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] 4379 | do if ((i = atol (t)) && (LOCAL->filter ? | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/stdlib.h:367:1: note: expected 'const char *' but argument is of type 'unsigned char *' 367 | __NTH (atol (const char *__nptr)) | ^~~~~ imap4r1.c:4382:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4382 | while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); | ^ imap4r1.c:4388:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4388 | else if (LOCAL->authed && !strcmp (reply->key,"THREAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4403:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4403 | else if (LOCAL->authed && !strcmp (reply->key,"STATUS") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4407:60: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4407 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4407:50: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4407 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^ imap4r1.c:4413:35: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4413 | while (*txt && (s = strchr (txt,' '))) { | ^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4413:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4413 | while (*txt && (s = strchr (txt,' '))) { | ^ imap4r1.c:4416:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4416 | i = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4417:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4417 | if (!compare_cstring (txt,"MESSAGES")) { | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4421:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4421 | else if (!compare_cstring (txt,"RECENT")) { | ^~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4425:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4425 | else if (!compare_cstring (txt,"UNSEEN")) { | ^~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4429:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4429 | else if (!compare_cstring (txt,"UIDNEXT")) { | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4433:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4433 | else if (!compare_cstring (txt,"UIDVALIDITY")) { | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4442:60: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 4442 | strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ imap4r1.c:4451:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4451 | && (!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4451:61: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4451 | && (!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4453:30: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4453 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4453:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4453 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ^ imap4r1.c:4457:35: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4457 | if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { | ~~~~~~~~~~~^~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:366:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4457:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4457 | if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { | ^ imap4r1.c:4458:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4458 | if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4459:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4459 | else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4460:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4460 | else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4461:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4461 | else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4462:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4462 | else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4463:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4463 | else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; | ^~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4464:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4464 | else if (!compare_cstring (t,"\\All")) i |= LATT_ALL; | ^~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4465:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4465 | else if (!compare_cstring (t,"\\Archive")) i |= LATT_ARCHIVE; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4466:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4466 | else if (!compare_cstring (t,"\\Drafts")) i |= LATT_DRAFTS; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4467:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4467 | else if (!compare_cstring (t,"\\Flagged")) i |= LATT_FLAGGED; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4468:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4468 | else if (!compare_cstring (t,"\\Junk")) i |= LATT_JUNK; | ^~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4469:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4469 | else if (!compare_cstring (t,"\\Sent")) i |= LATT_SENT; | ^~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4470:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4470 | else if (!compare_cstring (t,"\\Trash")) i |= LATT_TRASH; | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4473:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4473 | while ((t = strtok_r (NIL," ",&r)) != NULL); | ^ imap4r1.c:4487:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4487 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ^ imap4r1.c:4487:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 4487 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imap4r1.c:4490:59: warning: pointer targets in passing argument 3 of 'mm_lsub' differ in signedness [-Wpointer-sign] 4490 | if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); | ^ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1696:54: note: expected 'char *' but argument is of type 'unsigned char *' 1696 | void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c:4491:38: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] 4491 | else mm_list (stream,delimiter,s,i); | ^ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1695:54: note: expected 'char *' but argument is of type 'unsigned char *' 1695 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c:4495:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4495 | else if (LOCAL->authed && !strcmp (reply->key,"NAMESPACE")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4518:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4518 | else if (LOCAL->authed && !strcmp (reply->key,"ACL") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4524:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4524 | do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && | ^ imap4r1.c:4526:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4526 | ac->rights = imap_parse_astring (stream,&s,reply,NIL); | ^ imap4r1.c:4535:34: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] 4535 | else if (ar) (*ar) (stream,t,al); | ^ | | | unsigned char * imap4r1.c:4535:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4539:32: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] 4539 | else if (ar) (*ar) (stream,t,NIL); | ^ | | | unsigned char * imap4r1.c:4539:32: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4543:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4543 | else if (LOCAL->authed && !strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4547:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4547 | if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ | ^ imap4r1.c:4549:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4549 | (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ imap4r1.c:4563:38: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] 4563 | else if (lr) (*lr) (stream,t,id,r,rl); | ^ | | | unsigned char * imap4r1.c:4563:38: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4568:36: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] 4568 | else if (lr) (*lr) (stream,t,id,r,NIL); | ^ | | | unsigned char * imap4r1.c:4568:36: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4587:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4587 | && !strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4591:34: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4591 | if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ imap4r1.c:4597:34: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign] 4597 | else if (mr) (*mr) (stream,t,r); | ^ | | | unsigned char * imap4r1.c:4597:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4609:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4609 | else if (LOCAL->authed && !strcmp (reply->key,"QUOTA") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4620:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4620 | if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && | ^ imap4r1.c:4622:50: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4622 | if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4623:33: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4623 | else if ((t = strchr (s,' ')) != NULL) t = s; | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4623:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4623 | else if ((t = strchr (s,' ')) != NULL) t = s; | ^ imap4r1.c:4625:52: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4625 | if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4626:36: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 4626 | else if ((t = strpbrk (s," )")) != NULL) t = s; | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ imap4r1.c:4626:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4626 | else if ((t = strpbrk (s," )")) != NULL) t = s; | ^ imap4r1.c:4631:37: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign] 4631 | if (qt) (*qt) (stream,t,ql); | ^ | | | unsigned char * imap4r1.c:4631:37: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4650:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4650 | else if (LOCAL->authed && !strcmp (reply->key,"ID") && (s = reply->text)){ | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4651:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4651 | if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); | ^~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4651:69: warning: pointer targets in passing argument 1 of 'imap_parse_idlist' differ in signedness [-Wpointer-sign] 4651 | if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); | ^ | | | unsigned char * imap4r1.c:2977:34: note: expected 'char *' but argument is of type 'unsigned char *' 2977 | IDLIST *imap_parse_idlist (char *text) | ~~~~~~^~~~ imap4r1.c:4653:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4653 | else if (LOCAL->authed && !strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4668:34: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign] 4668 | else if (qr) (*qr) (stream,t,rl); | ^ | | | unsigned char * imap4r1.c:4668:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4679:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4679 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4679:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4679 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4680:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4680 | imap_parse_response (stream,reply->text,NIL,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4681:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4681 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4682:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4682 | imap_parse_response (stream,reply->text,WARN,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4683:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4683 | else if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4684:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4684 | imap_parse_response (stream,reply->text,ERROR,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4685:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4685 | else if (!strcmp (reply->key,"BYE")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4687:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4687 | imap_parse_response (stream,reply->text,BYE,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4689:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4689 | else if (!strcmp (reply->key,"CAPABILITY") && reply->text) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4690:42: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign] 4690 | imap_parse_capabilities (stream,reply->text); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:275:56: note: expected 'char *' but argument is of type 'unsigned char *' 275 | void imap_parse_capabilities (MAILSTREAM *stream,char *t); | ~~~~~~^ imap4r1.c:4691:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4691 | else if (LOCAL->authed && !strcmp (reply->key,"MAILBOX") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4693:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4693 | ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c:4694:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4694 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ^ imap4r1.c:4694:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 4694 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imap4r1.c:4696:25: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] 4696 | mm_list (stream,NIL,t,NIL); | ^ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1695:54: note: expected 'char *' but argument is of type 'unsigned char *' 1695 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c: In function 'imap_parse_response': imap4r1.c:4729:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4729 | if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4729:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4729 | if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4730:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4730 | else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4730:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4730 | else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && | ^~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4738:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4738 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4738:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4738 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4739:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4739 | else if (!compare_cstring (s,"\\Deleted")) | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4739:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4739 | else if (!compare_cstring (s,"\\Deleted")) | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4741:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4741 | else if (!compare_cstring (s,"\\Flagged")) | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4741:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4741 | else if (!compare_cstring (s,"\\Flagged")) | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4743:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4743 | else if (!compare_cstring (s,"\\Answered")) | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4743:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4743 | else if (!compare_cstring (s,"\\Answered")) | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4745:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4745 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4745:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4745 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4753:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4753 | else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4753:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4753 | else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4764:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4764 | else if (!compare_cstring (t,"UIDNEXT")) | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4764:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4764 | else if (!compare_cstring (t,"UIDNEXT")) | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4767:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4767 | !compare_cstring (t,"COPYUID") && | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4767:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4767 | !compare_cstring (t,"COPYUID") && | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4773:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4773 | else if (j && !compare_cstring (t,"APPENDUID") && | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4773:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4773 | else if (j && !compare_cstring (t,"APPENDUID") && | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4780:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4780 | if (!compare_cstring (t,"REFERRAL")) | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4780:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4780 | if (!compare_cstring (t,"REFERRAL")) | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4787:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4787 | if (!compare_cstring (t,"UIDNOTSTICKY")) { | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4787:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4787 | if (!compare_cstring (t,"UIDNOTSTICKY")) { | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4791:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4791 | else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4791:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4791 | else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4792:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4792 | else if (!compare_cstring (t,"READ-WRITE")) | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4792:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4792 | else if (!compare_cstring (t,"READ-WRITE")) | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4794:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4794 | else if (!compare_cstring (t,"PARSE") && !errflg) | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4794:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4794 | else if (!compare_cstring (t,"PARSE") && !errflg) | ^~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_namespace': imap4r1.c:4836:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4836 | nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); | ^ imap4r1.c:4861:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4861 | if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, | ^ imap4r1.c:4873:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4873 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, | ^ In file included from imap4r1.c:38: imap4r1.c: In function 'imap_parse_thread': imap4r1.c:4946:29: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4946 | else if (isdigit (*(s = *txtptr)) && | ^ imap4r1.c:4948:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4948 | strtoul (*txtptr,(char **) txtptr,10))) { | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_parse_envelope': imap4r1.c:5034:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5034 | (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5041:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5041 | (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5043:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5043 | (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function 'imap_parse_address': imap4r1.c:5141:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5141 | adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5142:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5142 | adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5143:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5143 | adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5144:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5144 | adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function 'imap_parse_flags': imap4r1.c:5241:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5241 | while (*(flag = ++*txtptr) == ' '); | ^ imap4r1.c:5249:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5249 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5249:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5249 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5250:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5250 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5250:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5250 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5251:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5251 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5251:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5251 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5252:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5252 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5252:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5252 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5253:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5253 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5253:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5253 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5254:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5254 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5254:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5254 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_user_flag': imap4r1.c:5282:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5282 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ^~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5282:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5282 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_astring': imap4r1.c:5315:46: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 5315 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ imap4r1.c:5315:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5315 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ imap4r1.c: In function 'imap_parse_string': imap4r1.c:5356:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5356 | if (c) st = ++*txtptr; /* remember start of string */ | ^ imap4r1.c:5411:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5411 | else if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) { | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5443:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5443 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ imap4r1.c:5444:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5444 | reply->line = cpystr (""); | ^ imap4r1.c:5445:38: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 5445 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1699:21: note: expected 'char *' but argument is of type 'unsigned char *' 1699 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_cache': imap4r1.c:5513:39: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 5513 | if (!(b = mail_body (stream,msgno,seg))) { | ^~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1791:33: note: expected 'unsigned char *' but argument is of type 'char *' 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ imap4r1.c: In function 'imap_parse_body_structure': imap4r1.c:5591:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5591 | if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) | ^ imap4r1.c:5592:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5592 | ucase (body->subtype); | ~~~~^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5610:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5610 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5631:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5631 | if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { | ^ imap4r1.c:5632:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5632 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5644:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5644 | if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) | ^ imap4r1.c:5645:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5645 | ucase (body->subtype); /* parse subtype */ | ~~~~^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5652:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5652 | body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5653:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5653 | body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5655:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5655 | if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { | ^ imap4r1.c:5656:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5656 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5672:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5672 | body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5693:37: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5693 | body->size.lines = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5700:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5700 | body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5713:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5713 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function 'imap_parse_body_parameter': imap4r1.c:5760:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5760 | if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5766:22: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5766 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ | ^ imap4r1.c:5792:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5792 | ((*(s = *txtptr) == 'I') || (*s == 'i')) && | ^ imap4r1.c: In function 'imap_parse_disposition': imap4r1.c:5816:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5816 | body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c: In function 'imap_parse_language': imap4r1.c:5859:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5859 | else if ((s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) != NULL) { | ^ imap4r1.c: In function 'imap_parse_extension': imap4r1.c:5928:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5928 | if ((i = strtoul (*txtptr,(char **) txtptr,10)) != 0L) do | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5933:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5933 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ imap4r1.c:5934:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5934 | reply->line = cpystr (""); | ^ imap4r1.c:5935:38: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 5935 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1699:21: note: expected 'char *' but argument is of type 'unsigned char *' 1699 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:5940:14: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5940 | strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_parse_capabilities': imap4r1.c:5974:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5974 | if (!compare_cstring (t,"IMAP4")) | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5974:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5974 | if (!compare_cstring (t,"IMAP4")) | ^~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5976:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5976 | else if (!compare_cstring (t,"IMAP4rev1")) | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5976:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5976 | else if (!compare_cstring (t,"IMAP4rev1")) | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5978:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5978 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5978:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5978 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5979:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5979 | else if (!compare_cstring (t,"IMAP2bis")) | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5979:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5979 | else if (!compare_cstring (t,"IMAP2bis")) | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5981:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5981 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5981:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5981 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5982:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5982 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5982:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5982 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5983:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5983 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5983:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5983 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5984:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5984 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5984:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5984 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5985:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5985 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5985:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5985 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5986:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5986 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5986:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5986 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5987:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5987 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5987:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5987 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5988:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5988 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5988:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5988 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5989:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5989 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5989:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5989 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5990:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5990 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5990:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5990 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5991:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5991 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5991:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5991 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5992:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5992 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5992:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5992 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5993:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5993 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5993:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5993 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5994:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5994 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5994:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5994 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5995:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5995 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5995:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5995 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5996:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5996 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5996:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5996 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5997:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5997 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5997:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5997 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5998:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5998 | else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5998:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5998 | else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5999:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5999 | else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5999:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5999 | else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6000:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6000 | else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6000:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6000 | else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6001:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6001 | else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6001:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6001 | else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6002:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6002 | else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6002:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6002 | else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6010:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6010 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6010:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6010 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6017:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6017 | else if (!compare_cstring (t,"AUTH")) { | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6017:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6017 | else if (!compare_cstring (t,"AUTH")) { | ^~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6020:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6020 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6020:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6020 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:49, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c: In function 'http_response_from_reply': http.c:137:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 137 | s = strstr(stream->reply, "\r\n\r\n"); | ~~~~~~^~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'unsigned char *' 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ http.c:137:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 137 | s = strstr(stream->reply, "\r\n\r\n"); | ^ http.c: In function 'http_add_data_to_header': http.c:360:36: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 360 | if(h->data) buffer_add(&h->data, ", "); | ^~~~ | | | char * http.c:90:35: note: expected 'unsigned char *' but argument is of type 'char *' 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function 'http_add_header_data': http.c:380:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 380 | if((h = strchr(hdata, ':'))){ | ^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:380:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 380 | if((h = strchr(hdata, ':'))){ | ^ http.c:383:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 383 | strncpy(hname, hdata, h-hdata); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c:383:20: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 383 | strncpy(hname, hdata, h-hdata); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c:102:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:385:9: note: in expansion of macro 'valid_token_name' 385 | if(!valid_token_name(hname)) | ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:395:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 395 | case 'a': if(!compare_cstring(hname+1, "ccept:")) /* RFC 7231, Section 5.3.2 */ | ^~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:397:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 397 | else if(!compare_cstring(hname+1, "ccept-charset:")) /* RFC 7231, Section 5.3.3 */ | ^~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:399:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 399 | else if(!compare_cstring(hname+1, "ccept-encoding:")) /* RFC 7231, Section 5.3.4 */ | ^~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:401:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 401 | else if(!compare_cstring(hname+1, "ccept-language:")) /* RFC 7231, Section 5.3.5 */ | ^~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:403:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 403 | else if(!compare_cstring(hname+1, "ccept-ranges:")) /* RFC 7233, Section 2.3 */ | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:405:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 405 | else if(!compare_cstring(hname+1, "ge:")) /* RFC 7234, Section 5.1 */ | ^~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:407:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 407 | else if(!compare_cstring(hname+1, "llow:")) /* RFC 7231, Section 7.4.1 */ | ^~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:413:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 413 | case 'c': if(!compare_cstring(hname+1, "ache-control:")) /* RFC 7234, Section 5.2 */ | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:415:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 415 | else if(!compare_cstring(hname+1, "onnection:")) /* RFC 7230, Section 6.1 */ | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:417:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 417 | else if(!compare_cstring(hname+1, "ontent-disposition:")) /* RFC 6266 */ | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:419:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 419 | else if(!compare_cstring(hname+1, "ontent-encoding:")) /* RFC 7231, Section 3.1.2.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:421:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 421 | else if(!compare_cstring(hname+1, "ontent-language:")) /* RFC 7231, Section 3.1.3.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:423:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 423 | else if(!compare_cstring(hname+1, "ontent-length:")) /* RFC 7230, Section 3.3.2 */ | ^~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:425:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 425 | else if(!compare_cstring(hname+1, "ontent-location:")) /* RFC 7231, Section 3.1.4.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:427:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 427 | else if(!compare_cstring(hname+1, "ontent-type:")) /* RFC 7231, Section 3.1.1.5 */ | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:433:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 433 | case 'd': if(!compare_cstring(hname+1, "ate:")) /* RFC 7231, Section 7.1.1.2 */ | ^~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:439:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 439 | case 'e': if(!compare_cstring(hname+1, "tag:")) /* RFC 7232, Section 2.3 */ | ^~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:441:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 441 | else if(!compare_cstring(hname+1, "xpect:")) /* RFC 7231, Section 5.1.1 */ | ^~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:443:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 443 | else if(!compare_cstring(hname+1, "xpires:")) /* RFC 7234, Section 5.3 */ | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:449:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 449 | case 'f': if(!compare_cstring(hname+1, "rom:")) /* RFC 7231, Section 5.5.1 */ | ^~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:455:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 455 | case 'h': if(!compare_cstring(hname+1, "ost:")) /* RFC 7230, Section 5.4 */ | ^~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:461:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 461 | case 'l': if(!compare_cstring(hname+1, "ast-modified:")) /* RFC 7232, Section 2.2 */ | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:463:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 463 | else if(!compare_cstring(hname+1, "ocation:")) /* RFC 7231, Section 7.1.2 */ | ^~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:469:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 469 | case 'm': if(!compare_cstring(hname+1, "ax-forwards:")) /* RFC 7231, Section 5.1.2 */ | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:471:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 471 | else if(!compare_cstring(hname+1, "ime-version:")) /* RFC 7231, Appendix A.1 */ | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:477:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 477 | case 'p': if(!compare_cstring(hname+1, "ragma:")) /* RFC 7234, Section 5.4 */ | ^~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:479:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 479 | else if(!compare_cstring(hname+1, "roxy-authenticate:")) /* RFC 7235, Section 4.3 */ | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:485:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 485 | case 'r': if(!compare_cstring(hname+1, "eferer:")) /* RFC 7231, Section 5.5.2 */ | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:487:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 487 | else if(!compare_cstring(hname+1, "etry-after:")) /* RFC 7231, Section 7.1.3 */ | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:493:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 493 | case 's': if(!compare_cstring(hname+1, "erver:")) /* RFC 7231, Section 7.4.2 */ | ^~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:499:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 499 | case 't': if(!compare_cstring(hname+1, "e:")) /* RFC 7230, Section 4.3 */ | ^~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:501:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 501 | else if(!compare_cstring(hname+1, "railer:")) /* RFC 7230, Section 4.4 */ | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:503:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 503 | else if(!compare_cstring(hname+1, "ransfer-encoding:")) /* RFC 7230, Section 3.3.1 */ | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:510:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 510 | case 'u': if(!compare_cstring(hname+1, "pgrade:")) /* RFC 7230, Section 6.7 */ | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:512:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 512 | else if(!compare_cstring(hname+1, "ser-agent:")) /* RFC 7231, Section 5.5.3 */ | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:518:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 518 | case 'v': if(!compare_cstring(hname+1, "ia:")) /* RFC 7230, Section 5.7.1 */ | ^~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:520:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 520 | else if(!compare_cstring(hname+1, "ary:")) /* RFC 7231, Section 7.1.4 */ | ^~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:526:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 526 | case 'w': if(!compare_cstring(hname+1, "arning:")) /* RFC 7234, Section 5.5 */ | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:528:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 528 | else if(!compare_cstring(hname+1, "ww-authenticate:")) /* RFC 7235, Section 4.1 */ | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:369:7: warning: variable 'found' set but not used [-Wunused-but-set-variable] 369 | int found = 1; | ^~~~~ http.c: In function 'http_parse_token_list': http.c:102:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:555:7: note: in expansion of macro 'valid_token_name' 555 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:563:26: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 563 | rv->vp->value = cpystr(s); | ^ | | | unsigned char * In file included from c-client.h:49, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function 'http_parse_token_parameter': http.c:102:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:604:7: note: in expansion of macro 'valid_token_name' 604 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:617:26: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 617 | rv->vp->value = cpystr(s); | ^ | | | unsigned char * In file included from c-client.h:49, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function 'valid_dquote_text': http.c:635:15: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 635 | t = strchr(s+1, '\"'); | ~^~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:635:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 635 | t = strchr(s+1, '\"'); | ^ http.c: In function 'http_remove_trailing_ows': http.c:652:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 652 | for(t = s; strlen(t) > 0 ;) | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:653:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 653 | if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:653:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 653 | if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:654:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 654 | t[strlen(t)-1] = '\0'; | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function 'http_parse_parameter': http.c:675:14: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 675 | u = strchr(s, '='); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:675:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 675 | u = strchr(s, '='); | ^ http.c:102:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:680:9: note: in expansion of macro 'valid_token_name' 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:680:56: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^ | | | unsigned char * http.c:102:40: note: in definition of macro 'valid_token_name' 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^ http.c:680:33: note: in expansion of macro 'valid_parameter_value' 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:683:27: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 683 | p->attribute = cpystr(s); | ^ | | | unsigned char * In file included from c-client.h:49, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c:684:24: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 684 | p->value = cpystr(u+1); | ~^~ | | | unsigned char * In file included from c-client.h:49, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c:102:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:693:9: note: in expansion of macro 'valid_token_name' 693 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:696:27: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 696 | p->attribute = cpystr(s); | ^ | | | unsigned char * In file included from c-client.h:49, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function 'http_get_param_url': http.c:713:51: warning: pointer targets in passing argument 1 of 'hex_escape_url_part' differ in signedness [-Wpointer-sign] 713 | enc_param.name = hex_escape_url_part(param[i].name, NULL); | ~~~~~~~~^~~~~ | | | char * http.c:91:36: note: expected 'unsigned char *' but argument is of type 'char *' 91 | unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:713:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 713 | enc_param.name = hex_escape_url_part(param[i].name, NULL); | ^ http.c:714:51: warning: pointer targets in passing argument 1 of 'hex_escape_url_part' differ in signedness [-Wpointer-sign] 714 | enc_param.value = hex_escape_url_part(param[i].value, NULL); | ~~~~~~~~^~~~~~ | | | char * http.c:91:36: note: expected 'unsigned char *' but argument is of type 'char *' 91 | unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:714:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 714 | enc_param.value = hex_escape_url_part(param[i].value, NULL); | ^ http.c:715:34: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 715 | buffer_add(&rv, i == 0 ? "?" : "&"); | ~~~~~~~~~~~~~^~~~~ | | | char * http.c:90:35: note: expected 'unsigned char *' but argument is of type 'char *' 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:716:30: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 716 | buffer_add(&rv, enc_param.name); | ~~~~~~~~~^~~~~ | | | char * http.c:90:35: note: expected 'unsigned char *' but argument is of type 'char *' 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:717:21: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 717 | buffer_add(&rv, "="); | ^~~ | | | char * http.c:90:35: note: expected 'unsigned char *' but argument is of type 'char *' 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:718:30: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 718 | buffer_add(&rv, enc_param.value); | ~~~~~~~~~^~~~~~ | | | char * http.c:90:35: note: expected 'unsigned char *' but argument is of type 'char *' 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function 'http_request_line': http.c:749:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:749:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:749:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:752:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 752 | sprintf(line, "%s %s %s", method, target, version); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c: In function 'http_add_header': http.c:765:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 765 | len = strlen(name) + 2 + strlen(value) + 2 + 1; | ^~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:765:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 765 | len = strlen(name) + 2 + strlen(value) + 2 + 1; | ^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:766:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 766 | hlen = (*reqp)->header ? strlen((*reqp)->header) : 0; | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:769:27: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 769 | sprintf((*reqp)->header + hlen, "%s: %s\015\012", name, value); | ~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c: In function 'buffer_add': http.c:779:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 779 | len = *bufp ? strlen(*bufp) : 0; | ^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:780:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 780 | fs_resize((void **) bufp, (len + strlen(text) + 1)*sizeof(char)); | ^~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:782:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 782 | strcat(*bufp, text); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ http.c:782:17: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 782 | strcat(*bufp, text); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ http.c: In function 'hex_escape_url_part': http.c:832:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 832 | unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; | ^~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:837:39: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 837 | || (addsafe != NULL && strchr(addsafe, *t) != NULL)) | ^~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:838:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 838 | sprintf(s + strlen(s), "%c", *t); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:838:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 838 | sprintf(s + strlen(s), "%c", *t); | ~~^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:840:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 840 | sprintf(s + strlen(s), "%%%X", *t); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:840:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 840 | sprintf(s + strlen(s), "%%%X", *t); | ~~^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:841:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 841 | fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function 'encode_url_body_part': http.c:850:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 850 | unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; | ^~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:855:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 855 | sprintf(s + strlen(s), "%c", '+'); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:855:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 855 | sprintf(s + strlen(s), "%c", '+'); | ~~^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:857:39: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 857 | || (addsafe != NULL && strchr(addsafe, *t) != NULL)) | ^~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:858:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 858 | sprintf(s + strlen(s), "%c", *t); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:858:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 858 | sprintf(s + strlen(s), "%c", *t); | ~~^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:860:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 860 | sprintf(s + strlen(s), "%%%X", *t); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:860:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 860 | sprintf(s + strlen(s), "%%%X", *t); | ~~^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:861:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 861 | fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function 'http_valid_net_parse': http.c:887:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 887 | s = strchr(url+i+1, '/'); | ~~~~~^~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:887:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 887 | s = strchr(url+i+1, '/'); | ^ http.c:888:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 888 | len = s ? s - url - i - 1 : strlen(url+i+1); | ~~~~~^~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:889:31: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 889 | strncpy(mb->orighost, url+i+1, len); | ~~~~~^~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c: In function 'http_open': http.c:915:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 915 | s = strchr((char *) url + 7 + (mb.trysslflag ? 1 : 0) + 1, '/'); /* 7 = strlen("http://") + 1 */ | ^ http.c:916:28: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 916 | stream->url = cpystr(url); | ^~~ | | | unsigned char * In file included from c-client.h:49, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function 'http_post_param': http.c:941:45: warning: pointer targets in passing argument 1 of 'http_request_line' differ in signedness [-Wpointer-sign] 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~ | | | char * http.c:747:34: note: expected 'unsigned char *' but argument is of type 'char *' 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.c:941:59: warning: pointer targets in passing argument 2 of 'http_request_line' differ in signedness [-Wpointer-sign] 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ~~~~~~^~~~~~~~~ | | | char * http.c:747:57: note: expected 'unsigned char *' but argument is of type 'char *' 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ In file included from c-client.h:46, from http.c:14: http.h:76:33: warning: pointer targets in passing argument 3 of 'http_request_line' differ in signedness [-Wpointer-sign] 76 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ | | | char * http.c:941:70: note: in expansion of macro 'HTTP_1_1_VERSION' 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ http.c:747:80: note: expected 'unsigned char *' but argument is of type 'char *' 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~~ http.c:942:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 942 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ | | | char * http.c:757:55: note: expected 'unsigned char *' but argument is of type 'char *' 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:942:48: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 942 | http_add_header(&http_request, "Host", stream->urlhost); | ~~~~~~^~~~~~~~~ | | | char * http.c:757:76: note: expected 'unsigned char *' but argument is of type 'char *' 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:943:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 943 | http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); | ^~~~~~~~~~~~~~ | | | char * http.c:757:55: note: expected 'unsigned char *' but argument is of type 'char *' 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ In file included from c-client.h:46, from http.c:14: http.h:74:33: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 74 | #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.h:74:33: note: in definition of macro 'HTTP_MIME_URLENCODED' 74 | #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:757:76: note: expected 'unsigned char *' but argument is of type 'char *' 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:946:52: warning: pointer targets in passing argument 1 of 'encode_url_body_part' differ in signedness [-Wpointer-sign] 946 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ~~~~~~~~^~~~~ | | | char * http.c:847:37: note: expected 'unsigned char *' but argument is of type 'char *' 847 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ~~~~~~~~~~~~~~~^~~~ http.c:946:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 946 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ^ http.c:947:52: warning: pointer targets in passing argument 1 of 'encode_url_body_part' differ in signedness [-Wpointer-sign] 947 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ~~~~~~~~^~~~~~ | | | char * http.c:847:37: note: expected 'unsigned char *' but argument is of type 'char *' 847 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ~~~~~~~~~~~~~~~^~~~ http.c:947:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 947 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ^ http.c:949:37: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 949 | http_add_body(&http_request, "&"); | ^~~ | | | char * http.c:786:53: note: expected 'unsigned char *' but argument is of type 'char *' 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:950:43: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 950 | http_add_body(&http_request, enc_param.name); | ~~~~~~~~~^~~~~ | | | char * http.c:786:53: note: expected 'unsigned char *' but argument is of type 'char *' 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:951:34: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 951 | http_add_body(&http_request, "="); | ^~~ | | | char * http.c:786:53: note: expected 'unsigned char *' but argument is of type 'char *' 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:952:43: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 952 | http_add_body(&http_request, enc_param.value); | ~~~~~~~~~^~~~~~ | | | char * http.c:786:53: note: expected 'unsigned char *' but argument is of type 'char *' 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:959:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 959 | response = cpystr(s ? (char *) s : ""); | ^ http.c: In function 'http_get': http.c:977:45: warning: pointer targets in passing argument 1 of 'http_request_line' differ in signedness [-Wpointer-sign] 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~ | | | char * http.c:747:34: note: expected 'unsigned char *' but argument is of type 'char *' 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.c:977:58: warning: pointer targets in passing argument 2 of 'http_request_line' differ in signedness [-Wpointer-sign] 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ~~~~~~^~~~~~~~~ | | | char * http.c:747:57: note: expected 'unsigned char *' but argument is of type 'char *' 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ In file included from c-client.h:46, from http.c:14: http.h:76:33: warning: pointer targets in passing argument 3 of 'http_request_line' differ in signedness [-Wpointer-sign] 76 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ | | | char * http.c:977:69: note: in expansion of macro 'HTTP_1_1_VERSION' 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ http.c:747:80: note: expected 'unsigned char *' but argument is of type 'char *' 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~~ http.c:978:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 978 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ | | | char * http.c:757:55: note: expected 'unsigned char *' but argument is of type 'char *' 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:978:48: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 978 | http_add_header(&http_request, "Host", stream->urlhost); | ~~~~~~^~~~~~~~~ | | | char * http.c:757:76: note: expected 'unsigned char *' but argument is of type 'char *' 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:980:41: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 980 | http_add_header(&http_request, h[i]->name, h[i]->value); | ~~~~^~~~~~ | | | char * http.c:757:55: note: expected 'unsigned char *' but argument is of type 'char *' 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:980:53: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 980 | http_add_header(&http_request, h[i]->name, h[i]->value); | ~~~~^~~~~~~ | | | char * http.c:757:76: note: expected 'unsigned char *' but argument is of type 'char *' 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:984:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 984 | response = cpystr(s ? (char *) s : ""); | ^ http.c: In function 'http_send': http.c:1014:29: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] 1014 | ret = http_fake (stream,"http connection lost"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected 'unsigned char *' but argument is of type 'char *' 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:1019:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1019 | sprintf(length, "%lu", strlen(req->body)); | ~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:1020:29: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 1020 | http_add_header(&req, "Content-Length", length); | ^~~~~~~~~~~~~~~~ | | | char * http.c:757:55: note: expected 'unsigned char *' but argument is of type 'char *' 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:1020:47: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 1020 | http_add_header(&req, "Content-Length", length); | ^~~~~~ | | | char * http.c:757:76: note: expected 'unsigned char *' but argument is of type 'char *' 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:1023:50: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1023 | buffer_add(&s, req->request); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected 'unsigned char *' but argument is of type 'char *' 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1024:49: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1024 | buffer_add(&s, req->header); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected 'unsigned char *' but argument is of type 'char *' 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1025:47: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1025 | buffer_add(&s, req->body); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected 'unsigned char *' but argument is of type 'char *' 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1027:30: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1027 | if(stream->debug) mm_log(s, HTTPDEBUG); | ^ | | | unsigned char * In file included from c-client.h:41, from http.c:14: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1029:40: warning: pointer targets in passing argument 2 of 'net_soutr' differ in signedness [-Wpointer-sign] 1029 | ret = net_soutr (stream->netstream,s) | ^ | | | unsigned char * In file included from c-client.h:41, from http.c:14: mail.h:1917:41: note: expected 'char *' but argument is of type 'unsigned char *' 1917 | long net_soutr (NETSTREAM *stream,char *string); | ~~~~~~^~~~~~ http.c:1031:31: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] 1031 | : http_fake (stream,"http connection broken in command"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected 'unsigned char *' but argument is of type 'char *' 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function 'http_status_line_get': http.c:1046:19: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1046 | if((s = strchr(status_line, ' ')) != NIL){ | ^~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:1048:24: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1048 | version = cpystr(status_line); | ^~~~~~~~~~~ | | | unsigned char * In file included from c-client.h:49, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function 'http_reply': http.c:1083:64: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1083 | if(stream->debug) mm_log(stream->response ? stream->response : (unsigned char *) "", HTTPDEBUG); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from c-client.h:41, from http.c:14: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1087:33: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1087 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected 'unsigned char *' but argument is of type 'char *' 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1094:23: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] 1094 | http_fake(stream, "Invalid status line received. Closing connection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected 'unsigned char *' but argument is of type 'char *' 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:1104:39: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1104 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ~~~~~~^~~~~~~~~~ | | | unsigned char * In file included from c-client.h:41, from http.c:14: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1106:33: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1106 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected 'unsigned char *' but argument is of type 'char *' 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1119:40: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1119 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ~~~~~~^~~~~~~~~~ | | | unsigned char * In file included from c-client.h:41, from http.c:14: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1125:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1125 | if(!compare_cstring(p->vp->value, "chunked")) | ~~~~~^~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:1125:43: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1125 | if(!compare_cstring(p->vp->value, "chunked")) | ^~~~~~~~~ | | | char * In file included from c-client.h:49, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:1134:39: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1134 | if(stream->debug) mm_log(s, HTTPDEBUG); | ^ | | | unsigned char * In file included from c-client.h:41, from http.c:14: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1135:28: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 1135 | size = strtol(s, NIL, 16); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from http.c:14: /usr/include/stdlib.h:177:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ http.c:1140:47: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1140 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ~~~~~~^~~~~~~~~~ | | | unsigned char * In file included from c-client.h:41, from http.c:14: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1148:23: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] 1148 | http_fake(stream, "Connection to HTTP server closed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected 'unsigned char *' but argument is of type 'char *' 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ At top level: http.c:22:13: warning: 'http_noparam_val' defined but not used [-Wunused-variable] 22 | static char http_noparam_val[] = "\1\2\3\4\5\6\7\10\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37\42\134\177"; | ^~~~~~~~~~~~~~~~ json.c: In function 'json_assign': json.c:454:37: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 454 | JSON_S *json = json_body_value(j, s); | ^ | | | char * json.c:137:43: note: expected 'unsigned char *' but argument is of type 'char *' 137 | json_body_value(JSON_S *j, unsigned char *s) | ~~~~~~~~~~~~~~~^ json.c: In function 'json_by_name_and_type': json.c:475:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 475 | if(j->name && !compare_cstring(j->name, name)) | ^~~~ | | | char * In file included from c-client.h:49, from json.c:20: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function 'pop3_valid': pop3.c:179:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 179 | !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; | ~~^~~~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:179:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 179 | !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; | ^~~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function 'pop3_scan': pop3.c:231:36: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 231 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:49, from pop3.c:31: pop3.c:231:44: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 231 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:49, from pop3.c:31: pop3.c:232:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 232 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:49, from pop3.c:31: pop3.c:232:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 232 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:49, from pop3.c:31: pop3.c: In function 'pop3_list': pop3.c:247:37: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 247 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:49, from pop3.c:31: pop3.c:247:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 247 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:49, from pop3.c:31: pop3.c:252:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 252 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:49, from pop3.c:31: pop3.c:252:72: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 252 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:49, from pop3.c:31: pop3.c: In function 'pop3_lsub': pop3.c:278:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 278 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:49, from pop3.c:31: pop3.c:278:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 278 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ pop3.c: In function 'pop3_capa': pop3.c:504:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 504 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:504:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 504 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:505:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 505 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:505:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 505 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:506:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 506 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:506:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 506 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:507:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 507 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:507:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 507 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:508:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 508 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:508:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 508 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:509:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 509 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:509:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 509 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:510:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 510 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:510:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 510 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:512:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 512 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:512:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 512 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^~~~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:520:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 520 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:520:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 520 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:521:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 521 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:521:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 521 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:523:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 523 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:523:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 523 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:531:54: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 531 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:531:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 531 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:534:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 534 | else if (!compare_cstring (t,"SASL") && args) | ^ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:534:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 534 | else if (!compare_cstring (t,"SASL") && args) | ^~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function 'pop3_auth': pop3.c:618:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 618 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:618:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 618 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function 'pop3_fetchfast': pop3.c:830:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 830 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41, from pop3.c:31: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c:831:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 831 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from c-client.h:41, from pop3.c:31: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c: In function 'pop3_expunge': pop3.c:994:51: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 994 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41, from pop3.c:31: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c:995:47: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 995 | mail_sequence (stream,sequence)) : | ^~~~~~~~ | | | char * In file included from c-client.h:41, from pop3.c:31: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c: In function 'pop3_header': pop3.c:894:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 894 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 895 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 896 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_open': unix.c:470:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 470 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:470:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 470 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:482:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 482 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ unix.c: At top level: unix.c:591:26: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 591 | STRINGLIST XIMAPbase = {{"X-IMAPbase", 10}, NIL}; | ^~~~~~~~~~~~ unix.c:591:26: note: (near initialization for 'XIMAPbase.text.data') unix.c:592:26: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 592 | STRINGLIST XIMAP = {{"X-IMAP", 6}, &XIMAPbase}; | ^~~~~~~~ unix.c:592:26: note: (near initialization for 'XIMAP.text.data') unix.c:593:26: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 593 | STRINGLIST XUID = {{"X-UID", 5}, &XIMAP}; | ^~~~~~~ unix.c:593:26: note: (near initialization for 'XUID.text.data') unix.c:594:26: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 594 | STRINGLIST XKeywords = {{"X-Keywords", 10}, &XUID}; | ^~~~~~~~~~~~ unix.c:594:26: note: (near initialization for 'XKeywords.text.data') unix.c:595:26: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 595 | STRINGLIST XStatus = {{"X-Status", 8}, &XKeywords}; | ^~~~~~~~~~ unix.c:595:26: note: (near initialization for 'XStatus.text.data') unix.c:596:26: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 596 | STRINGLIST Status = {{"Status", 6}, &XStatus}; | ^~~~~~~~ unix.c:596:26: note: (near initialization for 'Status.text.data') unix.c: In function 'unix_header': unix.c:615:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 615 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ unix.c:629:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 629 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^ unix.c:642:31: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] 642 | *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1804:34: note: expected 'char *' but argument is of type 'unsigned char *' 1804 | unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, | ~~~~~~^~~~ unix.c: In function 'unix_text_work': unix.c:692:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 692 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ unix.c:720:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 720 | d.chunk = tmp; /* initial buffer chunk */ | ^ unix.c:723:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 723 | for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { | ^ unix.c: In function 'unix_ping': unix.c:776:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 776 | sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:778:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 778 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function 'unix_expunge': unix.c:835:52: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 835 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from unix.c:45: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:836:48: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 836 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * In file included from unix.c:45: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:841:21: warning: unused variable 'elt' [-Wunused-variable] 841 | MESSAGECACHE *elt = mail_elt (stream,i); | ^~~ unix.c:849:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 849 | if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); | ^ unix.c: In function 'unix_copy': unix.c:891:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 891 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from unix.c:45: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:892:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 892 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from unix.c:45: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:898:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 898 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:898:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 898 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:905:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 905 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:906:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 906 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:910:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 910 | sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:911:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 911 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:915:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 915 | sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:916:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 916 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:925:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 925 | sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:927:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 927 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:936:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 936 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:937:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 937 | MM_LOG (LOCAL->buf,ERROR);/* log the error */ | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:946:26: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 946 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from unix.c:46: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:954:39: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 954 | unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : | ^ | | | unsigned char * unix.c:131:54: note: expected 'char *' but argument is of type 'unsigned char *' 131 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:955:39: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 955 | unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL); | ^ | | | unsigned char * unix.c:131:54: note: expected 'char *' but argument is of type 'unsigned char *' 131 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:956:30: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 956 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from unix.c:46: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:970:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 970 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:996:26: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 996 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function 'unix_append': unix.c:1040:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1040 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1040:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1040 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1082:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1082 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from unix.c:45: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ unix.c:1026:17: warning: unused variable 'uidlocation' [-Wunused-variable] 1026 | unsigned long uidlocation = 0; | ^~~~~~~~~~~ unix.c: In function 'unix_collect_msg': unix.c:1185:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1185 | if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && | ^ unix.c: In function 'unix_parse': unix.c:1451:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1451 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1452:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1452 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1461:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1461 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1463:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1463 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1475:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1475 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ unix.c:1484:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1484 | s = unix_mbxline (stream,&bs,&i); | ^ unix.c:1488:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1488 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1490:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1490 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1539:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1539 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1540:19: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1540 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1544:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1544 | s = t = unix_mbxline (stream,&bs,&i); | ^ unix.c:1561:38: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:44, from unix.c:46: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ unix.c:1561:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ unix.c:1561:67: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:44, from unix.c:46: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ unix.c:1567:66: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 1567 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from unix.c:52: misc.h:107:40: note: expected 'unsigned char *' but argument is of type 'char *' 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1615:36: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1615 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * In file included from osdep.h:44, from unix.c:46: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ unix.c:1615:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1615 | u = strpbrk (s," \n\r"); | ^ unix.c:1622:56: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1622 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ unix.c:1650:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1650 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1655:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1655 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1675:27: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1675 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1731:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1731 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1732:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1732 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1733:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1733 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1734:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1734 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1735:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1735 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1736:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1736 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1759:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1759 | if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; | ^ unix.c:1785:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1785 | s = unix_mbxline (stream,&bs,&i); | ^ unix.c: In function 'unix_rewrite': unix.c:2071:65: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] 2071 | unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; | ^ | | | unsigned char * unix.c:1951:53: note: expected 'char *' but argument is of type 'unsigned char *' 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:2079:35: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 2079 | unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) + | ^ | | | unsigned char * unix.c:1978:54: note: expected 'char *' but argument is of type 'unsigned char *' 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:2087:37: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] 2087 | size = unix_pseudo (stream,LOCAL->buf); | ^ | | | unsigned char * unix.c:1951:53: note: expected 'char *' but argument is of type 'unsigned char *' 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:2107:58: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] 2107 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * unix.c:1951:53: note: expected 'char *' but argument is of type 'unsigned char *' 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:2107:27: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] 2107 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * unix.c:136:36: note: expected 'char *' but argument is of type 'unsigned char *' 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:2124:41: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 2124 | unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { | ^ | | | unsigned char * unix.c:1978:54: note: expected 'char *' but argument is of type 'unsigned char *' 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:2138:31: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] 2138 | unix_write (&f,LOCAL->buf,elt->private.special.text.size); | ^ | | | unsigned char * unix.c:136:36: note: expected 'char *' but argument is of type 'unsigned char *' 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:2159:53: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 2159 | j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); | ^ | | | unsigned char * unix.c:1978:54: note: expected 'char *' but argument is of type 'unsigned char *' 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:2158:31: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] 2158 | unix_write (&f,LOCAL->buf, | ^ | | | unsigned char * unix.c:136:36: note: expected 'char *' but argument is of type 'unsigned char *' 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:2244:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2244 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2245:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2245 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function 'unix_extend': unix.c:2266:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2266 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); | ^ unix.c:2271:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 2271 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^ | | | unsigned char * In file included from osdep.h:68, from unix.c:46: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:2277:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2277 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2278:45: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2278 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function 'mbox_valid': unix.c:2450:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2450 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:2450:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2450 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c: In function 'mbox_create': unix.c:2465:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2465 | if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:2465:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2465 | if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c: In function 'mbox_ping': unix.c:2593:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2593 | sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2595:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2595 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2607:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2607 | sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2608:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2608 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2614:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2614 | sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2616:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2616 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2632:27: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2632 | sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2637:31: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2637 | else MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function 'unix_open': unix.c:521:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 521 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ unix.c: In function 'unix_header': unix.c:619:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 619 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:629:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 629 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 630 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:696:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 696 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_copy': unix.c:945:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 945 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:971:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 971 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_append': unix.c:1141:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1141 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_rewrite': unix.c:2128:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2128 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2228:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2228 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_extend': unix.c:2274:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2274 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'mbox_ping': unix.c:2600:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2600 | read (sfd,s = (char *) fs_get (size + 1),size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2610:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2610 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2618:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2618 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2629:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2629 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ | ^~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_isvalid': mbx.c:308:61: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 308 | else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) | ^~~~ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:308:66: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 308 | else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) | ^~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function 'mbx_rename': mbx.c:507:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 507 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:507:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 507 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function 'mbx_open': mbx.c:588:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 588 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mbx.c:591:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 591 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:591:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 591 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function 'mbx_flags': mbx.c:678:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 678 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:679:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 679 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c: In function 'mbx_header': mbx.c:707:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 707 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); | ^ mbx.c:710:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 710 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^ mbx.c: In function 'mbx_text': mbx.c:747:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 747 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mbx.c: In function 'mbx_ping': mbx.c:857:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 857 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:858:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 858 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function 'mbx_expunge': mbx.c:890:51: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 890 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:891:47: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 891 | mail_sequence (stream,sequence)) : LONGT) != 0L) { | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:897:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 897 | sprintf (LOCAL->buf,"Expunged %lu messages",nexp); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:898:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 898 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:901:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 901 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:902:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 902 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:941:27: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 941 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1792:24: note: expected 'char *' but argument is of type 'unsigned char *' 1792 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mbx.c:942:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 942 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:942:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 942 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:948:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 948 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:948:38: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 948 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:964:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 964 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:965:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 965 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function 'mbx_copy': mbx.c:1000:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1000 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:1001:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1001 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:1010:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1010 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1011:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1011 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1015:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1015 | sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1016:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1016 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1020:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1020 | sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1021:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1021 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1033:22: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 1033 | mail_date(LOCAL->buf,elt);/* build target header */ | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1792:24: note: expected 'char *' but argument is of type 'unsigned char *' 1792 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mbx.c:1038:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1038 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1038:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1038 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ | | | char * In file included from mbx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1039:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1039 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:1039:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1039 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1045:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1045 | if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:1045:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1045 | if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:1048:32: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1048 | ret = write (fd,LOCAL->buf,j) >= 0; | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:1059:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1059 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1060:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1060 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1066:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1066 | sprintf (LOCAL->buf,"%08lx",dstream->uid_last); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1067:20: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1067 | write (fd,LOCAL->buf,8); | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_append': mbx.c:1124:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1124 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1124:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1124 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1166:36: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1166 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mbx.c:41: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function 'mbx_parse': mbx.c:1275:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1275 | stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1278:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1278 | i = strtoul (LOCAL->buf + 15,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1282:41: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1282 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1282:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1282 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ mbx.c:1285:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1285 | if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:1286:39: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1286 | stream->user_flags[i] = cpystr (s); | ^ | | | unsigned char * In file included from mbx.c:46: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ mbx.c:1296:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1296 | strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1313:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1313 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1313 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ mbx.c:1322:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1322:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mbx.c:1322:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1322:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mbx.c:1352:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1352 | if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1370:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1370 | if ((m = strtoul (t+13,NIL,16)) && | ~^~~ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1386:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1386 | if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { | ~^~ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1420:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1420 | elt->user_flags = strtoul (t,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function 'mbx_read_flags': mbx.c:1502:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1502 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1504:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1504 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1511:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1511 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1512:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1512 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1516:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1516 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1519:22: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1519 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1523:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1523 | i = strtoul (LOCAL->buf+9,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1532:40: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1532 | elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function 'mbx_update_header': mbx.c:83:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ mbx.c:1548:13: note: in expansion of macro 'LOCAL' 1548 | char *s = LOCAL->buf; | ^~~~~ mbx.c:1559:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1559 | sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1563:37: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1563 | if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_update_status': mbx.c:1586:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1586 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1588:19: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1588 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1595:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1595 | sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1596:19: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1596 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1600:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1600 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1603:24: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1603 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1608:48: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1608 | fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1606:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1606 | sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1616:33: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1616 | if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_hdrpos': mbx.c:1664:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1664 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1671:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1671 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1681:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1681 | if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ | ^ mbx.c: In function 'mbx_rewrite': mbx.c:1762:41: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1762 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_header': mbx.c:710:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 710 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:966:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 966 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_copy': mbx.c:1047:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1047 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1061:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1061 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_append': mbx.c:1196:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1196 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_parse': mbx.c:1270:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1270 | read (LOCAL->fd,LOCAL->buf,HDRSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_rewrite': mbx.c:1758:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1758 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1782:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1782 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_open': mmdf.c:609:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 609 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:609:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 609 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:621:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 621 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mmdf.c: In function 'mmdf_header': mmdf.c:767:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 767 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ mmdf.c:781:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 781 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^ mmdf.c:794:31: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] 794 | *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1804:34: note: expected 'char *' but argument is of type 'unsigned char *' 1804 | unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, | ~~~~~~^~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:844:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 844 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ mmdf.c:872:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 872 | d.chunk = tmp; /* initial buffer chunk */ | ^ mmdf.c:875:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 875 | for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { | ^ mmdf.c: In function 'mmdf_ping': mmdf.c:928:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 928 | sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:930:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 930 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function 'mmdf_expunge': mmdf.c:987:52: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 987 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mmdf.c:33: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:988:48: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 988 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * In file included from mmdf.c:33: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:993:21: warning: unused variable 'elt' [-Wunused-variable] 993 | MESSAGECACHE *elt = mail_elt (stream,i); | ^~~ mmdf.c:1001:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1001 | if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); | ^ mmdf.c: In function 'mmdf_copy': mmdf.c:1040:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1040 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mmdf.c:33: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:1041:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1041 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mmdf.c:33: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:1046:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1046 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1046:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1046 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1053:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1053 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1054:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1054 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1058:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1058 | sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1059:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1059 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1063:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1063 | sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1064:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1064 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1073:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1073 | sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1075:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1075 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1084:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1084 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1085:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1085 | MM_LOG (LOCAL->buf,ERROR); /* log the error */ | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1094:26: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1094 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from mmdf.c:34: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:1102:39: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 1102 | mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : | ^ | | | unsigned char * mmdf.c:287:54: note: expected 'char *' but argument is of type 'unsigned char *' 287 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:1103:39: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 1103 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL); | ^ | | | unsigned char * mmdf.c:287:54: note: expected 'char *' but argument is of type 'unsigned char *' 287 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:1104:30: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1104 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from mmdf.c:34: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:1119:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1119 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1145:26: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1145 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function 'mmdf_append': mmdf.c:1190:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1190 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1190:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1190 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1232:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1232 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mmdf.c:33: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mmdf.c:1175:17: warning: unused variable 'uidlocation' [-Wunused-variable] 1175 | unsigned long uidlocation = 0; | ^~~~~~~~~~~ mmdf.c: In function 'mmdf_collect_msg': mmdf.c:1334:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1334 | if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && | ^ mmdf.c: In function 'mmdf_parse': mmdf.c:1593:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1593 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1594:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1594 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1603:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1603 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1605:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1605 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1617:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1617 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mmdf.c:1626:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1626 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1630:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1630 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1636:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1636 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1641:21: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1641 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1658:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1658 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1694:22: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1694 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1695:21: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1695 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1712:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1712 | if (t) s = t = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1738:38: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:44, from mmdf.c:34: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mmdf.c:1738:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ mmdf.c:1738:67: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:44, from mmdf.c:34: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mmdf.c:1744:66: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 1744 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from mmdf.c:39: misc.h:107:40: note: expected 'unsigned char *' but argument is of type 'char *' 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1792:36: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1792 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * In file included from osdep.h:44, from mmdf.c:34: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mmdf.c:1792:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1792 | u = strpbrk (s," \n\r"); | ^ mmdf.c:1799:56: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1799 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ mmdf.c:1827:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1827 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1832:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1832 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1852:27: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1852 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1908:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1908 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1909:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1909 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1910:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1910 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1911:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1911 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1912:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1912 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1913:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1913 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1936:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1936 | if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; | ^ mmdf.c:1960:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1960 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1985:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1985 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2247:65: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] 2247 | unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; | ^ | | | unsigned char * mmdf.c:2127:53: note: expected 'char *' but argument is of type 'unsigned char *' 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2255:35: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 2255 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) + | ^ | | | unsigned char * mmdf.c:2154:54: note: expected 'char *' but argument is of type 'unsigned char *' 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2263:37: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] 2263 | size = mmdf_pseudo (stream,LOCAL->buf); | ^ | | | unsigned char * mmdf.c:2127:53: note: expected 'char *' but argument is of type 'unsigned char *' 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2283:58: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] 2283 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * mmdf.c:2127:53: note: expected 'char *' but argument is of type 'unsigned char *' 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2283:27: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] 2283 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * mmdf.c:292:36: note: expected 'char *' but argument is of type 'unsigned char *' 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2300:41: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 2300 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { | ^ | | | unsigned char * mmdf.c:2154:54: note: expected 'char *' but argument is of type 'unsigned char *' 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2314:31: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] 2314 | mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); | ^ | | | unsigned char * mmdf.c:292:36: note: expected 'char *' but argument is of type 'unsigned char *' 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2335:53: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 2335 | j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); | ^ | | | unsigned char * mmdf.c:2154:54: note: expected 'char *' but argument is of type 'unsigned char *' 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2334:31: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] 2334 | mmdf_write (&f,LOCAL->buf, | ^ | | | unsigned char * mmdf.c:292:36: note: expected 'char *' but argument is of type 'unsigned char *' 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2403:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2403 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:2404:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2404 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2425:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2425 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); | ^ mmdf.c:2430:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 2430 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^ | | | unsigned char * In file included from osdep.h:68, from mmdf.c:34: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:2436:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2436 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:2437:45: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2437 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function 'mmdf_open': mmdf.c:660:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 660 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_header': mmdf.c:771:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 771 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:781:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 781 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 782 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:848:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 848 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_copy': mmdf.c:1093:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1093 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1120:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1120 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_append': mmdf.c:1290:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1290 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2304:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2304 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2387:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2387 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2433:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2433 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_isvalid': tenex.c:212:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 212 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from tenex.c:49: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:212:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 212 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function 'tenex_rename': tenex.c:354:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 354 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~ | | | char * In file included from tenex.c:49: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:354:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 354 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function 'tenex_open': tenex.c:431:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 431 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ tenex.c:437:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 437 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:437:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 437 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function 'tenex_fast': tenex.c:504:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 504 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:505:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 505 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:515:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 515 | LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); | ^ tenex.c: In function 'tenex_flags': tenex.c:542:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 542 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:543:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 543 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:568:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 568 | LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); | ^ tenex.c:578:54: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 578 | *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); | ^ | | | char * In file included from osdep.h:71, from tenex.c:47: nl.h:33:42: note: expected 'unsigned char *' but argument is of type 'char *' 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ tenex.c: In function 'tenex_text': tenex.c:613:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 613 | LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); | ^ tenex.c:636:57: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 636 | strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); | ^ | | | char * In file included from osdep.h:71, from tenex.c:47: nl.h:33:42: note: expected 'unsigned char *' but argument is of type 'char *' 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ tenex.c: In function 'tenex_snarf': tenex.c:778:27: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 778 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1792:24: note: expected 'char *' but argument is of type 'unsigned char *' 1792 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ tenex.c:779:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 779 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tenex.c:779:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 779 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:785:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 785 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tenex.c:785:38: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 785 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:68, from tenex.c:47: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:801:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 801 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:802:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 802 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:837:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 837 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:838:50: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 838 | mail_sequence (stream,sequence)) : LONGT) && | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:899:41: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 899 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:68, from tenex.c:47: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:915:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 915 | sprintf (LOCAL->buf, | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:918:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 918 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:922:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 922 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:924:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 924 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c: In function 'tenex_copy': tenex.c:965:36: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign] 965 | if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * tenex.c:177:37: note: expected 'char *' but argument is of type 'unsigned char *' 177 | int tenex_isvalid (char *name,char *tmp) | ~~~~~~^~~ tenex.c:972:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 972 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:973:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 973 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:977:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 977 | sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:978:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 978 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:982:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 982 | sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:983:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 983 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:986:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 986 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:987:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 987 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:990:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 990 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:991:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 991 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:1013:28: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1013 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from tenex.c:47: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:1018:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1018 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1019:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1019 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c: In function 'tenex_append': tenex.c:1076:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1076 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:1076:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1076 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:1126:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1126 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from tenex.c:46: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function 'tenex_parse': tenex.c:1248:28: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1248 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ | | | unsigned char * In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1248:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1248 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ tenex.c:1257:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1257:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ tenex.c:1257:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1257:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ tenex.c:1280:53: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1280 | (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && | ^ | | | unsigned char * In file included from osdep.h:43, from tenex.c:47: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c:1304:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1304 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:43, from tenex.c:47: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function 'tenex_read_flags': tenex.c:1382:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1382 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1383:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1383 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from tenex.c:47: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ tenex.c:1391:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1391 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:43, from tenex.c:47: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function 'tenex_update_status': tenex.c:1417:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1417 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1425:27: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1425 | write (LOCAL->fd,LOCAL->buf,12); | ^ | | | unsigned char * In file included from osdep.h:68, from tenex.c:47: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1460:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1460 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^ tenex.c: In function 'tenex_fast': tenex.c:520:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 520 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:571:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 571 | read (LOCAL->fd,LOCAL->buf,*length = i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:576:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 576 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_text': tenex.c:618:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 618 | read (LOCAL->fd,LOCAL->buf,i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:633:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 633 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_snarf': tenex.c:803:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 803 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:894:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 894 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:921:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 921 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_copy': tenex.c:1012:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1012 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1020:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1020 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_append': tenex.c:1154:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1154 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1460:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1460 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_isvalid': mtx.c:205:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 205 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from mtx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:205:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 205 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function 'mtx_rename': mtx.c:345:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 345 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~ | | | char * In file included from mtx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:345:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 345 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function 'mtx_open': mtx.c:423:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 423 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mtx.c:426:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 426 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:426:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 426 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function 'mtx_flags': mtx.c:489:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 489 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:490:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 490 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c: In function 'mtx_header': mtx.c:513:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 513 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); | ^ mtx.c: In function 'mtx_text': mtx.c:548:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 548 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mtx.c: In function 'mtx_snarf': mtx.c:687:27: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 687 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1792:24: note: expected 'char *' but argument is of type 'unsigned char *' 1792 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mtx.c:688:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 688 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mtx.c:688:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 688 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:694:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 694 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mtx.c:694:38: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 694 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:68, from mtx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:710:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 710 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:711:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 711 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:746:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 746 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:747:50: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 747 | mail_sequence (stream,sequence)) : LONGT) && | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:808:41: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 808 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:68, from mtx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:823:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 823 | sprintf (LOCAL->buf, | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:826:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 826 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:830:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 830 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:832:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 832 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c: In function 'mtx_copy': mtx.c:873:34: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign] 873 | if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * mtx.c:170:35: note: expected 'char *' but argument is of type 'unsigned char *' 170 | int mtx_isvalid (char *name,char *tmp) | ~~~~~~^~~ mtx.c:880:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 880 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:881:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 881 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:885:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 885 | sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:886:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 886 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:890:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 890 | sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:891:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 891 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:894:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 894 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:895:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 895 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:898:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 898 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:899:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 899 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:921:28: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 921 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from mtx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:926:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 926 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:927:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 927 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c: In function 'mtx_append': mtx.c:984:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 984 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:984:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 984 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:1034:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1034 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mtx.c:41: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function 'mtx_parse': mtx.c:1134:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1134 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1134:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1134 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ mtx.c:1143:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1143:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mtx.c:1143:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1143:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mtx.c:1166:38: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1166 | (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && | ^ | | | unsigned char * In file included from osdep.h:43, from mtx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c:1190:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1190 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:43, from mtx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function 'mtx_read_flags': mtx.c:1268:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1268 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:1269:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1269 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from mtx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mtx.c:1277:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1277 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:43, from mtx.c:42: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function 'mtx_update_status': mtx.c:1303:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1303 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:1311:27: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1311 | write (LOCAL->fd,LOCAL->buf,12); | ^ | | | unsigned char * In file included from osdep.h:68, from mtx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c: In function 'mtx_header': mtx.c:517:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 517 | read (LOCAL->fd,LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_snarf': mtx.c:712:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 712 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:803:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 803 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:829:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 829 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_copy': mtx.c:920:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 920 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:928:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 928 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_append': mtx.c:1055:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1055 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_list': news.c:238:24: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 238 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from news.c:35: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ news.c:238:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 238 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from news.c:35: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ news.c:241:26: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 241 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from news.c:35: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ news.c:241:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 241 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from news.c:35: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ news.c: In function 'news_open': news.c:371:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 371 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:371:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 371 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_fast': news.c:457:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 457 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from news.c:34: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c:458:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 458 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from news.c:34: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c: In function 'news_flags': news.c:475:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 475 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from news.c:34: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c:475:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 475 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from news.c:34: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c: In function 'news_load_message': news.c:496:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 496 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from news.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ news.c:501:25: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 501 | ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:49, from news.c:35: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ news.c:505:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 505 | d.chunk = LOCAL->buf; | ^ news.c: In function 'news_valid': news.c:162:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_list': news.c:229:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phile.c: In function 'phile_open': phile.c:306:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 306 | LOCAL->env->date = cpystr (tmp); | ^ phile.c:328:45: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 328 | buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); | ^ | | | char * In file included from osdep.h:71, from phile.c:36: nl.h:33:42: note: expected 'unsigned char *' but argument is of type 'char *' 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ phile.c:318:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 318 | read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c: In function 'mh_isvalid': mh.c:191:44: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 191 | if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:191:49: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 191 | if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:192:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 192 | !compare_cstring (name,MHINBOX) || | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:192:30: note: in expansion of macro 'MHINBOX' 192 | !compare_cstring (name,MHINBOX) || | ^~~~~~~ In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:196:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 196 | ret = (synonly && compare_cstring (name,"INBOX")) ? | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:196:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 196 | ret = (synonly && compare_cstring (name,"INBOX")) ? | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_path': mh.c:257:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 257 | if (!compare_cstring (s,"Path:")) { | ^ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:257:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 257 | if (!compare_cstring (s,"Path:")) { | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_scan': mh.c:375:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 375 | if (!compare_cstring (test,MHINBOX)) | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:375:32: note: in expansion of macro 'MHINBOX' 375 | if (!compare_cstring (test,MHINBOX)) | ^~~~~~~ In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_lsub': mh.c:404:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 404 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:404:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 404 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c: In function 'mh_list_work': mh.c:436:28: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 436 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:436:33: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 436 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c:438:23: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 438 | if (dmatch (name,pat,'/') && | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:30:29: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:438:28: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 438 | if (dmatch (name,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:30:46: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c: In function 'mh_open': mh.c:588:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 588 | (!compare_cstring (stream->mailbox,MHINBOX) || | ~~~~~~^~~~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:588:40: note: in expansion of macro 'MHINBOX' 588 | (!compare_cstring (stream->mailbox,MHINBOX) || | ^~~~~~~ In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:593:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 593 | !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; | ~~~~~~^~~~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:593:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 593 | !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_fast': mh.c:639:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 639 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:640:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 640 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c: In function 'mh_load_message': mh.c:663:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 663 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:668:25: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 668 | ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:672:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 672 | d.chunk = LOCAL->buf; | ^ mh.c: In function 'mh_ping': mh.c:863:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 863 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:863:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 863 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:900:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 900 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:903:31: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 903 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:927:28: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign] 927 | mh_setdate (LOCAL->buf,elt); | ^ | | | unsigned char * mh.c:107:24: note: expected 'char *' but argument is of type 'unsigned char *' 107 | void mh_setdate (char *file,MESSAGECACHE *elt); | ~~~~~~^~~~ mh.c:935:26: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 935 | unlink (LOCAL->buf);/* flush this file */ | ^ | | | unsigned char * In file included from osdep.h:45, from mh.c:32: /usr/include/unistd.h:858:32: note: expected 'const char *' but argument is of type 'unsigned char *' 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mh.c: In function 'mh_expunge': mh.c:982:51: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 982 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:983:47: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 983 | mail_sequence (stream,sequence)) : LONGT) != 0L) { | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:988:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 988 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:989:26: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 989 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^ | | | unsigned char * In file included from osdep.h:45, from mh.c:32: /usr/include/unistd.h:858:32: note: expected 'const char *' but argument is of type 'unsigned char *' 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mh.c:990:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 990 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:992:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 992 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mh.c:31: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mh.c:1010:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1010 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:1011:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1011 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mh.c:31: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mh.c: In function 'mh_copy': mh.c:1042:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1042 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:1043:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1043 | mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:1046:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1046 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:1047:30: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 1047 | if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:1059:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1059 | d.chunk = LOCAL->buf; | ^ mh.c: In function 'mh_append': mh.c:1107:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1107 | if (!((!compare_cstring (mailbox,MHINBOX) || | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:1107:38: note: in expansion of macro 'MHINBOX' 1107 | if (!((!compare_cstring (mailbox,MHINBOX) || | ^~~~~~~ In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1108:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1108 | !compare_cstring (mailbox,"INBOX")) && | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1108:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1108 | !compare_cstring (mailbox,"INBOX")) && | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1129:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1129 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:1129:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1129 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:1147:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1147 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mh.c:31: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mh.c:1100:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] 1100 | long i,size,last,nfiles; | ^~~~ mh.c: In function 'mh_file': mh.c:1229:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:1229:30: note: in expansion of macro 'MHINBOX' 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~~~~ In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1229:60: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1229:65: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_path': mh.c:249:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 249 | read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_isvalid': mx.c:187:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 187 | else if (!compare_cstring (name,"INBOX")) errno = NIL; | ^~~~ | | | char * In file included from mx.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:187:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 187 | else if (!compare_cstring (name,"INBOX")) errno = NIL; | ^~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c: In function 'mx_scan_contents': mx.c:278:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 278 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:278:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 278 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_create': mx.c:349:7: warning: unused variable 'fd' [-Wunused-variable] 349 | int fd; | ^~ mx.c: In function 'mx_rename': mx.c:440:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 440 | if (compare_cstring (old,"INBOX")) { | ^~~ | | | char * In file included from mx.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:440:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 440 | if (compare_cstring (old,"INBOX")) { | ^~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:463:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 463 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:463:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 463 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_open': mx.c:519:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 519 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:519:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 519 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:525:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 525 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mx.c: In function 'mx_fast': mx.c:574:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 574 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:575:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 575 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c: In function 'mx_fast_work': mx.c:592:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 592 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:594:40: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 594 | if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) { | ^ | | | unsigned char * In file included from mx.c:37: /usr/include/sys/stat.h:205:41: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 205 | extern int stat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mx.c: In function 'mx_header': mx.c:634:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 634 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); | ^ mx.c:649:48: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] 649 | cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); | ^ | | | unsigned char * In file included from mx.c:39: misc.h:85:36: note: expected 'char *' but argument is of type 'unsigned char *' 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ mx.c:650:51: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] 650 | cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); | ^ | | | unsigned char * In file included from mx.c:39: misc.h:85:36: note: expected 'char *' but argument is of type 'unsigned char *' 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ mx.c: In function 'mx_ping': mx.c:732:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 732 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:732:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 732 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c:768:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 768 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:771:31: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 771 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:49, from mx.c:35: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mx.c:795:28: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign] 795 | mx_setdate (LOCAL->buf,elt); | ^ | | | unsigned char * mx.c:106:24: note: expected 'char *' but argument is of type 'unsigned char *' 106 | void mx_setdate (char *file,MESSAGECACHE *elt); | ~~~~~~^~~~ mx.c:802:26: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 802 | unlink (LOCAL->buf);/* flush this file */ | ^ | | | unsigned char * In file included from osdep.h:45, from mx.c:35: /usr/include/unistd.h:858:32: note: expected 'const char *' but argument is of type 'unsigned char *' 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mx.c: In function 'mx_expunge': mx.c:849:52: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 849 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:850:48: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 850 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:856:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 856 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:857:26: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 857 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^ | | | unsigned char * In file included from osdep.h:45, from mx.c:35: /usr/include/unistd.h:858:32: note: expected 'const char *' but argument is of type 'unsigned char *' 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mx.c:858:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 858 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:860:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 860 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mx.c:34: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mx.c:876:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 876 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:877:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 877 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mx.c:34: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mx.c: In function 'mx_copy': mx.c:914:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 914 | sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:915:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 915 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mx.c:34: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mx.c:922:63: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 922 | if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:923:38: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 923 | mail_sequence (stream,sequence)))); | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:945:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 945 | d.chunk = LOCAL->buf; | ^ mx.c:905:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable] 905 | unsigned long i,j,uid,uidv; | ^~~ mx.c: In function 'mx_append': mx.c:1004:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1004 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:1004:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1004 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:1039:54: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1039 | else if (date && !(ret = mail_parse_date (&elt,date))) { | ^~~~ | | | char * In file included from mx.c:34: mail.h:1794:56: note: expected 'unsigned char *' but argument is of type 'char *' 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mx.c: In function 'mx_header': mx.c:637:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 637 | read (fd,LOCAL->buf,elt->rfc822_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_lockindex': mx.c:1178:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1178 | read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_unlockindex': mx.c:1270:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1270 | ftruncate (LOCAL->fd,size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_scan_contents': mix.c:323:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 323 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) | ^~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:323:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 323 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_rename': mix.c:528:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 528 | if (compare_cstring (old,"INBOX")) { | ^~~ | | | char * In file included from mix.c:35: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:528:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 528 | if (compare_cstring (old,"INBOX")) { | ^~~~~~~ | | | char * In file included from mix.c:35: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:555:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 555 | for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); | ^~~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_open': mix.c:607:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 607 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mix.c:35: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:607:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 607 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mix.c:35: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:609:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 609 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mix.c:612:17: warning: pointer targets in passing argument 1 of 'mix_dir' differ in signedness [-Wpointer-sign] 612 | mix_dir (LOCAL->buf,stream->mailbox); | ^ | | | unsigned char * mix.c:163:22: note: expected 'char *' but argument is of type 'unsigned char *' 163 | char *mix_dir (char *dst,char *name); | ~~~~~~^~~ mix.c:614:34: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 614 | stream->mailbox = cpystr (LOCAL->buf); | ^ | | | unsigned char * In file included from mix.c:35: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ mix.c:617:47: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 617 | ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), | ^ | | | unsigned char * mix.c:164:23: note: expected 'char *' but argument is of type 'unsigned char *' 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:620:47: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 620 | ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), | ^ | | | unsigned char * mix.c:164:23: note: expected 'char *' but argument is of type 'unsigned char *' 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:628:43: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 628 | LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX)); | ^ | | | unsigned char * mix.c:164:23: note: expected 'char *' but argument is of type 'unsigned char *' 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:629:44: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 629 | LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS)); | ^ | | | unsigned char * mix.c:164:23: note: expected 'char *' but argument is of type 'unsigned char *' 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:630:47: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 630 | LOCAL->sortcache = cpystr (mix_file (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:164:23: note: expected 'char *' but argument is of type 'unsigned char *' 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c: In function 'mix_header': mix.c:719:51: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 719 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:731:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 731 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1); | ^ mix.c:736:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 736 | !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && | ^ | | | unsigned char * In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mix.c:753:28: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 753 | if ((s = strpbrk (LOCAL->buf,"\015\012")) != NULL) *s = '\0'; | ^ | | | unsigned char * In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:323:35: note: expected 'const char *' but argument is of type 'unsigned char *' 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mix.c:710:7: warning: unused variable 'fd' [-Wunused-variable] 710 | int fd; | ^~ mix.c: In function 'mix_text': mix.c:782:51: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 782 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:806:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 806 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mix.c:773:17: warning: unused variable 'i' [-Wunused-variable] 773 | unsigned long i; | ^ mix.c: In function 'mix_flag': mix.c:831:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 831 | if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:832:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 832 | mail_sequence (stream,sequence)) && | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c: In function 'mix_ping': mix.c:974:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 974 | sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:975:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 975 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:928:15: warning: unused variable 'sfd' [-Wunused-variable] 928 | int mfd,ifd,sfd; | ^~~ mix.c:928:11: warning: unused variable 'ifd' [-Wunused-variable] 928 | int mfd,ifd,sfd; | ^~~ mix.c:928:7: warning: unused variable 'mfd' [-Wunused-variable] 928 | int mfd,ifd,sfd; | ^~~ mix.c: In function 'mix_expunge': mix.c:1034:36: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1034 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1861:59: note: expected 'unsigned char *' but argument is of type 'char *' 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1035:32: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1035 | mail_sequence (stream,sequence))) || stream->rdonly); | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1860:55: note: expected 'unsigned char *' but argument is of type 'char *' 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1053:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1053 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); | ^~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1053:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1053 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1086:27: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1086 | sprintf (LOCAL->buf,"Can't locate mix message file %.08lx", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1088:26: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1088 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1097:42: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 1097 | else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) && | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:1099:38: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] 1099 | truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { | ^ | | | unsigned char * In file included from osdep.h:45, from mix.c:31: /usr/include/unistd.h:1026:34: note: expected 'const char *' but argument is of type 'unsigned char *' 1026 | extern int truncate (const char *__file, __off_t __length) | ~~~~~~~~~~~~^~~~~~ mix.c:1099:62: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 1099 | truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { | ^ | | | unsigned char * In file included from osdep.h:45, from mix.c:31: /usr/include/unistd.h:858:32: note: expected 'const char *' but argument is of type 'unsigned char *' 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mix.c:1100:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1100 | sprintf (LOCAL->buf, | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1103:28: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1103 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1698:20: note: expected 'char *' but argument is of type 'unsigned char *' 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1136:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1136 | if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp); | ^ mix.c:1138:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1138 | sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); | ^ mix.c:1025:11: warning: unused variable 'sfd' [-Wunused-variable] 1025 | int ifd,sfd; | ^~~ mix.c:1025:7: warning: unused variable 'ifd' [-Wunused-variable] 1025 | int ifd,sfd; | ^~~ mix.c: In function 'mix_burp': mix.c:1228:23: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 1228 | mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno); | ^ |