=>> Building irc/ninja build started at Sat Apr 6 19:48:08 BST 2024 port directory: /usr/ports/irc/ninja package name: irc-ninja-1.5.8.1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 916 Mar 2 16:12 /usr/ports/irc/ninja/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 9440dea83a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 18 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/18/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IRCLIB="/usr/local/share/ninja" XDG_DATA_HOME=/wrkdirs/usr/ports/irc/ninja/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/irc/ninja/work XDG_CACHE_HOME=/wrkdirs/usr/ports/irc/ninja/work/.cache HOME=/wrkdirs/usr/ports/irc/ninja/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/irc/ninja/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/irc/ninja/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/irc/ninja/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/irc/ninja/work XDG_CACHE_HOME=/wrkdirs/usr/ports/irc/ninja/work/.cache HOME=/wrkdirs/usr/ports/irc/ninja/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/irc/ninja/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/irc/ninja/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ninja" EXAMPLESDIR="share/examples/ninja" DATADIR="share/ninja" WWWDIR="www/ninja" ETCDIR="etc/ninja" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ninja DOCSDIR=/usr/local/share/doc/ninja EXAMPLESDIR=/usr/local/share/examples/ninja WWWDIR=/usr/local/www/ninja ETCDIR=/usr/local/etc/ninja --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ninja port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Abandonware, last release around 2002 and upstream is gone. Consider irc/ircII or irc/irssi. It is scheduled to be removed on or after 2024-03-31. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> irc-ninja-1.5.8.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> irc-ninja-1.5.8.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of irc-ninja-1.5.8.1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ninja port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Abandonware, last release around 2002 and upstream is gone. Consider irc/ircII or irc/irssi. It is scheduled to be removed on or after 2024-03-31. ===> Fetching all distfiles required by irc-ninja-1.5.8.1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ninja port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Abandonware, last release around 2002 and upstream is gone. Consider irc/ircII or irc/irssi. It is scheduled to be removed on or after 2024-03-31. ===> Fetching all distfiles required by irc-ninja-1.5.8.1 for building => SHA256 Checksum OK for ninja-1.5.8.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ninja port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Abandonware, last release around 2002 and upstream is gone. Consider irc/ircII or irc/irssi. It is scheduled to be removed on or after 2024-03-31. ===> Fetching all distfiles required by irc-ninja-1.5.8.1 for building ===> Extracting for irc-ninja-1.5.8.1 => SHA256 Checksum OK for ninja-1.5.8.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for irc-ninja-1.5.8.1 ===> Applying FreeBSD patches for irc-ninja-1.5.8.1 from /usr/ports/irc/ninja/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for irc-ninja-1.5.8.1 configure: loading site script /usr/ports/Templates/config.site *** Auto-Configuring Ninja IRC v1.5.8.1 checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking how to run the C preprocessor... cpp checking for strerror in -lcposix... no *** object directory will be: /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1 checking for NeXT... no checking for AIX... no checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking whether cc needs -traditional... no checking for getpwnam in -lsun... no checking for qnx... no checking for solaris... no checking for SVR4... no checking for -I/usr/netinclude... no checking for hpux version... no checking for ultrix... no checking for sequent/ptx... no checking for sys/un.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/fcntl.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/wait.h... (cached) yes checking for sys/twg_config.h... no checking for sys/ptem.h... no checking for sys/uio.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for netdb.h... (cached) yes checking for limits.h... (cached) yes checking for stdarg.h... (cached) yes checking for process.h... no checking for termcap.h... yes checking for crypt.h... no checking for termios.h... yes checking for fchmod... (cached) yes checking for getcwd... (cached) yes checking for getpgid... (cached) yes checking for getsid... yes checking for memmove... (cached) yes checking for scandir... (cached) yes checking for setsid... (cached) yes checking for strerror... (cached) yes checking for strftime... (cached) yes checking for uname... (cached) yes checking for fputc... yes checking for fwrite... yes checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for strsep... (cached) yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking return type of signal handlers... void checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for ssize_t... (cached) yes checking for struct linger... yes checking for waitpid... (cached) yes checking for select... (cached) yes checking for tgetent in -ltermcap... yes checking for tputs in curses.h... no checking signal implementation... checking for sigaction... (cached) yes ...using posix signals checking for waitpid declaration... yes checking for errno declaration... yes checking for sys_errlist declaration... yes checking for a 32 bit integer... unsigned int checking for socket in -lsocket... no checking for socket in -linet... no checking for gethostname... (cached) yes checking for inet_addr in -ldgc... no checking for library containing gethostbyname... none required checking for non-blocking... posix generating a list of signal names... checking for unix mail directory... /var/mail checking for ElectricFence library... no checking paranoia status... none checking update checking... automatic checking for /dev/urandom... yes checking for default server... none checking for crypt in -lc... no checking for crypt in -lcrypt... (cached) yes checking whether to enable ipv6... yes checking ipv6 stack type... kame You do not have (need) inet6 library, using libc checking getaddrinfo bug... good checking for struct sockaddr's sa_len... yes checking for pax... pax checking for gzcat... gzcat configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating defs.h * * ok, done checking stuff out.. * any problems email error output to ninja@qoop.org. * * there are some configurable things that you may * touch in include/config.h * * after editing that, or if you want, right now is the * time to run "make" * =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for irc-ninja-1.5.8.1 cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:2288:13: warning: passing 'u_char[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmp, sizeof(tmp)-1, "Ninja IRC v%s", irc_version); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:2785:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&result, UP(crypt(key, salt))); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:25: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:2785:41: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&result, UP(crypt(key, salt))); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:39: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:3424:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(replace = strchr(search, delimiter))) ^~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:3424:18: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(replace = strchr(search, delimiter))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:3427:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(data = strchr(replace, delimiter))) ^~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:3427:15: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(data = strchr(replace, delimiter))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:3450:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((pointer = strstr(pointer, search))) ^~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:3450:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((pointer = strstr(pointer, search))) ^~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:3450:18: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((pointer = strstr(pointer, search))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:3463:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((pointer = strstr(pointer, search))) ^~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:3463:33: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((pointer = strstr(pointer, search))) ^~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/alias.c:3463:15: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((pointer = strstr(pointer, search))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/bans.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/bans.c:75:50: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stuff || !stuff->nick || !nick || strcmp(stuff->user, "") == 0 || ^~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/bans.c:101:50: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stuff || !stuff->nick || !nick || strcmp(stuff->user, "") == 0 || ^~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/bans.c:151:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(nuh, sizeof(nuh)-1, "%s!%s@%s", nick, user, host); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/bans.c:170:23: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, " ", sizeof(tmpbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/bans.c:225:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr2 = strrchr(hn, '@'); ^~ /usr/include/string.h:116:27: note: passing argument to parameter here char *strrchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/bans.c:225:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr2 = strrchr(hn, '@'); ^ ~~~~~~~~~~~~~~~~ 6 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/channels.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/channels.c:636:14: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpstr, sizeof(tmpstr)-1, "%lu", (unsigned long)time(NULL)); ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/channels.c:660:14: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpstr, sizeof(tmpstr)-1, "%lu", (unsigned long)time(NULL)); ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/channels.c:685:14: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpstr, sizeof(tmpstr)-1, "%lu", (unsigned long)time(NULL)); ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/channels.c:893:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((chan->server == server)) ~~~~~~~~~~~~~^~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/channels.c:893:20: note: remove extraneous parentheses around the comparison to silence this warning if ((chan->server == server)) ~ ^ ~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/channels.c:893:20: note: use '=' to turn this equality comparison into an assignment if ((chan->server == server)) ^~ = /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/channels.c:999:15: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ninja_scan("SCAN", chan->channel, NULL); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninjacmd.h:32:29: note: passing argument to parameter here void ninja_scan _((u_char *, u_char *, u_char *)); ^ 5 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ckey.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ckey.c:98:30: warning: passing 'char[15]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fullname = expand_twiddle(NINJA_CKEY_FILE); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:25:26: note: expanded from macro 'NINJA_CKEY_FILE' #define NINJA_CKEY_FILE NINJA_DIR "/ckeys" ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:19:20: note: expanded from macro 'NINJA_DIR' #define NINJA_DIR "~" NINJA_DIR_1 ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:46:36: note: passing argument to parameter here u_char *expand_twiddle _((u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ckey.c:99:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fdesc = fopen(fullname, "w"); ^~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ckey.c:131:30: warning: passing 'char[15]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fullname = expand_twiddle(NINJA_CKEY_FILE); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:25:26: note: expanded from macro 'NINJA_CKEY_FILE' #define NINJA_CKEY_FILE NINJA_DIR "/ckeys" ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:19:20: note: expanded from macro 'NINJA_DIR' #define NINJA_DIR "~" NINJA_DIR_1 ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:46:36: note: passing argument to parameter here u_char *expand_twiddle _((u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ckey.c:132:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fdesc = fopen(fullname, "r"); ^~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ckey.c:145:17: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (fgets(tmpinbuf, sizeof(tmpinbuf)-1, fdesc)) ^~~~~~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ 5 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/crypt.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:757:8: warning: address of array 'CTCP_Reply_Buffer' will always evaluate to 'true' [-Wpointer-bool-conversion] if (CTCP_Reply_Buffer && *CTCP_Reply_Buffer) ^~~~~~~~~~~~~~~~~ ~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1073:25: warning: passing 'char[20]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmpaway, ", insecure attempt."); ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1081:25: warning: passing 'char[23]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmpaway, ", incorrect arguments."); ^~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1089:13: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", %s is not your friend.", to); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1101:13: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", no access on %s.", channel); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1112:13: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", they're not on %s.", channel); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1123:13: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", already on %s.", channel); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1134:13: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", you're not opped on %s.", channel); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1145:13: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", you're not on %s.", channel); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1156:13: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", wrong password for %s.", fnick); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1221:25: warning: passing 'char[18]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmpaway, ", providing help."); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1245:23: warning: passing 'char[14]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmpaway, ", wrong usage"); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1261:11: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", %s has no password.", from); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1268:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpass = UP(crypt(pass, tmp->password)); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:25: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1268:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpass = UP(crypt(pass, tmp->password)); ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:39: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1283:11: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", added host *!%s@%s to user %s", foo, cluster(FromHost), tmp->nick); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1288:11: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpbuf1, sizeof(tmpbuf1)-1, "%s *!%s@%s", tmp->nick, foo, cluster(FromHost)); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1316:23: warning: passing 'char[15]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmpaway, ", wrong usage."); ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1324:23: warning: passing 'char[27]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmpaway, ", password is already set."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1329:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpass = UP(crypt(oldpass, tmp->password)); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:25: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1329:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpass = UP(crypt(oldpass, tmp->password)); ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:39: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1340:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpass = UP(crypt(password, make_salt(tmp->nick))); ^~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:25: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1340:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpass = UP(crypt(password, make_salt(tmp->nick))); ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:39: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1345:25: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmpaway, ", password has been "); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1347:27: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&tmpaway, "set."); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1349:27: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&tmpaway, "changed."); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1420:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpass = UP(crypt(pass, tmp->password)); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:25: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1420:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpass = UP(crypt(pass, tmp->password)); ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:39: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1475:25: warning: passing 'char[14]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmpaway, ", giving ops."); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1517:13: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", inviting to %s.", channel); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1563:13: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", showing channel ops on %s.", channel); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1610:13: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, ", removing ban(s) on %s.", channel); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1637:12: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmpbuf, "You are ", sizeof(tmpbuf)-1); ^~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1641:18: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, "(+", sizeof(tmpbuf)-1); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1642:18: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, CP(recreate_umode(tmp)), sizeof(tmpbuf)-1); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:54:17: note: expanded from macro 'CP' #define CP(s) ((char *)(s)) ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1643:18: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, ")", sizeof(tmpbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1651:23: warning: passing 'char[20]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, ", channels(+flags):", sizeof(tmpbuf) - 1); ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1654:18: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, " ", sizeof(tmpbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1658:23: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, "(+", sizeof(tmpbuf)-1); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1659:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, CP(recreate_cmode(chan)), sizeof(tmpbuf)-1); ^~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:54:17: note: expanded from macro 'CP' #define CP(s) ((char *)(s)) ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1660:23: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, ")", sizeof(tmpbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1670:23: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, ", hosts:", sizeof(tmpbuf) - 1); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1673:18: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf, " ", sizeof(tmpbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ctcp.c:1679:25: warning: passing 'char[16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmpaway, ", telling info."); ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ 44 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:343:69: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername((*Client)->read, (struct sockaddr *)&remaddr, &rl) != -1) ^~~ /usr/include/sys/socket.h:690:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:357:20: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(0, "msg =", (*Client)->user); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:361:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (*Client)->file = open((*Client)->description, O_WRONLY | O_TRUNC | O_CREAT, 0600); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:564:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockname(Client->read, (struct sockaddr *) &localaddr, &sla); ^~~~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:625:8: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc chat", ""); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:625:20: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc chat", ""); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:687:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockname(Client->read, (struct sockaddr *) &locaddr, &size); ^~~~~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:774:8: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc talk", "[@]"); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:774:20: warning: passing 'char[16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc talk", "[@]"); ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:861:8: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc summon", "[@]"); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:861:22: warning: passing 'char[16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc summon", "[@]"); ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:915:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockname(Client->file, (struct sockaddr *) &SockAddr, &dummy); ^~~~~~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:920:7: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &dummy); ^~~~~~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:963:22: warning: implicit conversion from 'unsigned short' to 'sa_family_t' (aka 'unsigned char') changes value from 512 to 0 [-Wconstant-conversion] sin->sin_family = htons(AF_INET); ~ ^~~~~~~~~~~~~~ /usr/include/netinet/in.h:120:18: note: expanded from macro 'htons' #define htons(x) __htons(x) ^~~~~~~~~~ /usr/include/sys/_endian.h:91:21: note: expanded from macro '__htons' #define __htons(x) (__bswap16(x)) ^~~~~~~~~~~~ /usr/include/sys/_endian.h:83:22: note: expanded from macro '__bswap16' #define __bswap16(x) __builtin_bswap16(x) ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:965:22: warning: implicit conversion from 'unsigned short' to 'sa_family_t' (aka 'unsigned char') changes value from 512 to 0 [-Wconstant-conversion] sin->sin_family = htons(AF_INET); ~ ^~~~~~~~~~~~~~ /usr/include/netinet/in.h:120:18: note: expanded from macro 'htons' #define htons(x) __htons(x) ^~~~~~~~~~ /usr/include/sys/_endian.h:91:21: note: expanded from macro '__htons' #define __htons(x) (__bswap16(x)) ^~~~~~~~~~~~ /usr/include/sys/_endian.h:83:22: note: expanded from macro '__bswap16' #define __bswap16(x) __builtin_bswap16(x) ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1125:8: warning: passing 'char[8]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc get", "<#>, or *, or *, or [ .. ]"); ^~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1125:19: warning: passing 'char[57]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc get", "<#>, or *, or *, or [ .. ]"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1277:11: warning: passing 'u_char[48]' (aka 'unsigned char[48]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(mfmt, type, description, ninja_size(Client->filesize), ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1281:19: warning: passing 'u_char[48]' (aka 'unsigned char[48]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_awaylog(mfmt, type, description, ninja_size(Client->filesize), ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:51:37: note: passing argument to parameter here extern void add_to_awaylog _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1295:14: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] getcwd(dbuf, sizeof(dbuf)-1); ^~~~ /usr/include/unistd.h:340:20: note: passing argument to parameter here char *getcwd(char *, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1303:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] statret = stat(ffn, &sb); ^~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1311:19: warning: passing 'u_char[58]' (aka 'unsigned char[58]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(fmt, description, user, friend->nick); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1313:20: warning: passing 'u_char[58]' (aka 'unsigned char[58]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_awaylog(fmt, description, user, friend->nick); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:51:37: note: passing argument to parameter here extern void add_to_awaylog _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1319:19: warning: passing 'u_char[40]' (aka 'unsigned char[40]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(fmt, description, user); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1321:20: warning: passing 'u_char[40]' (aka 'unsigned char[40]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_awaylog(fmt, description, user); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:51:37: note: passing argument to parameter here extern void add_to_awaylog _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1335:17: warning: passing 'u_char[77]' (aka 'unsigned char[77]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(fmt, description, ninja_size(sb.st_size), user, friend->nick); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1337:25: warning: passing 'u_char[77]' (aka 'unsigned char[77]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_awaylog(fmt, description, ninja_size(sb.st_size), user, friend->nick); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:51:37: note: passing argument to parameter here extern void add_to_awaylog _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1343:17: warning: passing 'u_char[52]' (aka 'unsigned char[52]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(fmt, description, ninja_size(sb.st_size)); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1345:25: warning: passing 'u_char[52]' (aka 'unsigned char[52]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_awaylog(fmt, description, ninja_size(sb.st_size)); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:51:37: note: passing argument to parameter here extern void add_to_awaylog _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1356:19: warning: passing 'u_char[51]' (aka 'unsigned char[51]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(fmt, description); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1358:20: warning: passing 'u_char[51]' (aka 'unsigned char[51]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_awaylog(fmt, description); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:51:37: note: passing argument to parameter here extern void add_to_awaylog _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1370:22: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(1, "DCC GET ", gfargs); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1377:11: warning: passing 'u_char[45]' (aka 'unsigned char[45]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(mfmt, type, description, ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1380:19: warning: passing 'u_char[45]' (aka 'unsigned char[45]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_awaylog(mfmt, type, description, ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:51:37: note: passing argument to parameter here extern void add_to_awaylog _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1394:14: warning: passing 'u_char[60]' (aka 'unsigned char[60]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(fmt, user, friend->nick); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1396:22: warning: passing 'u_char[60]' (aka 'unsigned char[60]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_awaylog(fmt, user, friend->nick); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:51:37: note: passing argument to parameter here extern void add_to_awaylog _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1402:14: warning: passing 'u_char[42]' (aka 'unsigned char[42]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(fmt, user); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1404:22: warning: passing 'u_char[42]' (aka 'unsigned char[42]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_awaylog(fmt, user); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:51:37: note: passing argument to parameter here extern void add_to_awaylog _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1409:19: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(1, "DCC CHAT ", user); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1435:21: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &remaddr, &sra); ^~~~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1445:17: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(0, "msg =", Client->user); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1497:22: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(0, "msg =", Client->user); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1525:10: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &sra); ^~~~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1632:21: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &remaddr, &sra); ^~~~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1692:17: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(0, "msg @", Client->user); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1716:41: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) &remaddr, &sra); ^~~~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1737:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((Client->file = open(Client->description, O_RDONLY)) == -1) ^~~~~~~~~~~~~~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1763:63: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_error("DCC: SEND: of %s to %s lost: %s", strip_path(Client->description), Client->user, strerror(errno)); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1825:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strip_path(Client->description), Client->user, ninja_etime(xtime), lame_ultrix, rate_unit); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1908:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strip_path(Client->description), Client->user, ninja_etime(xtime), lame_ultrix, rate_unit); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1991:22: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(0, "msg =", Client->user); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:1994:21: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(0, "msg @", Client->user); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2011:18: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(line, "\n", (size_t)((line == tmp) ? BIG_BUFFER_SIZE : CRYPT_BUFFER_SIZE)); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2051:8: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc tmsg", " "); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2051:20: warning: passing 'char[17]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc tmsg", " "); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2074:11: warning: passing 'char[8]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc raw", " "); ^~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2074:22: warning: passing 'char[24]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc raw", " "); ^~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2129:13: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(file_fmt, sizeof(file_fmt)-1, "%%-2.2d %%-10.10s %%9.9s:%%-%d.%ds Up %%s, %%s%%%% at %%s %%sB/s", arglen, arglen); ^~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2133:13: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ofmt, sizeof(ofmt)-1, "%%-2.2d %%-10.10s %%9.9s:%%-%d.%ds Up %%s, %%s sent, %%s read.", arglen, arglen); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2137:13: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(wait_fmt, sizeof(wait_fmt)-1, "%%-2.2d %%-10.10s %%9.9s:%%-%d.%ds %%s", arglen, arglen); ^~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2148:119: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(outstr, sizeof(outstr)-1, wait_fmt, count, dcc_types[Client->flags & DCC_TYPES], Client->user, strip_path(Client->description), "Waiting for connection..."); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2148:39: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(outstr, sizeof(outstr)-1, wait_fmt, count, dcc_types[Client->flags & DCC_TYPES], Client->user, strip_path(Client->description), "Waiting for connection..."); ^~~~~~~~ /usr/include/stdio.h:298:65: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2150:119: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(outstr, sizeof(outstr)-1, wait_fmt, count, dcc_types[Client->flags & DCC_TYPES], Client->user, strip_path(Client->description), "Offered..."); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2150:39: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(outstr, sizeof(outstr)-1, wait_fmt, count, dcc_types[Client->flags & DCC_TYPES], Client->user, strip_path(Client->description), "Offered..."); ^~~~~~~~ /usr/include/stdio.h:298:65: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2153:119: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(outstr, sizeof(outstr)-1, wait_fmt, count, dcc_types[Client->flags & DCC_TYPES], Client->user, strip_path(Client->description), "Connecting..."); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2153:39: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(outstr, sizeof(outstr)-1, wait_fmt, count, dcc_types[Client->flags & DCC_TYPES], Client->user, strip_path(Client->description), "Connecting..."); ^~~~~~~~ /usr/include/stdio.h:298:65: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2195:120: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(outstr, sizeof(outstr)-1, file_fmt, count, dcc_types[Client->flags & DCC_TYPES], Client->user, strip_path(Client->description), ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2195:40: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(outstr, sizeof(outstr)-1, file_fmt, count, dcc_types[Client->flags & DCC_TYPES], Client->user, strip_path(Client->description), ^~~~~~~~ /usr/include/stdio.h:298:65: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2204:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strip_path(Client->description), ninja_etime(eltime), ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2203:7: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ofmt, count, dcc_types[Client->flags & DCC_TYPES], Client->user, ^~~~ /usr/include/stdio.h:298:65: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2236:8: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc close", "*, <#>, or []"); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2236:21: warning: passing 'char[38]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc close", "*, <#>, or []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2253:8: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc close", "*, <#>, or []"); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2253:21: warning: passing 'char[38]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc close", "*, <#>, or []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2309:8: warning: passing 'char[17]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc rename -chat", " "); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2309:28: warning: passing 'char[18]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc rename -chat", " "); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2348:8: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc rename", " [] "); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2348:22: warning: passing 'char[41]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc rename", " [] "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2436:11: warning: passing 'char[33]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] irc_exit("I'm little a teapot! *holy shit*"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc.h:374:33: note: passing argument to parameter here RETSIGTYPE irc_exit _((u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2479:8: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc resume", " "); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2479:22: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc resume", " "); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2497:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stat(Client->description, &sb) == -1) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2502:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "%s %s", user, filename ? filename : empty_string); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2518:45: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] send_ctcp(ctcp_type[in_ctcp_flag], user, "DCC", "RESUME %s %hd %d", ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ctcp.h:60:51: note: passing argument to parameter here void send_ctcp _((u_char *, u_char *, u_char *, char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2537:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Client->bytes_sent = atoi(offset); ^~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2538:33: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Client->resume_offset = atoi(offset); ^~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2543:45: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] send_ctcp(ctcp_type[in_ctcp_flag], user, "DCC", "ACCEPT %s %s %s", filename, port, offset); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ctcp.h:60:51: note: passing argument to parameter here void send_ctcp _((u_char *, u_char *, u_char *, char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2581:33: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Client->resume_offset = atoi(offset); ^~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2582:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(Client->file = open(fullname ? fullname : Client->description, O_WRONLY | O_APPEND, 0644))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2640:8: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc send", " [ .. ]"); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2640:20: warning: passing 'char[58]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("dcc send", " [ .. ]"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2650:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(ptr) < 1) ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2653:13: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(path, ptr, sizeof(path)-1); ^~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2653:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(path, ptr, sizeof(path)-1); ^~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2658:15: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(path, fullname, sizeof(path)); ^~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2658:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(path, fullname, sizeof(path)); ^~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2663:18: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (getcwd(path, sizeof(path)-1) == NULL) ^~~~ /usr/include/unistd.h:340:20: note: passing argument to parameter here char *getcwd(char *, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2669:21: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(path, "/", sizeof(path)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2673:25: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((filename = rindex(path, '/')) != NULL) ^~~~ /usr/include/string.h:116:27: note: passing argument to parameter here char *strrchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2673:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((filename = rindex(path, '/')) != NULL) ^ ~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2676:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stat_file(fullname, &stbuf) != -1) /* we found it already */ ^~~~~~~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2688:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(buf2, strip_path(fullname), sizeof(buf2) - 1); ^~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2688:19: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(buf2, strip_path(fullname), sizeof(buf2) - 1); ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2701:19: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] n = scandir(path, &dirfiles, ^~~~ /usr/include/dirent.h:126:26: note: passing argument to parameter here int scandir(const char *, struct dirent ***, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2703:5: warning: incompatible function pointer types passing 'int (*)(const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-function-pointer-types] (int (*) _((const void *, const void *)))compar); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dirent.h:127:44: note: passing argument to parameter here int (*)(const struct dirent *), int (*)(const struct dirent **, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2728:17: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(buf, sizeof(buf), "%s/%s", path, dirfiles[n]->d_name); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2732:16: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat_file(buf, &stbuf); ^~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2735:22: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(buf2, " ", sizeof(buf2) - 1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2736:20: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(buf2, dirfiles[n]->d_name, sizeof(buf2) - 1); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2777:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (0 != access(filename, R_OK)) ^~~~~~~~ /usr/include/unistd.h:324:25: note: passing argument to parameter here int access(const char *, int); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2779:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_error(errstr1, strip_path(filename), strerror(errno)); ^~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2779:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_error(errstr1, strip_path(filename), strerror(errno)); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:54:29: note: passing argument to parameter here void put_error _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2782:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat_file(filename, &stat_buf); ^~~~~~~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2785:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_error(errstr1, strip_path(filename), "no directories allowed."); ^~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2785:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_error(errstr1, strip_path(filename), "no directories allowed."); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:54:29: note: passing argument to parameter here void put_error _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2791:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((ptr = my_strsep(&ptr2, ","))) ^ ~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2796:37: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_error(errstr2, strip_path(filename), ptr, "you are already sending it."); ^~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2796:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_error(errstr2, strip_path(filename), ptr, "you are already sending it."); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:54:29: note: passing argument to parameter here void put_error _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2840:10: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *type = dcc_types[Client->flags & DCC_TYPES]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2846:93: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_error("DCC: %s session (%s) with %s is already marked for deletion.", type, strip_path(Client->description), ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dcc.c:2851:70: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info("DCC: %s session (%s) with %s closed.", type, strip_path(Client->description), Client->user); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ 121 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/debug.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dma.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:626:12: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ctcp", " []"); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:626:20: warning: passing 'char[19]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ctcp", " []"); ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:639:12: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("hook",""); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:639:19: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("hook",""); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:744:22: warning: passing 'char[20]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "*, **, or "); ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:752:17: warning: passing 'char[20]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "*, **, or "); ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:890:12: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("redirect", " "); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:890:24: warning: passing 'char[35]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("redirect", " "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:906:14: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("sleep", ""); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:906:23: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("sleep", ""); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:942:13: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("echo", "[-l ] [-w ] "); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:942:21: warning: passing 'char[45]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("echo", "[-l ] [-w ] "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1335:37: warning: passing 'char[8]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] send_ctcp(ctcp_type[0], host, "VERSION", NULL); ^~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ctcp.h:60:51: note: passing argument to parameter here void send_ctcp _((u_char *, u_char *, u_char *, char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1413:9: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ison", " .. "); /* args = get_server_nickname(from_server); */ ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1413:17: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ison", " .. "); /* args = get_server_nickname(from_server); */ ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1491:14: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("userhost", " [-cmd ]"); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1491:26: warning: passing 'char[25]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("userhost", " [-cmd ]"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1568:22: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[] []"); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1590:23: warning: passing 'char[29]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-host []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1610:23: warning: passing 'char[34]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-server []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1627:23: warning: passing 'char[34]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-name []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1643:23: warning: passing 'char[34]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-realname []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1659:23: warning: passing 'char[35]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-nick []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1675:23: warning: passing 'char[30]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-file []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1683:22: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[] []"); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1712:20: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[] []"); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1774:37: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DCC_list *Client = dcc_searchlist("chat", NULL, DCC_CHAT, 0, NULL, 0); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dcc.h:72:39: note: passing argument to parameter here DCC_list * dcc_searchlist _((u_char *, u_char *, int, int, u_char *, off_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1925:15: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(Reason, sizeof(Reason)-1, "Ninja IRC v%s(#%s) exiting after %s of use", ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:1998:35: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] my_strcat(buffer, strip_ansi(msg)); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:61:42: note: expanded from macro 'my_strcat' #define my_strcat(d,s) strcat(CP(d), CP(s)) ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:54:27: note: expanded from macro 'CP' #define CP(s) ((char *)(s)) ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:64:34: note: passing argument to parameter here extern char *strip_ansi _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2001:12: warning: passing 'char[8]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] e_privmsg("PRIVMSG", buffer, NULL); ^~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:180:34: note: passing argument to parameter here static void e_privmsg _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2042:21: warning: passing 'char[25]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, " "); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2083:15: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("clear", "[-ALL] [-UNHOLD]"); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2083:24: warning: passing 'char[17]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("clear", "[-ALL] [-UNHOLD]"); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2131:17: warning: passing 'char[19]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, " []"); ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2181:11: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("topic", "[] [- or ]"); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2181:20: warning: passing 'char[31]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("topic", "[] [- or ]"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2571:22: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(0, "msg ", nick); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2579:22: warning: passing 'char[8]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(0, "notice ", nick); ^~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2629:37: warning: passing 'char[13]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] addredirect(REDIRECT_SENT_MSG, "-> %c%s%c %s", the_thing, nick_list, the_thing, line); ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninredir.h:7:35: note: passing argument to parameter here void addredirect _((int, u_char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:2631:40: warning: passing 'char[13]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] addredirect(REDIRECT_SENT_NOTICE, "-> %c%s%c %s", the_thing, nick_list, the_thing, line); ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninredir.h:7:35: note: passing argument to parameter here void addredirect _((int, u_char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:3370:14: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("load", "[-args] "); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:3370:22: warning: passing 'char[15]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("load", "[-args] "); ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:3901:12: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("describe", " "); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:3901:24: warning: passing 'char[18]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("describe", " "); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:3962:12: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("me", ""); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/edit.c:3962:18: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("me", ""); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ 46 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:41:11: warning: passing 'u_char[2048]' (aka 'unsigned char[2048]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf1, sizeof(tbuf1)-1, "%-38.38s", e->host); ^~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:45:16: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf2, sizeof(tbuf2)-1, " %s(%d, %s, %s)", chan->channel, chan->level, ^~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:75:16: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(reason, sizeof(reason)-1, "ENEMY(%s): %s", ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:102:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] infile = fopen(ptr, "r"); ^~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:109:17: warning: passing 'u_char[2049]' (aka 'unsigned char[2049]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (fgets(tmpbuf1, BIG_BUFFER_SIZE / 2, infile)) ^~~~~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:111:17: warning: passing 'u_char[2049]' (aka 'unsigned char[2049]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmpbuf1[strlen(tmpbuf1) - 1] = '\0'; ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:121:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((ptr = my_strsep(&lineptr, ":"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:129:69: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((*ptr == '&' || *ptr == '#' || *ptr == '*') && match("*+*", ptr)) ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc.h:370:23: note: passing argument to parameter here int match _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:132:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] themode = strrchr(ptr, '+'); ^~~ /usr/include/string.h:116:27: note: passing argument to parameter here char *strrchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:132:13: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] themode = strrchr(ptr, '+'); ^ ~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:133:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] shdateptr = strchr(ptr, ' '); ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:133:15: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] shdateptr = strchr(ptr, ' '); ^ ~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:134:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reason = strrchr(ptr, ','); ^~~ /usr/include/string.h:116:27: note: passing argument to parameter here char *strrchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:134:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reason = strrchr(ptr, ','); ^ ~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:136:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] thEChan[strlen(ptr) - strlen(themode)] = '\0'; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:136:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] thEChan[strlen(ptr) - strlen(themode)] = '\0'; ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:147:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] newchan->level = atoi(themode); ^~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:150:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] newchan->date = atol(shdateptr); ^~~~~~~~~ /usr/include/stdlib.h:95:24: note: passing argument to parameter here long atol(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:176:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] outfile = fopen(ptr, "w"); ^~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:186:11: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "%s%s", e->host, e->channels ? ":" : ""); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:190:16: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb2, sizeof(tb2)-1, "%s+%d %lu,%s%s", chan->channel, chan->level, ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:245:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (command && *command && !strcmp(command, "REMSHITCHAN")) ^~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:253:20: warning: passing 'char[40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, " []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:255:20: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, " "); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:258:28: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (my_stricmp(channel, "*")) ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:72:38: note: passing argument to parameter here int my_stricmp _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:284:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lev = atoi(level); ^~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:294:32: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&new->reason, "OUT"); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:309:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (command && *command && !strcmp(command, "REMSHIT")) ^~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:321:20: warning: passing 'char[40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, " []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:324:18: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!match("*!*@*", hostmask)) ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc.h:370:23: note: passing argument to parameter here int match _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:333:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lev = atoi(level); ^~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:337:31: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (my_stricmp(channel, "*")) ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:72:38: note: passing argument to parameter here int my_stricmp _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:351:12: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpcallbuf, sizeof(tmpcallbuf), "%s %s %d %s", hostmask, ^~~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:354:12: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpcallbuf, sizeof(tmpcallbuf), "%s %s %d", hostmask, channel, ^~~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:356:22: warning: passing 'char[12]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_enemy_chan("ADDSHITCHAN", tmpcallbuf, NULL); ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:236:24: note: passing argument to parameter 'command' here add_enemy_chan(u_char *command, u_char *args, u_char *subargs) ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:380:22: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, ""); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/enemies.c:382:22: warning: passing 'char[40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, " []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ 37 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/exec.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/flood.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:109:8: warning: passing 'char[7]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("friend", " []"); ^~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:109:18: warning: passing 'char[19]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("friend", " []"); ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:161:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&f->password, UP(crypt(passwd, make_salt(f->nick)))); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:25: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:161:46: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&f->password, UP(crypt(passwd, make_salt(f->nick)))); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:39: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:166:16: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "%s%s", ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:185:20: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb1, " I will: ", sizeof(tb1)-1); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:189:18: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb1, "auto-get DCC requests", sizeof(tb1)-1); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:194:20: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb1, ", ", sizeof(tb1)-1); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:196:18: warning: passing 'char[13]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb1, "allow floods", sizeof(tb1)-1); ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:201:20: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb1, ", ", sizeof(tb1)-1); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:203:18: warning: passing 'char[25]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb1, "allow secure NDCC access", sizeof(tb1)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:205:20: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb1, " from you.", sizeof(tb1)-1); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:210:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "Use \"/ctcp %s help\" for more information.", get_server_nickname(from_server)); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:259:13: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "%s%s", *flags != '+' ? "+" : "", flags); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:306:13: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!match("*!*@*", newhost)) ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc.h:370:23: note: passing argument to parameter here int match _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:349:8: warning: passing 'char[14]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("friend cflags", " +/-"); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:349:25: warning: passing 'char[30]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("friend cflags", " +/-"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:385:8: warning: passing 'char[13]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("friend flags", " +/-"); ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:385:24: warning: passing 'char[27]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("friend flags", " +/-"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:422:13: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(fmt, "Nick", "Pass", " ", "Flags", "Channels"); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:431:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(UP(tb2), sizeof(tb2)-1, "%s(%s%s)", ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:17: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^~~~~~~~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:441:11: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info(fmt, tmp->nick, tmp->password ? "" : "", ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:53:28: note: passing argument to parameter here void put_info _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:472:8: warning: passing 'char[12]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("friend pass", "[-] []"); ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:472:23: warning: passing 'char[25]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("friend pass", "[-] []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:484:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmp->password, UP(crypt(password, make_salt(tmp->nick)))); ^~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:25: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:484:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmp->password, UP(crypt(password, make_salt(tmp->nick)))); ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:53:29: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^ /usr/include/unistd.h:453:39: note: passing argument to parameter here char *crypt(const char *, const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:616:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int ti = atoi(newhost); ^~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:713:8: warning: passing 'char[13]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("friend whois", ""); ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:713:24: warning: passing 'char[16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("friend whois", ""); ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:729:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb2, sizeof(tb2)-1, " %s%s%s%s", chan->channel, chan->modes ? "(+" : "", ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:742:17: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tobuf, " ", sizeof(tobuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:781:27: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && my_stricmp(cmd, "friend add") != 0) ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:72:38: note: passing argument to parameter here int my_stricmp _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:916:19: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (mi >= strlen(mstr)) ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1020:18: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb1, " +o ", sizeof(tb1)-1); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1048:21: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb1, " -b ", sizeof(tb1)-1); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1139:13: warning: passing 'char[512]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb, " ", sizeof(tb)-1); ^~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:26: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1139:17: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb, " ", sizeof(tb)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1140:18: warning: passing 'char[512]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb, b->ban, sizeof(tb)-1); ^~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:26: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1167:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!my_stricmp(nick, get_server_nickname(from_server))) ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:72:28: note: passing argument to parameter here int my_stricmp _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1169:34: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (((tmp = get_friend_by_nuh(nick, user, host)) != NULL) && tmp->modes & FL_UMODE_NO_FLOOD) ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/friends.h:64:39: note: passing argument to parameter here Friend *get_friend_by_nuh _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1169:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (((tmp = get_friend_by_nuh(nick, user, host)) != NULL) && tmp->modes & FL_UMODE_NO_FLOOD) ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/friends.h:64:49: note: passing argument to parameter here Friend *get_friend_by_nuh _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1169:46: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (((tmp = get_friend_by_nuh(nick, user, host)) != NULL) && tmp->modes & FL_UMODE_NO_FLOOD) ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/friends.h:64:59: note: passing argument to parameter here Friend *get_friend_by_nuh _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1181:17: warning: passing 'char[1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ignore(NULL, tb1, NULL); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ignore.h:44:35: note: passing argument to parameter here void ignore _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1187:13: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] timercmd("TIMER", tb1, NULL); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:84:33: note: passing argument to parameter here extern void timercmd _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1187:22: warning: passing 'char[1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] timercmd("TIMER", tb1, NULL); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:84:43: note: passing argument to parameter here extern void timercmd _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1203:18: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char[65]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const u_char *saltchars = "./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1204:25: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] long numscs = strlen(saltchars); ^~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1237:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] infile = fopen(ptr, "r"); ^~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1248:17: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (fgets(linebuf, sizeof(linebuf)-1, infile)) ^~~~~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1258:20: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ptr = strchr(linebuf, '\r'))) ^~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1258:11: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ptr = strchr(linebuf, '\r'))) ^ ~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1260:20: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ptr = strchr(linebuf, '\n'))) ^~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1260:11: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ptr = strchr(linebuf, '\n'))) ^ ~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1283:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((ptr = my_strsep(&kraig, ":"))) ^ ~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1321:18: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && match("*!*@*", ptr)) ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc.h:370:23: note: passing argument to parameter here int match _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1346:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tm = strrchr(ptr, '+'); ^~~ /usr/include/string.h:116:27: note: passing argument to parameter here char *strrchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1346:13: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tm = strrchr(ptr, '+'); ^ ~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1350:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *(strrchr(tc, '+')) = '\0'; ^~ /usr/include/string.h:116:27: note: passing argument to parameter here char *strrchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1418:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] outfile = fopen(ptr, "w"); ^~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1427:11: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "%s:%s:+%s%s", ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1436:16: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb2, sizeof(tb2)-1, "%s%s", hosts->host, friend->channels ? ":" : ""); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1442:16: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb2, sizeof(tb2)-1, "%s+%s%s", channels->channel, recreate_cmode(channels), channels->next ? ":" : ""); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1479:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(fchan->channel, "*")) ^~~~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/friends.c:1586:13: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "%s!%s@%s", ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ 64 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/funny.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/grep.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/grep.c:40:8: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("grep", "[-] ... "); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/grep.c:40:16: warning: passing 'char[33]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("grep", "[-] ... "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/grep.c:67:13: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("grep", "[-] .. "); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/grep.c:67:21: warning: passing 'char[33]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("grep", "[-] .. "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/grep.c:120:12: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmpbuf, line, sizeof(tmpbuf)-1); ^~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/grep.c:120:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmpbuf, line, sizeof(tmpbuf)-1); ^~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/grep.c:123:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((ptr = my_strsep(&ptr2, " "))) ^ ~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/grep.c:127:16: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmp2buf, sizeof(tmp2buf)-1, "*%s*", ptr); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ 8 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_HELP_PATH=\"/usr/local/share/ninja/help\" -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/help.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/help.c:658:11: warning: incompatible function pointer types passing 'int (*)(const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-function-pointer-types] (int (*) _((const void *, const void *))) compar); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dirent.h:127:44: note: passing argument to parameter here int (*)(const struct dirent *), int (*)(const struct dirent **, ^ 1 warning generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/history.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/hold.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/hook.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/hosts.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/hosts.c:36:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ipaddr = inet_addr(host); ^~~~ /usr/include/arpa/inet.h:147:34: note: passing argument to parameter here in_addr_t inet_addr(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/hosts.c:42:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] he = gethostbyname(host); ^~~~ /usr/include/netdb.h:236:43: note: passing argument to parameter here struct hostent *gethostbyname(const char *); ^ 2 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/how_many.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/if.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ignore.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/input.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/input.c:168:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&ptr, tmp); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/input.c:176:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&ptr, tmp); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ 2 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DIRCLIB=\"/usr/local/share/ninja/\" -DIRCPATH=\"~/.ninja:~/.irc:/usr/local/share/ninja/script:.\" -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/irc.c In file included from /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/irc.c:97: /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:22:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;30;47m[40m[47mÛ²Û²[0m [1;30m[47mÛ²[0m [1;30;47m[40m[47mÛ² [0m [1;30;47m[40m[47mÛ²[0m [1;30m[47mÛ²[0m [1;30;47m[40m[47mÛ²[0m [1;47m[0m[1;30;47m[40mÛ²[47m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:23:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;30;47mÛ²[40m
[47mÛ²[40m
[47m [0m[1;30;47m[40m[47mÛ² [40m
[47m[40m[47mÛ²[40m
[47mÛ²[40m
[0m [1;30;47mÛ²[37m[30;40m
[37m[47m [30m[40m[47mÛ²[40m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:24:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;30;47mÛ±[40m
[47mÛ±[0m[1;30m
[47m Û² [40m
[47m[40m[47m[40m
[47mÛ²[0m[1;30m
[0m [1;30;47m[0m[1;47m[30;40m
[47mÛ²[40m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:25:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;30;47m[0m[1;30;47m[0m[1;30;47m[40m
[47mÛ²[0m[1;47m[30;40m
[0m[1;30;47m[0m[1;30m [47mÛ±[0m[1;30;47m[40m
[47m[0m[1;47m[30;40m
[0m [1;30;47m[0m[1;47m[30;40m
[0m [1;30;47m [37m[30;40m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:26:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;30;47m[0m[1;47m[0m[1;47m[0m[1;30;47m[40m
[47m[0m[1;47m[30;40m
[37;47m[0m[1;30;47m[0m[1;47m[30;40m
[0m[1;30;47m[0m[1;47m[0m[1;30;47m[40m
[47m[0m[1;47m[30;40m
[0m [1;47m [30m[0m[1;47m[40m[30m
[37;47m [30m [0m[1;30;47m [37m[30;40m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:27:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;47m [30m[37m[0m[1;30;47m[37m[30;40m
[37;47m[0m[1;30;47m[0m[1;47m[30;40m
[37;47m[0m[1;30;47m[0m[1;47m[0m[1;30;47m[0m[1;47m[30;40m
[0m [1;47m[0m[1;47m[40m[30m
[37;47m [0m[1;30;47m [37m[30;40m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:28:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;47m[0m[1;47m[30m[0m[1;30;47m[37m[40m[30m
[37;47m[0m[1;47m[30;40m
[37;47m[0m[1;30;47m[37m[0m[1;47m[40m[30m
[37;47m[0m[1;47m[0m [1;47m[40m[30;47m
[37;40m[47m[30;40m
[37;47m [40m[30m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:29:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;47m[40m[30m
[37m[47m [40m[30m
[37m[47m[30;40m
[37;47m[0m[1;30m
[37;47mÛ²[40m[30;47m
[37;40m[47m[40m[30m
[37m[47m[40m[30;47m
[37;40m[47m[30;40m
[37;47m[40m[30m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:30:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1m[47m[40m[30m
[37m[47m[40m[30m
[37m[47m[40m[30m
[37m[47m[0m[1;30m
[37m[47m[30m
[37;40m[47m[40m[30m
[37m[47m[40m[30;47m
[37;40m[47m[40m[30m
[37m[47m[40m[30m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:31:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1m[47m[40m[30m
[37m[47m[40m[30m
[37m[47m[40m[30m
[37m[47m[30;40m
[37m[47m[0m[1;47m[40m[30;47m
[37;40m[47m[0m[1m[47m[40m[30;47m
[37;40m[47m[40m[30m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:32:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1m[30m
[37m[47m[40m[30;47m
[37;40m[47m[40m[47m[40m[30;47m
[37;40m[47m[0m[34m[1m[37m[0;34m[1m
[0m[1m[0;34m[1m[37m[47m[0m[34m[1;44m[40m[0m[1;47m[40m[30m
[37m[47mÛ²Û²Û²[40m[30m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:33:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1m[30m
[37m[30m
[37m[30m
[37m [34;44m[40m
[0;34m[1;44m[0;34m[44m [1m[40m [44m [0m [34m[1;44m[40m [37m[30m
[37m[30m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:34:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;30m
[0;34m[1;44m[0m [1;34;44m[0;34m
[1;44m [0;34m
[1;30m [0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:35:58: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [1;34;44m [0;34m
[1;44m [0;34m
[37m [1;34;44m[0;34m
[37m [34m [1m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:36:55: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s http://ninja.qoop.org/ [0m [34m[1;44m [0m [1;34;44m [0m [34m[1;44m [0;34m[1;44m[40m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:37:55: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s ftp://ninja.qoop.org/ [0;34m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:41:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[0m [34m [1m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~ ~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:42:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [1;34m
[0;34m [1;44m[0;34m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:43:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [0;34m[1;44mÛ²[0;34m[37m [34m[1;44m[0;34m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:44:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;34;44m[0;34m
[37m [34m[1;44m [0;34m[1;44m[0;34m[37m [1;34m[0;34m [37m [1;34m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:45:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[34m[1;44m[0;34m[1;44m[0;34m [37m [1;34;44m [0;34m
[37m [1;34;44m[0;34m
[37m [1;34;44m[0;34m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:46:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [34m[1;44m[0;34m[37m [34m[1;44m [0;34m [1;44m[0;34m[37m [34m[1;44m[0;34m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:47:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [34m [1;44m[0;34m
[1;44m [0;34m[1;44m[0;34mÛ± [37m [34m[1m[0m [34m[1m
[0;34m [37m [34m[1m[0m [34m[1m[0m [34m[1;44m[40m[0m [1m[0m [1m
[0m [1m[0m [1;47m[40m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:48:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [34m[1;44m[0;34m[1;44m[0m [34m [1;44m [0;34mÛ² [1;44m[40m
[0;34m[1;44m[0;34m[1;44m [40m[0m [1;34;44m[40m
[0m [34m
[1;44m[40m
[0;36m [37m [1;47m[40m
[0m[1;47m[0m[1;47m[40m[0m [1;47m[0m [1;47m[40m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:49:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[34mÛ²[37m [1;36m[0;34m
[1;44m [0;34mÛ²
[1;36m[0;34m[1;44m[0m [1;34;44m[0;34m [1;36m[0;34m[1;44m[0;34m
[1;44m[0m [1;36m[0;34m[1;44m[0m [1;36m[0m[1;47m[0m [1;47m[0m[1;36m[47m[0m
[1;36m [47m[40m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:50:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[34mÛ² [36m[44m
[34;40mÛ²[36m [34m[1;44m[0;34m
[1;44m[0;34m
[36m[44m
[1;34m[0;34m[37m [1;34;44m [0;34m
[36m[1;34;44m[0;34m[36m[44m
[1;34m[0m [36m[37m[1;47m[0m
[1;47m[0m
[36m[37m
[36m[1;37;46m[0;36m[37m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:51:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[36m[44m[34;40mÛ² [36m[34mÛ² [36m[44m
[34;40m[1;44m[0;34m[37m [34m [36m[34m[1;44m[0;34m [36;44m
[34;40m[1;44m[0;34m[37m [34m[1;44m[0;34m[1;44m[0m [36m[47m
[37;40m[1;47m[0m Û² [36m[47m
[37;40m[1;47m [0m[1;47m[40m
[0;36m[37m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:52:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;30m[0;34m
[1;30m [0;34mÛ²[37m [1;30m[0;34m
[1;30m [0;34m
[37m [1;30m[0;34m
[37m [34m
[37m [1;30m[0;34m
[37m [1;30m[0m
[1;30m[0m
[1;30m [0m [1;30m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:53:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [0;34m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:54:48: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [0;34m
[0m http://ninja.qoop.org/", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:55:50: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [0;34mß° [0m ftp://ninja.qoop.org/", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:56:50: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [0;34m
[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:60:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [31m[1;41m [0;31m[37m [31m[1;41m [0;31m [37m [31m [1;41m [0;31m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:61:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[31m [1;41m [0;31m [1m[41m[0;31m [1;41m [0;31m [1m[41m[0;31m [37m [1;31m[41m[0;31m [37m [31m[1;41m[0;31m[37m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:62:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[31m[1;41m[0;31;41m[1m[0;31;41m[40m[1;41m[0;31m[1;41m[0;31m
[37m [31m[1;41m[0;31;41m[1m[0;31;41m[40m[1;41m[0;31m[1;41m[0;31m
[37m [31m[1;41m [0;31m[1;41m[0;31m [37m [31m[1;41m[0;31m[1;41m[0;31m[1;41m[0m [31m[1;41m[0;31m[1;41m[0;31m[37m", strfill(' ', (current_screen->co-78)/2)); ^~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:63:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;31;41m [0;31m [1;41m[0;31m [1;41m[0;31m [1;41m [0;31m [1;41m[0;31m [1;41m[0;31m [1;41m[0;31m [1;41m[0;31m[1;41m[0;31m [1;41m[0;31m [1;41m[0;31m [1;41m[0;31m [1;41m[0;31m [37m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:64:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;31;41m[0;31m[37m [31m[1;41m[0;31m [1;41m[0;31m [1;41m[0;31m[37m [31m[1;41m[0;31m [1;41m[0;31m [1;41m[0;31m [1;41m[0m [31m [1;41m[0;31m [1;41m[0m [1;31m[0;31m [1;41m[0;31m [37m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:65:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;31;41m[0m [1;31;41m[0;31m [1;41m[0;31m [1;41m[0m [1;31;41m[0;31m [1;41m[0;31m [1;41m[0;31m[1;41m[0;31m[1;41m[0;31m [1;41m[0;31m [1;41m[0m [1;31;41m[0;31m[1;41m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:66:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s[1;31;41m[0m [1;31;41m[0;31m [1;41m[0;31m [1;41m[0m [1;31;41m[0;31m [1;41m[0;31m [1;41m[0;31m[1;41m[0;31m [1;41m[0;31m [1;41m[0m [31m[1;41m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:67:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [1;31m[0;31m [1;41m[0m [31m[1m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:68:45: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [1;31;41m[0;31m [1;41m[0;31m[0m http://ninja.qoop.org/", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:69:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [1;31;41m[0;31m[1;41m[0;31m [0m ftp://ninja.qoop.org/", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninlogos.h:70:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding] put_raw("%s [31m[0m", strfill(' ', (current_screen->co-78)/2)); ^~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/irc.c:260:13: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reason = DEFAULT_SIGNOFF_REASON; ^ ~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/irc.c:308:16: warning: passing 'u_char[384]' (aka 'unsigned char[384]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, "%s@%s", FromUser, FromHost); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/irc.c:343:13: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reason = DEFAULT_SIGNOFF_REASON; ^ ~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/irc.c:603:27: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] malloc_strcat(&args_str, " "); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/irc.c:607:28: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] malloc_strcat(&args_str, " "); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ 48 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:570:10: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(strservice, "%d", service); ^~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:621:10: warning: passing 'u_char[1025]' (aka 'unsigned char[1025]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strhost, sizeof(strhost), strservice, sizeof(strservice), ^~~~~~~ /usr/include/netdb.h:254:60: note: passing argument to parameter here int getnameinfo(const struct sockaddr *, socklen_t, char *, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:621:36: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strhost, sizeof(strhost), strservice, sizeof(strservice), ^~~~~~~~~~ /usr/include/netdb.h:255:22: note: passing argument to parameter here size_t, char *, size_t, int); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:657:26: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] err = getaddrinfo(NULL, strservice, &hints, &res0); ^~~~~~~~~~ /usr/include/netdb.h:252:44: note: passing argument to parameter here int getaddrinfo(const char *, const char *, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:662:20: warning: passing 'u_char[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] err = getaddrinfo(strhost, strservice, &hints, &res0); ^~~~~~~ /usr/include/netdb.h:252:30: note: passing argument to parameter here int getaddrinfo(const char *, const char *, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:662:29: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] err = getaddrinfo(strhost, strservice, &hints, &res0); ^~~~~~~~~~ /usr/include/netdb.h:252:44: note: passing argument to parameter here int getaddrinfo(const char *, const char *, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:695:29: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (bind_local_addr(NULL, "0", s, res->ai_family) < 0) ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:68:49: note: passing argument to parameter here static int bind_local_addr _((u_char *, u_char *, int, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:734:46: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((retcode = bind_local_addr(MyHostName, "0", s, res->ai_family)) < 0) ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:68:49: note: passing argument to parameter here static int bind_local_addr _((u_char *, u_char *, int, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:844:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] err = getaddrinfo(localhost, localport, &hintsx, &res0x); ^~~~~~~~~ /usr/include/netdb.h:252:30: note: passing argument to parameter here int getaddrinfo(const char *, const char *, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:844:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] err = getaddrinfo(localhost, localport, &hintsx, &res0x); ^~~~~~~~~ /usr/include/netdb.h:252:44: note: passing argument to parameter here int getaddrinfo(const char *, const char *, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircaux.c:1141:8: warning: expression which evaluates to zero treated as a null pointer constant of type 'u_char *' (aka 'unsigned char *') [-Wnon-literal-null-conversion] str = '\0'; ^~~~ 11 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircsig.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/keys.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/lastlog.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/list.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:103:77: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fprintf(fp, "-+- NinjaIRC log started at %s\n", ninja_strftime(&t, "%I:%M%p on %a, %b %d")); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:37:46: note: passing argument to parameter here u_char *ninja_strftime _((time_t *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:121:72: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fprintf(fp, "-+- NinjaIRC log ended at %s\n", ninja_strftime(&t, "%I:%M%p on %a, %b %d")); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:37:46: note: passing argument to parameter here u_char *ninja_strftime _((time_t *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:192:35: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fprintf(fp, "%s\n", strip_ansi(line)); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:64:34: note: passing argument to parameter here extern char *strip_ansi _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:210:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat_file(ptr, &stat_buf); ^~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:211:12: warning: passing 'u_char[4097]' (aka 'unsigned char[4097]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buf, ptr, sizeof(buf)); ^~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:211:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buf, ptr, sizeof(buf)); ^~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:216:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((msg_fp = fopen(ptr, "r")) == NULL) ^~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:236:12: warning: passing 'u_char[4097]' (aka 'unsigned char[4097]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (fgets(line, sizeof(line), msg_fp)) ^~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:238:27: warning: passing 'u_char[4097]' (aka 'unsigned char[4097]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (*(line + strlen(line) - 1) == '\n') ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:239:19: warning: passing 'u_char[4097]' (aka 'unsigned char[4097]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *(line + strlen(line) - 1) = (u_char) 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:261:23: warning: passing 'char[14]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr = expand_twiddle(NINJA_AWAY_FILE); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:21:26: note: expanded from macro 'NINJA_AWAY_FILE' #define NINJA_AWAY_FILE NINJA_DIR "/away" ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:19:20: note: expanded from macro 'NINJA_DIR' #define NINJA_DIR "~" NINJA_DIR_1 ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:46:36: note: passing argument to parameter here u_char *expand_twiddle _((u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:262:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (unlink(ptr)) ^~~ /usr/include/unistd.h:371:25: note: passing argument to parameter here int unlink(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:278:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(strcasecmp(line, "Y"))) ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:290:18: warning: passing 'char[35]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Erase your stored messages? [y/N] ", short_eraselog, "", WAIT_PROMPT_LINE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:34: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:290:72: warning: passing 'char[1]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Erase your stored messages? [y/N] ", short_eraselog, "", WAIT_PROMPT_LINE); ^~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:74: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:295:23: warning: passing 'char[19]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("More? (Q to quit) ", log_prompt, name, WAIT_PROMPT_KEY); ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:34: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:301:18: warning: passing 'char[35]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Erase your stored messages? [y/N] ", short_eraselog, "", WAIT_PROMPT_LINE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:34: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/log.c:301:72: warning: passing 'char[1]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Erase your stored messages? [y/N] ", short_eraselog, "", WAIT_PROMPT_LINE); ^~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:74: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ 18 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/mail.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/mail.c:98:29: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] malloc_strcpy(&mail_path, UNIX_MAIL); ^~~~~~~~~ ./defs.h:151:19: note: expanded from macro 'UNIX_MAIL' #define UNIX_MAIL "/var/mail" ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/mail.c:99:29: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] malloc_strcat(&mail_path, "/"); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ 2 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/menu.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/mileston.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:105:56: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(update_sd, (struct sockaddr *) &sa, &salen) != -1) ^~~~~~ /usr/include/sys/socket.h:690:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:114:57: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] while (getpeername(update_sd, (struct sockaddr *) &sa, &salen) == -1) ^~~~~~ /usr/include/sys/socket.h:690:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:211:11: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(fnstr, sizeof(fnstr)-1, "ninja-%s-src.tgz", ibuf); ^~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:221:26: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] register_dcc_offer("-NinjaIRC-", "SEND", fnstr, ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dcc.h:74:37: note: passing argument to parameter here void register_dcc_offer _((u_char *, u_char *, u_char *, u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:221:40: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] register_dcc_offer("-NinjaIRC-", "SEND", fnstr, ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dcc.h:74:47: note: passing argument to parameter here void register_dcc_offer _((u_char *, u_char *, u_char *, u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:222:5: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] NINJA_SERVER_HOST, ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/nchk_up.h:14:27: note: expanded from macro 'NINJA_SERVER_HOST' #define NINJA_SERVER_HOST "1070614641" ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dcc.h:74:67: note: passing argument to parameter here void register_dcc_offer _((u_char *, u_char *, u_char *, u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:223:5: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] NINJA_DCC_SERVER_PORT, ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/nchk_up.h:16:31: note: expanded from macro 'NINJA_DCC_SERVER_PORT' #define NINJA_DCC_SERVER_PORT "3547" ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dcc.h:74:77: note: passing argument to parameter here void register_dcc_offer _((u_char *, u_char *, u_char *, u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:249:21: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&unstr, "Unable to get uname: "); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:250:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&unstr, strerror(errno)); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:254:21: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&unstr, un.sysname); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:256:21: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&unstr, un.nodename); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:258:21: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&unstr, un.release); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:260:21: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&unstr, un.version); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:262:21: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&unstr, un.machine); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:273:19: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] obl = snprintf(obuf, sizeof(obuf)-1, "%s\n%s@%s\n%s\n%s\n%s\n", ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nchk_up.c:324:56: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(update_sd, (struct sockaddr *) &sa, &salen) != -1) ^~~~~~ /usr/include/sys/socket.h:690:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 16 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:127:8: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc", " []"); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:127:16: warning: passing 'char[19]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc", " []"); ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:165:13: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltell, sizeof(ltell)-1, "NDCC: %s request received from %s (%s@%s)", command ? command : UP("Unknown"), from, user, host); ^~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:171:17: warning: passing 'char[24]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(ltell, ", no command specified.", sizeof(ltell)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:181:17: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(ltell, " to ", sizeof(ltell)-1); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:185:22: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(ltell, ", ignored.", sizeof(ltell)-1); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:198:16: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb2, sizeof(tb2)-1, ", %s does not have access to secure ndcc.", from); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:218:17: warning: passing 'char[14]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(ltell, ", processing.", sizeof(ltell)-1); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:228:17: warning: passing 'char[19]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(ltell, ", unknown command.", sizeof(ltell)-1); ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:260:10: warning: promoted type 'double' of K&R function parameter is not compatible with the parameter type 'float' declared in a previous prototype [-Wknr-promoted-parameter] float min_speed; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:58:51: note: previous declaration is here static void make_pack _((u_char *, u_char *, float)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:283:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((ptr = my_strsep(&files, " "))) ^ ~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:306:16: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] n = stat_file(cfn, &sb); ^~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:331:18: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (access(cfn, R_OK)) ^~~ /usr/include/unistd.h:324:25: note: passing argument to parameter here int access(const char *, int); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:352:27: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&list, " "); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:400:13: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc offer", " .. , [, ]"); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:400:27: warning: passing 'char[55]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc offer", " .. , [, ]"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:418:13: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc offer", " .. , [, ]"); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:418:27: warning: passing 'char[55]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc offer", " .. , [, ]"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:433:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = &(desc[strlen(desc) - 1]); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:439:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] minspeed = strtod(speed, (char **)&p); ^~~~~ /usr/include/stdlib.h:115:39: note: passing argument to parameter here double strtod(const char * __restrict, char ** __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:446:22: warning: passing 'char[26]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Add which files to pack? ", ndcc_offer2, args, WAIT_PROMPT_LINE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:34: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:461:20: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Describe this pack: ", ndcc_offer3, files, WAIT_PROMPT_LINE); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:34: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:482:20: warning: passing 'char[27]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Minimum speed (kbytes/s): ", ndcc_offer4, wtf, WAIT_PROMPT_LINE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:34: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:498:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] minimumspeed = strtod(speed, (char **)&tmp); ^~~~~ /usr/include/stdlib.h:115:39: note: passing argument to parameter here double strtod(const char * __restrict, char ** __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:532:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(CP(tmpbuf1), " ", sizeof(tmpbuf1)-1); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:54:17: note: expanded from macro 'CP' #define CP(s) ((char *)(s)) ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:26: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:532:28: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(CP(tmpbuf1), " ", sizeof(tmpbuf1)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:533:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(CP(tmpbuf1), f->name, sizeof(tmpbuf1)-1); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:54:17: note: expanded from macro 'CP' #define CP(s) ((char *)(s)) ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:26: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:565:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "+--( NDCC Offered files )-- /CTCP %s NDCC SEND #", get_server_nickname(from_server)); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:571:16: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "| #%-3d (%s/%d file%s) %s", ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:577:14: warning: passing 'u_char[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb2, sizeof(tb2)-1, " (min %.0fkbytes/s)", tmp->min_speed); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:583:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "+--( Total: %d pack%s %s/%d file%s )---", ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:605:8: warning: passing 'char[12]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc remove", ""); ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:605:23: warning: passing 'char[14]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc remove", ""); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:615:8: warning: passing 'char[12]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc remove", ""); ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:615:23: warning: passing 'char[14]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc remove", ""); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:665:8: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc save", ""); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:665:21: warning: passing 'char[16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc save", ""); ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:669:13: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(filename, sizeof(filename)-1, NINJA_DIR "/%s.ndcc", ptr2); ^~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:672:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] outfile = fopen(ptr, "w"); ^~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:685:20: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf1, " ", sizeof(tmpbuf1)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:686:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf1, make_nice(tmpfiles->path), sizeof(tmpbuf1)-1); ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:60:33: note: passing argument to parameter here extern char *make_nice _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:686:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf1, make_nice(tmpfiles->path), sizeof(tmpbuf1)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:687:24: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf1, "/", sizeof(tmpbuf1)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:688:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf1, make_nice(tmpfiles->name), sizeof(tmpbuf1)-1); ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:60:33: note: passing argument to parameter here extern char *make_nice _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:688:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf1, make_nice(tmpfiles->name), sizeof(tmpbuf1)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:708:8: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc load", ""); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:708:21: warning: passing 'char[15]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc load", ""); ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:712:13: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(filename, sizeof(filename), "~/.ninja/%s.ndcc", ptr2); ^~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:714:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] infile = fopen(ptr, "r"); ^~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:724:12: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (fgets(tmpbuf2, sizeof(tmpbuf2)-1, infile)) ^~~~~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:726:29: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr = &tmpbuf2[strlen(tmpbuf2) - 1]; ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:748:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] un_nice(files); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:61:31: note: passing argument to parameter here extern char *un_nice _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:749:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] un_nice(desc); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:61:31: note: passing argument to parameter here extern char *un_nice _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:750:11: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr = my_strsep(&desc, " "); ^ ~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:754:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mspeed = strtod(ptr, (char **)&ptr2); ^~~ /usr/include/stdlib.h:115:39: note: passing argument to parameter here double strtod(const char * __restrict, char ** __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:787:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] packnum = atoi(thepack); ^~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:804:17: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb2, sizeof(tb2)-1, "%s/%s", tmpfiles->path, tmpfiles->name); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:805:17: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "%s %s", from, tb2); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:839:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "+--( NDCC Offered files )-- /CTCP %s NDCC SEND ", ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:846:18: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "| #%d (%s/%d file%s) %s (min %.0fk/s)", ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:850:18: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "| #%d (%s/%d file%s) %s", ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:855:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "+--( Total: %d packs %s/%d file%s )---", ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:921:8: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc send", " "); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:921:21: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc send", " "); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:924:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (args && *args && atoi(args)) ^~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:925:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] packnum = atoi(args); ^~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:929:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (args && *args && atoi(args)) ^~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:930:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] packnum = atoi(args); ^~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:938:8: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc send", " "); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:938:21: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc send", " "); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:955:14: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb2, sizeof(tb2)-1, "%s/%s", tmpfiles->path, tmpfiles->name); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:956:14: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1)-1, "%s %s", to, tb2); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1044:13: warning: passing 'char[12]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc toggle", "[]"); ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1044:28: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc toggle", "[]"); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1065:8: warning: passing 'char[14]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc interval", ""); ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1065:25: warning: passing 'char[15]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("ndcc interval", ""); ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1144:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] n = scandir(dir, &dirfiles, ^~~ /usr/include/dirent.h:126:26: note: passing argument to parameter here int scandir(const char *, struct dirent ***, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1146:9: warning: incompatible function pointer types passing 'int (*)(const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-function-pointer-types] (int (*) _((const void *, const void *)))compar); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dirent.h:127:44: note: passing argument to parameter here int (*)(const struct dirent *), int (*)(const struct dirent **, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1157:21: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (match(pattern, dirfiles[n]->d_name)) ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc.h:370:33: note: passing argument to parameter here int match _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1159:16: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb2, sizeof(tb2)-1, "%s/%s", dir, dirfiles[n]->d_name); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1162:18: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (access(tb2, R_OK) != 0) ^~~ /usr/include/unistd.h:324:25: note: passing argument to parameter here int access(const char *, int); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1169:17: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat_file(tb2, &sb); ^~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1176:40: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!add_file_to_pack(pack, dir, dirfiles[n]->d_name, sb)) ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:64:62: note: passing argument to parameter here static int add_file_to_pack _((NDCCPack *, u_char *, u_char *, struct stat)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1187:26: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(dest, " "); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1188:24: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(dest, dirfiles[n]->d_name); ^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ndcc.c:1263:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (getcwd(cfn, cfnl-my_strlen(ptr)-2) == NULL) ^~~ /usr/include/unistd.h:340:20: note: passing argument to parameter here char *getcwd(char *, size_t); ^ 86 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nicks.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nincache.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nincache.c:443:67: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&server_list[parsing_server_index].who_nicks, ","); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nincache.c:562:26: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (my_strnicmp(ptr, "NDCC ", 5) == 0 ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:73:39: note: passing argument to parameter here int my_strnicmp _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nincache.c:563:29: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] || my_strnicmp(ptr, "XDCC ", 5) == 0 ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:73:39: note: passing argument to parameter here int my_strnicmp _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/nincache.c:564:29: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] || my_strnicmp(ptr, "CDCC ", 5) == 0) ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:73:39: note: passing argument to parameter here int my_strnicmp _((u_char *, u_char *, size_t)); ^ 4 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:138:13: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb)-1, "%lu%s", tl, ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:169:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] et_stuff[i].sec, et_stuff[i].unit, ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:196:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nums_n_dots = inet_ntoa(numaddr); ^ ~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:239:13: warning: passing 'u_char[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strftime(nfstr, sizeof(nfstr)-1, fmt, bdt); ^~~~~ /usr/include/time.h:130:34: note: passing argument to parameter here size_t strftime(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:239:37: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strftime(nfstr, sizeof(nfstr)-1, fmt, bdt); ^~~ /usr/include/time.h:130:67: note: passing argument to parameter here size_t strftime(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:251:29: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return ninja_strftime(t, "%a, %b %d"); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:262:29: warning: passing 'char[8]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return ninja_strftime(t, "%I:%M%p"); ^~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:273:12: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u_char *fn = NINJA_DIR, *ffn; ^ ~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:283:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (access(ffn, F_OK) != 0) ^~~ /usr/include/unistd.h:324:25: note: passing argument to parameter here int access(const char *, int); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:284:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mkdir(ffn, S_IWUSR | S_IRUSR | S_IXUSR); /* private modes! */ ^~~ /usr/include/sys/stat.h:389:23: note: passing argument to parameter here int mkdir(const char *, mode_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:291:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fn = NINJA_SAVE_FILE; ^ ~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:408:24: warning: passing 'char[15]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] close_server(i, "too much lag.."); ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/server.h:194:36: note: passing argument to parameter here void close_server _((int, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:455:18: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] servercmd(NULL, "+", NULL); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/server.h:176:38: note: passing argument to parameter here void servercmd _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:544:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] desc = strip_path(dccp->description); ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:544:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] desc = strip_path(dccp->description); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:548:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] desc = ""; ^ ~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:554:37: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (my_stricmp(dccp->user, "-NinjaIRC-") != 0) ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:72:38: note: passing argument to parameter here int my_stricmp _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:574:52: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dcc_types[dccp->flags & DCC_TYPES], strip_path(dccp->description), ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:577:70: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dccp->user, dcc_types[dccp->flags & DCC_TYPES], strip_path(dccp->description), ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:65:34: note: passing argument to parameter here extern char *strip_path _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:628:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((ptr = my_strsep(&dumb, " "))) ^ ~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:745:30: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ninja_strftime(&right_now, "%I:%M%p on %a, %b %d"), ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:770:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr = expand_twiddle(ptr); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:46:36: note: passing argument to parameter here u_char *expand_twiddle _((u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:770:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr = expand_twiddle(ptr); ^ ~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:771:10: warning: passing 'char[512]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcpy(afstr, ptr, sizeof(afstr)-1); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:82:26: note: passing argument to parameter here void strmcpy _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:771:17: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcpy(afstr, ptr, sizeof(afstr)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:82:36: note: passing argument to parameter here void strmcpy _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:773:10: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] if (ptr != NINJA_AWAY_FILE) ^ ~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:782:24: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ninja_strftime(&now, "%I:%M%p on %a, %b %d"), ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:812:10: warning: passing 'char[512]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf1, ltb, sizeof(tmpbuf1)-1); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:26: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:812:19: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf1, ltb, sizeof(tmpbuf1)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:871:14: warning: returning 'u_char[]' (aka 'unsigned char[]') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return empty_string; ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:878:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:881:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:884:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:885:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:886:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:887:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:890:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:891:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '
': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:892:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:895:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:896:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:899:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:902:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:930:14: warning: returning 'u_char[]' (aka 'unsigned char[]') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return empty_string; ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:1016:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tspace = strchr(tnick, ' '); ^~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:1016:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tspace = strchr(tnick, ' '); ^ ~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:1042:34: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&delayop->nick, " "); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:1044:36: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&delayop->nick, "+"); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:1046:36: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcat(&delayop->nick, "@"); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:1061:31: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&delayop->nick, "+"); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:1063:31: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&delayop->nick, "@"); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:1107:13: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpbuf, sizeof(tmpbuf)-1, "-all Automagically away (%s idle)", ninja_etime(idlelimit)); ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:1113:13: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] away("AWAY", tmpbuf, NULL); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninja.c:76:29: note: passing argument to parameter here extern void away _((u_char *, u_char *, u_char *)); ^ 53 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:77:8: warning: passing 'char[7]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("chhost", ""); ^~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:77:18: warning: passing 'char[16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("chhost", ""); ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:105:17: warning: passing 'char[45]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[@] []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:137:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] identf = fopen(ex_idfn, "w"); ^~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:283:27: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u_char *nickstr = NULL, *space = " ", *at = "@", *plus = "+"; ^ ~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:283:41: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u_char *nickstr = NULL, *space = " ", *at = "@", *plus = "+"; ^ ~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:283:52: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u_char *nickstr = NULL, *space = " ", *at = "@", *plus = "+"; ^ ~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:313:16: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpbuf1, sizeof(tmpbuf1) - 1, ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:326:15: warning: passing 'u_char[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb) - 1, "@%-9.9s ", nick->nick); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:328:15: warning: passing 'u_char[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb) - 1, "+%-9.9s ", nick->nick); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:330:15: warning: passing 'u_char[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb) - 1, " %-9.9s ", nick->nick); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:390:20: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[] []"); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:411:25: warning: passing 'char[29]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-host []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:430:25: warning: passing 'char[34]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-server []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:445:25: warning: passing 'char[34]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-name []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:460:25: warning: passing 'char[34]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-realname []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:475:25: warning: passing 'char[35]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-nick []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:488:25: warning: passing 'char[30]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "-file []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:495:20: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[] []"); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:520:17: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[] []"); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:546:11: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(format, sizeof(format) - 1, "%%-%u.%us %%-9s |%%-3s", (u_char) cwidth, (u_char) cwidth); ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:582:11: warning: passing 'u_char[384]' (aka 'unsigned char[384]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpbuf1, sizeof(tmpbuf1) - 1, "%s!%s@%s", nicks->nick, foo2 ? foo2 : empty_string, nicks->host); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:657:11: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_raw(format, chan->channel, nicks->nick, feb, nicks->hops, nicks->user, nicks->host, foo); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:52:27: note: passing argument to parameter here void put_raw _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:659:11: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_raw(format, chan->channel, nicks->nick, feb, nicks->user, nicks->host, foo); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/output.h:52:27: note: passing argument to parameter here void put_raw _((char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:725:17: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[] "); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:751:11: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(wallline, sizeof(wallline) - 1, "(%s WallOp) %s", channel, args); ^~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:757:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((nickl->status & NICK_CHOP) && (strcmp(nickl->nick, nickname) != 0)) ^~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:757:61: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((nickl->status & NICK_CHOP) && (strcmp(nickl->nick, nickname) != 0)) ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:761:17: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ops, sizeof(ops) - 1, "%s,", nickl->nick); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:768:21: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(ops, ",", sizeof(ops) - 1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:799:17: warning: passing 'char[30]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[] []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:839:18: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] do_ban_stuff("BAN", person, channel); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninjacmd.h:54:31: note: passing argument to parameter here void do_ban_stuff _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:866:17: warning: passing 'char[37]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, " [ []]"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:919:11: warning: passing 'u_char[384]' (aka 'unsigned char[384]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(nuh, sizeof(nuh) - 1, "%s!*%s@%s", nickl->nick, foo, nickl->host); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:947:11: warning: passing 'u_char[384]' (aka 'unsigned char[384]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(nuh, sizeof(nuh) - 1, "%s!*%s@%s", nickl->nick, foo, nickl->host); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:976:17: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, " []"); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1038:22: warning: passing 'char[35]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[#/&] ... "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1114:8: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("chkey", "[] -|"); ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1114:17: warning: passing 'char[24]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("chkey", "[] -|"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1166:17: warning: passing 'char[22]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, " []"); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1204:17: warning: passing 'char[24]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[+|-] []"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1221:20: warning: passing 'char[24]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[+|-] []"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1244:7: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mdop("MDOP", chanl->channel, NULL); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninjacmd.h:52:23: note: passing argument to parameter here void mdop _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1256:22: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf1, " ", sizeof(tmpbuf1) - 1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1281:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp = (u_char *) dma_Malloc(strlen(args) + 4); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1282:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(command, "MOP") == 0) ^~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1284:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(tmp, "+o %s", args); /* safe, malloc()'d */ ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1285:7: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mass("MOP", tmp, NULL); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1287:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (strcmp(command, "MVOICE") == 0) ^~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1289:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(tmp, "+v %s", args); /* safe, malloc()'d */ ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1290:7: warning: passing 'char[7]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mass("MVOICE", tmp, NULL); ^~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1292:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (strcmp(command, "MDVOICE") == 0) ^~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1294:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(tmp, "-v %s", args); /* safe, malloc()'d */ ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1295:7: warning: passing 'char[8]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mass("MDVOICE", tmp, NULL); ^~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1325:17: warning: passing 'char[37]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[-t] []"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1361:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((strcmp(get_server_nickname(from_server), nicks->nick) != 0) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1361:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((strcmp(get_server_nickname(from_server), nicks->nick) != 0) && ^~~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1366:22: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpbuf1, " ", sizeof(tmpbuf1) - 1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1370:12: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpbuf1, sizeof(tmpbuf1), "%s", nicks->nick); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1375:16: warning: passing 'u_char[200]' (aka 'unsigned char[200]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(deadppl[lines], DEADPPL_SIZE - 1, "MODE %s -b%s %s %s", chanl->channel, ^~~~~~~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1385:11: warning: passing 'u_char[200]' (aka 'unsigned char[200]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(deadppl[lines], DEADPPL_SIZE - 1, "MODE %s -b%s %s %s", chanl->channel, ^~~~~~~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1470:12: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(theshiz, sizeof(theshiz) - 1, "%s@*", person); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1472:12: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(theshiz, sizeof(theshiz) - 1, "*!%s", person); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1508:22: warning: passing 'char[24]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, " []"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1524:8: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("adds", "[::::]"); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1524:16: warning: passing 'char[44]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("adds", "[::::]"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1558:8: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("rems", "<#> or [:]"); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1558:16: warning: passing 'char[25]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("rems", "<#> or [:]"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1574:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((servernum = atoi(server)) > 0 && servernum <= number_of_servers) ^~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1601:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(strcasecmp(line, "Y"))) ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1604:23: warning: passing 'char[35]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Erase your stored messages? [y/N] ", short_eraselog, "", WAIT_PROMPT_LINE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:34: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1604:77: warning: passing 'char[1]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Erase your stored messages? [y/N] ", short_eraselog, "", WAIT_PROMPT_LINE); ^~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:74: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1630:33: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (my_strnicmp(arg1 + 1, "ALL", 3) == 0) ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:73:39: note: passing argument to parameter here int my_strnicmp _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1633:17: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(awaymsg, sizeof(awaymsg) - 1, "(%s)", args && *args ? args : defaway); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1641:19: warning: passing 'u_char[4096]' (aka 'unsigned char[4096]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpu_char, sizeof(tmpu_char) - 1, " [email: %s]", email); ^~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1655:20: warning: passing 'u_char[4096]' (aka 'unsigned char[4096]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpu_char, sizeof(tmpu_char), "is out. %s", awaymsg); ^~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1656:15: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ame("AME", tmpu_char, NULL); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninjacmd.h:70:22: note: passing argument to parameter here void ame _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1674:14: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(awaymsg, sizeof(awaymsg) - 1, "(%s)", args); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1677:16: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(awaymsg, sizeof(awaymsg) - 1, "(%s)", defaway); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1690:11: warning: passing 'u_char[4096]' (aka 'unsigned char[4096]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpu_char, sizeof(tmpu_char) - 1, " [email: %s]", email); ^~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1695:11: warning: passing 'u_char[4096]' (aka 'unsigned char[4096]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpu_char, sizeof(tmpu_char), "is out. %s", awaymsg); ^~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1696:6: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ame("AME", tmpu_char, NULL); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninjacmd.h:70:22: note: passing argument to parameter here void ame _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1727:33: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (my_strnicmp(arg1 + 1, "ALL", 3) == 0) ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:73:39: note: passing argument to parameter here int my_strnicmp _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1730:17: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(backmsg, sizeof(backmsg), "(%s)", args && *args ? args : defback); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1747:18: warning: passing 'u_char[4096]' (aka 'unsigned char[4096]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpu_char, sizeof(tmpu_char), "is back after %s. %s", ninja_etime(atime), backmsg); ^~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1748:13: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ame("AME", tmpu_char, NULL); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninjacmd.h:70:22: note: passing argument to parameter here void ame _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1756:21: warning: passing 'char[34]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Play your stored messages? [y/N] ", short_playlog, "", WAIT_PROMPT_LINE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:34: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1756:73: warning: passing 'char[1]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Play your stored messages? [y/N] ", short_playlog, "", WAIT_PROMPT_LINE); ^~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:74: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1766:14: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(backmsg, sizeof(backmsg), "(%s)", args); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1769:16: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(backmsg, sizeof(backmsg), "(%s)", defback); ^~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1783:11: warning: passing 'u_char[4096]' (aka 'unsigned char[4096]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmpu_char, sizeof(tmpu_char), "has returned after %s. %s", ninja_etime(atime), backmsg); ^~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1784:6: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ame("AME", tmpu_char, NULL); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninjacmd.h:70:22: note: passing argument to parameter here void ame _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1792:20: warning: passing 'char[34]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Play your stored messages? [y/N] ", short_playlog, "", WAIT_PROMPT_LINE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:34: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1792:72: warning: passing 'char[1]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_wait_prompt("Play your stored messages? [y/N] ", short_playlog, "", WAIT_PROMPT_LINE); ^~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:62:74: note: passing argument to parameter here void add_wait_prompt _((u_char *, void (*)(u_char *, u_char *), u_char *, int)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1806:17: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, ""); ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1845:13: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filename = NINJA_SAVE_FILE; ^ ~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1848:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] outfile = fopen(filename, "w"); ^~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1852:19: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] if (CP(filename) != NINJA_SAVE_FILE) ^ ~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1856:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] if (CP(filename) != NINJA_SAVE_FILE) ^ ~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1888:11: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(tmpoutbuf, "Saved:"); ^~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1892:23: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpoutbuf, ",", sizeof(tmpoutbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1894:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb)-1, ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1902:23: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpoutbuf, ",", sizeof(tmpoutbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1904:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb)-1, ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1912:23: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpoutbuf, ",", sizeof(tmpoutbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1914:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb)-1, ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1922:23: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpoutbuf, ",", sizeof(tmpoutbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1924:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb)-1, ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1932:23: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpoutbuf, ",", sizeof(tmpoutbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1934:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb)-1, ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1942:23: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpoutbuf, ",", sizeof(tmpoutbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1944:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb)-1, ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1952:23: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpoutbuf, ",", sizeof(tmpoutbuf)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1954:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(ltb, sizeof(ltb)-1, ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninjacmd.c:1961:21: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tmpoutbuf, ".", sizeof(tmpoutbuf) - 1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ 115 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninredir.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninredir.c:38:10: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *curchan = get_channel_by_refnum(0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninredir.c:77:22: warning: passing 'char[36]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage(command, "[-l] or [ []]"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninredir.c:83:24: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (my_stricmp(tmp, "-l") == 0) ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:72:38: note: passing argument to parameter here int my_stricmp _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninredir.c:141:38: warning: passing 'char[8]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] send_text(tmpbuf, list[number], "PRIVMSG"); ^~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/edit.h:45:48: note: passing argument to parameter here void send_text _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninredir.c:164:14: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vsnprintf(tmpbuf, sizeof(tmpbuf)-1, format, vl); ^~~~~~ /usr/include/stdio.h:300:33: note: passing argument to parameter here int vsnprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ninredir.c:164:40: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vsnprintf(tmpbuf, sizeof(tmpbuf)-1, format, vl); ^~~~~~ /usr/include/stdio.h:300:66: note: passing argument to parameter here int vsnprintf(char * __restrict, size_t, const char * __restrict, ^ 6 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/newio.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notice.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notice.c:181:41: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] to_window = get_window_by_name("OPERVIEW"); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/window.h:129:40: note: passing argument to parameter here Window *get_window_by_name _((u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notice.c:314:37: warning: passing 'char[12]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] addredirect(REDIRECT_NOTICE, "-%s(%s)- %s", from, FromUserHost, line); ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninredir.h:7:35: note: passing argument to parameter here void addredirect _((int, u_char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notice.c:320:37: warning: passing 'char[8]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] addredirect(REDIRECT_NOTICE, "-%s- %s", from, line); ^~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninredir.h:7:35: note: passing argument to parameter here void addredirect _((int, u_char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notice.c:329:39: warning: passing 'char[11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] addredirect(REDIRECT_NOTICE, "-%s:%s- %s", from, to, line); ^~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninredir.h:7:35: note: passing argument to parameter here void addredirect _((int, u_char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notice.c:441:30: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((c = server[strlen(server) - 1]) == ',' || c == '.') ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notice.c:442:17: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] server[strlen(server) - 1] = '\0'; ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 6 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notify.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notify.c:169:20: warning: passing 'char[6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (match("*!*@*", nick)) ^~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc.h:370:23: note: passing argument to parameter here int match _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notify.c:260:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nlen = strlen(tmp->nick); ^~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notify.c:334:16: warning: passing 'u_char[384]' (aka 'unsigned char[384]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf, sizeof(tbuf)-1, "%s@%s", user, host); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notify.c:383:30: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] malloc_strcat(&list, " "); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notify.c:385:30: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] malloc_strcat(&list, "%"); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/notify.c:389:26: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] malloc_strcat(&list, "!"); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:41:40: note: passing argument to parameter here void dma_strcat _((u_char **, u_char *)); ^ 6 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/numbers.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/numbers.c:596:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(ArgList[1], "%lu", &t); /* XXX: not a good idea.. str_to_time_t is needed or something */ ^~~~~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/numbers.c:601:24: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ninja_strftime(&t, "%a, %b %d at %I:%M%p")); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:37:46: note: passing argument to parameter here u_char *ninja_strftime _((time_t *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/numbers.c:981:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(ArgList[3], "%lu", (unsigned long *) &t); ^~~~~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/numbers.c:982:94: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_info("[%s] %s by %s at %s", ArgList[0], ArgList[1], ArgList[2], ninja_strftime(&t, "%I:%M%p on %a, %b %d")); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:37:46: note: passing argument to parameter here u_char *ninja_strftime _((time_t *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/numbers.c:1003:9: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(ArgList[2], "%lu", (unsigned long *) &t); ^~~~~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/numbers.c:1006:36: warning: passing 'char[21]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgList[1], ninja_strftime(&t, "%a, %b %d at %I:%M%p")); ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:37:46: note: passing argument to parameter here u_char *ninja_strftime _((time_t *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/numbers.c:1012:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] message_from((char *) 0, LOG_CURRENT); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/window.h:117:31: note: passing argument to parameter here void message_from _((u_char *, int)); ^ 7 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/operview.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/operview.c:35:19: warning: passing 'char[19]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmp, "goto operview kill"); ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/operview.c:42:19: warning: passing 'char[35]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dma_strcpy(&tmp, "level ALL new name operview goto 1"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/dma.h:40:39: note: passing argument to parameter here int dma_strcpy _((u_char **, u_char *)); ^ 2 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/orignick.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/orignick.c:29:23: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!my_stricmp(ptr, "OFF")) ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:72:38: note: passing argument to parameter here int my_stricmp _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/orignick.c:31:28: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!my_stricmp(ptr, "ON")) ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:72:38: note: passing argument to parameter here int my_stricmp _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/orignick.c:35:11: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("orignick", "on OR off"); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/orignick.c:35:23: warning: passing 'char[17]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("orignick", "on OR off"); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/orignick.c:42:13: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("orignick", "on OR off"); ^~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:24: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/orignick.c:42:25: warning: passing 'char[17]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] usage("orignick", "on OR off"); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:44:34: note: passing argument to parameter here void usage _((u_char *, u_char *)); ^ 6 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/output.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/output.c:109:8: warning: address of array 'line' will always evaluate to 'true' [-Wpointer-bool-conversion] if (line) ~~ ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/output.c:162:24: warning: passing 'char[4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_log(irclog_fp, putbuf); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/log.h:43:37: note: passing argument to parameter here void add_to_log _((FILE *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/output.c:163:16: warning: passing 'char[4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_screen(putbuf); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:81:32: note: passing argument to parameter here void add_to_screen _((u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/output.c:202:24: warning: passing 'char[4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_log(irclog_fp, putbuf); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/log.h:43:37: note: passing argument to parameter here void add_to_log _((FILE *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/output.c:203:16: warning: passing 'char[4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_screen(putbuf); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:81:32: note: passing argument to parameter here void add_to_screen _((u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/output.c:245:24: warning: passing 'char[4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_log(irclog_fp, putbuf); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/log.h:43:37: note: passing argument to parameter here void add_to_log _((FILE *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/output.c:246:16: warning: passing 'char[4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_screen(putbuf); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:81:32: note: passing argument to parameter here void add_to_screen _((u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/output.c:285:29: warning: passing 'char[4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_log(irclog_fp, putbuf); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/log.h:43:37: note: passing argument to parameter here void add_to_log _((FILE *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/output.c:286:21: warning: passing 'char[4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_to_screen(putbuf); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/screen.h:81:32: note: passing argument to parameter here void add_to_screen _((u_char *)); ^ 9 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/p2a.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/p2a.c:34:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(ptr, "|%1x%1x", &b, &f); ^~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/p2a.c:50:14: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmp2, sizeof(tmp2)-1, "%s3%d;", bright ? "" : "1;", (f - 8)); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/p2a.c:57:14: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmp2, sizeof(tmp2)-1, "%s3%d;", bright ? "0;" : "", f); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/p2a.c:63:18: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmp3, sizeof(tmp3)-1, "5;4%d", (b - 8)); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/p2a.c:65:18: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmp3, sizeof(tmp3)-1, "4%d", b); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/p2a.c:68:16: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmp, sizeof(tmp)-1, "[%s%sm", tmp2, tmp3); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ 6 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/parse.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/parse.c:674:32: warning: passing 'char[12]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] addredirect(REDIRECT_MSG, "*%s(%s)* %s", from, FromUserHost, ptr); ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninredir.h:7:35: note: passing argument to parameter here void addredirect _((int, u_char *, ...)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/parse.c:675:21: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] add_tab_key(0, "msg ", from); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/tabkey.h:24:35: note: passing argument to parameter here void add_tab_key _((int, u_char *, u_char *)); ^ 2 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/queue.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/reg.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/reg.c:123:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ptr2 = strstr(pattern, "\\["))) ^~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/reg.c:123:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ptr2 = strstr(pattern, "\\["))) ^ ~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/reg.c:150:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((nest) && (ptr = index(ptr2, '\\'))); ^~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/reg.c:150:24: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((nest) && (ptr = index(ptr2, '\\'))); ^ ~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/reg.c:173:13: warning: passing 'u_char[2048]' (aka 'unsigned char[2048]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(my_buff, pattern, sizeof(my_buff)-1); ^~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/reg.c:173:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(my_buff, pattern, sizeof(my_buff)-1); ^~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ 6 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DWSERV_PATH=\"/usr/local/bin/ninjawserv\" -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:934:11: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ostr = str; ^ ~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:936:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = strip_ansi(str); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:64:34: note: passing argument to parameter here extern char *strip_ansi _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:936:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = strip_ansi(str); ^ ~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:938:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = strip_8bit(str); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:62:34: note: passing argument to parameter here extern char *strip_8bit _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:938:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = strip_8bit(str); ^ ~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:944:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = ostr; ^ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:952:10: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *ostr = str; ^ ~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:954:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = strip_ansi(str); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:64:34: note: passing argument to parameter here extern char *strip_ansi _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:954:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = strip_ansi(str); ^ ~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:956:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = strip_8bit(str); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:62:34: note: passing argument to parameter here extern char *strip_8bit _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:956:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = strip_8bit(str); ^ ~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:960:8: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str = ostr; ^ ~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:1657:12: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *op = c; ^ ~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:1854:11: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *op = ptr; ^ ~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:2192:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] puts(CP(strip_ansi(incoming))); /* in ninja, this used to strip 8bit, not anymore! */ ^~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/irc_std.h:54:27: note: expanded from macro 'CP' #define CP(s) ((char *)(s)) ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:64:34: note: passing argument to parameter here extern char *strip_ansi _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:2510:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tptr = NINJA_DIR; ^ ~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:2608:11: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] getcwd(tcwd, sizeof(tcwd)-1); ^~~~ /usr/include/unistd.h:340:20: note: passing argument to parameter here char *getcwd(char *, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:2610:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (chdir(tmpdir) == -1) ^~~~~~ /usr/include/unistd.h:326:24: note: passing argument to parameter here int chdir(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:2614:8: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] chdir(tmpdir); ^~~~~~ /usr/include/unistd.h:326:24: note: passing argument to parameter here int chdir(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:2620:13: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(wserv_sock, sizeof(wserv_sock)-1, "%s/%s", tmpdir, sock.sun_path); ^~~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:2628:10: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] chdir(tcwd); ^~~~ /usr/include/unistd.h:326:24: note: passing argument to parameter here int chdir(const char *); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/screen.c:2735:44: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] accept(s, (struct sockaddr *) &NewSock, &NsZ); ^~~~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 22 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DIRCIO_PATH=\"/usr/local/bin/ninjaio\" -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c:265:72: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(server_list[j].write, (struct sockaddr *) &sa, &salen) != -1) ^~~~~~ /usr/include/sys/socket.h:690:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c:281:72: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(server_list[j].write, (struct sockaddr *) &sa, &salen) != -1) ^~~~~~ /usr/include/sys/socket.h:690:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c:1115:14: warning: passing 'u_char[1025]' (aka 'unsigned char[1025]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gethostname(strlhost, sizeof(strlhost)); ^~~~~~~~ /usr/include/unistd.h:411:24: note: passing argument to parameter here int gethostname(char *, size_t); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c:1119:18: warning: passing 'u_char[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (getaddrinfo(strlhost, "0", &h, &r0) == 0) ^~~~~~~~ /usr/include/netdb.h:252:30: note: passing argument to parameter here int getaddrinfo(const char *, const char *, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c:1384:75: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getpeername(server_list[from_server].read, (struct sockaddr *) &sa, &salen) != -1) ^~~~~~ /usr/include/sys/socket.h:690:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c:1780:22: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] removeserver("REMS", server, NULL); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c:74:37: note: passing argument to parameter here extern void removeserver _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c:1805:19: warning: passing 'char[5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] addserver("ADDS", server, NULL); ^~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c:73:34: note: passing argument to parameter here extern void addserver _((u_char *, u_char *, u_char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/server.c:2625:28: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] close_server(from_server, "brb"); ^~~~~ 8 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:25:19: warning: returning 'char[19]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "rejected or failed"; ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:28:19: warning: returning 'char[10]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "no identd"; ^~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:31:19: warning: returning 'char[28]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "identd response != username"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:34:19: warning: returning 'char[14]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "Unknown error"; ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:44:19: warning: returning 'char[19]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "Rejected or failed"; ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:47:19: warning: returning 'char[34]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "Connection not allowed by ruleset"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:50:19: warning: returning 'char[20]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "Network unreachable"; ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:53:19: warning: returning 'char[17]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "Host unreachable"; ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:56:19: warning: returning 'char[19]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "Connection refused"; ^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:59:19: warning: returning 'char[21]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "Time to live expired"; ^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:62:19: warning: returning 'char[12]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "Bad command"; ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:65:19: warning: returning 'char[12]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "Bad address"; ^~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:68:19: warning: returning 'char[14]' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return "Unknown error"; ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:91:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(ptr, username); ^~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:91:16: warning: passing 'u_char[]' (aka 'unsigned char[]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(ptr, username); ^~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:92:18: warning: passing 'u_char[]' (aka 'unsigned char[]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr += strlen(username); ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:94:40: warning: passing 'u_char[]' (aka 'unsigned char[]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] red = write(s, socksreq, 9 + strlen(username)); ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:201:9: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] user = get_string_var(SOCKS_USERNAME_VAR); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/socks.c:202:9: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pass = get_string_var(SOCKS_PASSWORD_VAR); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/stack.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1338:16: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(num, sizeof(num)-1, CP("%lu"), server_list[window->server].away_count); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1340:16: warning: passing 'u_char[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(lbuf, sizeof(lbuf)-1, CP(away_format), num); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1569:25: warning: passing 'u_char[4096]' (aka 'unsigned char[4096]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *tmp = strip_8bit(lbuf); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ninja.h:62:34: note: passing argument to parameter here extern char *strip_8bit _((char *)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1614:13: warning: passing 'u_char[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(fuq, sizeof(fuq)-1, lag_format, ptr); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1614:33: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(fuq, sizeof(fuq)-1, lag_format, ptr); ^~~~~~~~~~ /usr/include/stdio.h:298:65: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1639:13: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(text, sizeof(text)-1, "%s", ninja_etime(timediff)); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1653:13: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(text, sizeof(text)-1, "%u", dcc_send_count); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1667:13: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(text, sizeof(text)-1, "%u", dcc_get_count); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1704:16: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf1, sizeof(tbuf1)-1, "%d%s", ops, get_string_var(STATUS_CHANOP_VAR)); ^~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1706:16: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf2, sizeof(tbuf2)-1, "%d%s", voice, get_string_var(STATUS_VOICE_VAR)); ^~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1708:16: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf3, sizeof(tbuf3)-1, "%d%s", opers, get_string_var(STATUS_OPER_VAR)); ^~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1710:16: warning: passing 'u_char[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tbuf4, sizeof(tbuf4)-1, "%d", total); ^~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1713:16: warning: passing 'u_char[160]' (aka 'unsigned char[160]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(lbuf, sizeof(lbuf)-1, users_format, tbuf1, tbuf2, tbuf3, tbuf4); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/status.c:1713:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(lbuf, sizeof(lbuf)-1, users_format, tbuf1, tbuf2, tbuf3, tbuf4); ^~~~~~~~~~~~ /usr/include/stdio.h:298:65: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ 14 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/tabkey.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/tabkey.c:34:13: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cmdchar = "/"; ^ ~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/tabkey.c:36:11: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tmp1, sizeof(tmp1)-1, "%s%s ", cmdchar, tmp); ^~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ 2 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/term.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/term.c:752:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tputs_x(thing); ^~~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircterm.h:137:28: note: expanded from macro 'tputs_x' #define tputs_x(s) (tputs(s, 0, putchar_x)) ^ /usr/include/termcap.h:66:47: note: passing argument to parameter here extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); ^ 1 warning generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DTRANSLATION_PATH=\"/usr/local/share/ninja/translation/\" -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/translat.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_HELP_PATH=\"/usr/local/share/ninja/help\" -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/vars.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/vars.c:634:10: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if ((!var->int_flags & VIF_CHANGED)) ^ ~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/vars.c:634:10: note: add parentheses after the '!' to evaluate the bitwise operator first if ((!var->int_flags & VIF_CHANGED)) ^ ( ) /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/vars.c:634:10: note: add parentheses around left hand side expression to silence this warning if ((!var->int_flags & VIF_CHANGED)) ^ ( ) 1 warning generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/vt100.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/whois.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/whois.c:430:18: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb, " ", sizeof(tb)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/whois.c:434:23: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb, "(+", sizeof(tb)-1); ^~~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/whois.c:436:23: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strmcat(tb, ")", sizeof(tb)-1); ^~~ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include/ircaux.h:83:36: note: passing argument to parameter here void strmcat _((u_char *, u_char *, size_t)); ^ /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/whois.c:1457:13: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(tb1, sizeof(tb1) - 1, "%s *!%s@%s", realnick, foo ? foo : empty_string, cluster(stuff->host)); ^~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ 4 warnings generated. cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/window.c rm -f -f info.c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/info.c /usr/bin/make info.c cd /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source;sh info.c.sh *** This is compile #1 by @pkg-builder on April 06, 2024 ln -s /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/info.c info.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -DHAVE_CONFIG_H -o ninja alias.o bans.o channels.o ckey.o crypt.o ctcp.o dcc.o debug.o dma.o edit.o enemies.o exec.o flood.o friends.o funny.o grep.o help.o history.o hold.o hook.o hosts.o how_many.o if.o ignore.o input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o menu.o mileston.o nchk_up.o ndcc.o nicks.o nincache.o ninja.o ninjacmd.o ninredir.o newio.o notice.o notify.o numbers.o operview.o orignick.o output.o p2a.o parse.o queue.o reg.o screen.o server.o socks.o stack.o status.o tabkey.o term.o translat.o vars.o vt100.o whois.o window.o info.c -lcrypt -ltermcap -L/usr/local/lib cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/wserv.c rm -f wterm.c ln -s /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/term.c wterm.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DSTTY_ONLY -c wterm.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -DHAVE_CONFIG_H -o ninjawserv wserv.o wterm.o ircsig.o -lcrypt -ltermcap -L/usr/local/lib cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircio.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DIN_IRCIO -o dmaio.o -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/dma.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -DHAVE_CONFIG_H -o ninjaio ircio.o newio.o ircsig.o dmaio.o -lcrypt -ltermcap -L/usr/local/lib cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -c /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/source/ircflush.c cc -I. -I/wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -DHAVE_CONFIG_H -o ninjaflush ircflush.o ircsig.o -lcrypt -ltermcap -L/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for irc-ninja-1.5.8.1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/ninja /wrkdirs/usr/ports/irc/ninja/work/stage/usr/local/bin install -s -m 555 /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/ninjawserv /wrkdirs/usr/ports/irc/ninja/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/irc/ninja/work/ninja-1.5.8.1/translation/* /wrkdirs/usr/ports/irc/ninja/work/stage/usr/local/share/ninja/translation ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-06T18:48:08+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=9440dea83a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for irc-ninja-1.5.8.1 ===> Building irc-ninja-1.5.8.1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for irc-ninja-1.5.8.1 build of irc/ninja | irc-ninja-1.5.8.1 ended at Sat Apr 6 19:48:41 BST 2024 build time: 00:00:32