=>> Building net/ipgrab build started at Fri Apr 5 12:27:22 BST 2024 port directory: /usr/ports/net/ipgrab package name: ipgrab-0.9.10_2 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 930 Jan 11 20:37 /usr/ports/net/ipgrab/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 03c7f3c412 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 07 ---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/07/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ipgrab-0.9.10_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/ipgrab/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/ipgrab/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/ipgrab/work/.cache HOME=/wrkdirs/usr/ports/net/ipgrab/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/ipgrab/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/ipgrab/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/net/ipgrab/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/ipgrab/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/ipgrab/work/.cache HOME=/wrkdirs/usr/ports/net/ipgrab/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/ipgrab/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/ipgrab/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 -std=gnu89 " 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-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ipgrab" EXAMPLESDIR="share/examples/ipgrab" DATADIR="share/ipgrab" WWWDIR="www/ipgrab" ETCDIR="etc/ipgrab" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ipgrab DOCSDIR=/usr/local/share/doc/ipgrab EXAMPLESDIR=/usr/local/share/examples/ipgrab WWWDIR=/usr/local/www/ipgrab ETCDIR=/usr/local/etc/ipgrab --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 ipgrab 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ipgrab-0.9.10_2 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 ===> ipgrab-0.9.10_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ipgrab-0.9.10_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ipgrab 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 ===> Fetching all distfiles required by ipgrab-0.9.10_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ipgrab 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 ===> Fetching all distfiles required by ipgrab-0.9.10_2 for building => SHA256 Checksum OK for ipgrab-0.9.10.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 ipgrab 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 ===> Fetching all distfiles required by ipgrab-0.9.10_2 for building ===> Extracting for ipgrab-0.9.10_2 => SHA256 Checksum OK for ipgrab-0.9.10.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 ipgrab-0.9.10_2 ===> Applying FreeBSD patches for ipgrab-0.9.10_2 from /usr/ports/net/ipgrab/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ipgrab-0.9.10_2 depends on file: /usr/local/include/pcap.h - not found ===> Installing existing package /packages/All/libpcap-1.10.4_2.pkg [pkg-builder.dan.net.uk] Installing libpcap-1.10.4_2... [pkg-builder.dan.net.uk] `-- Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] `-- Extracting openssl-3.0.13_1,1: .......... done [pkg-builder.dan.net.uk] Extracting libpcap-1.10.4_2: .......... done ===> ipgrab-0.9.10_2 depends on file: /usr/local/include/pcap.h - found ===> Returning to build of ipgrab-0.9.10_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ipgrab-0.9.10_2 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for main in -lintl... no checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap_close in -lpcap... yes checking for ANSI C header files... (cached) yes checking for arpa/inet.h... (cached) yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no checking for netinet/in.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/socket.h... (cached) yes checking for unistd.h... (cached) yes checking for stdarg.h... (cached) yes checking for signal.h... (cached) yes checking for sys/types.h... (cached) yes checking for ctype.h... (cached) yes checking for getopt.h... (cached) yes checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for error_at_line... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking return type of signal handlers... void checking for vprintf... (cached) yes checking for _doprnt... no checking for gettimeofday... (cached) yes checking for inet_ntoa... (cached) yes checking for memset... (cached) yes checking for strchr... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strstr... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ipgrab-0.9.10_2 cd . && /bin/sh /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/missing --run autoheader /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/missing: autoheader: not found WARNING: `autoheader' is missing on your system. You should only need it if you modified `acconfig.h' or `configure.ac'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. rm -f stamp-h1 touch ./config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged /usr/bin/make all-recursive Making all in src if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ah.o -MD -MP -MF ".deps/ah.Tpo" -c -o ah.o ah.c; then mv -f ".deps/ah.Tpo" ".deps/ah.Po"; else rm -f ".deps/ah.Tpo"; exit 1; fi ah.c:95:30: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| AH "); ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ah.c:97:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ah.c:108:32: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display("Next header", holder, strlen(holder), DISP_STRING); ^~~~~~ ./display.h:73:40: note: passing argument to parameter here inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT arp.o -MD -MP -MF ".deps/arp.Tpo" -c -o arp.o arp.c; then mv -f ".deps/arp.Tpo" ".deps/arp.Po"; else rm -f ".deps/arp.Tpo"; exit 1; fi arp.c:92:20: warning: passing 'char[18]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Sender IP address", ^~~~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ arp.c:96:20: warning: passing 'char[18]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Target IP address", ^~~~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ arp.c:162:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| ARP "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ arp.c:164:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(arp_opcode_map, arp.opcode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ arp.c:165:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 5 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT cbcp.o -MD -MP -MF ".deps/cbcp.Tpo" -c -o cbcp.o cbcp.c; then mv -f ".deps/cbcp.Tpo" ".deps/cbcp.Po"; else rm -f ".deps/cbcp.Tpo"; exit 1; fi cbcp.c:120:30: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| CBCP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:121:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(cbcp_code_map, cbcp.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:122:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:181:32: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(", "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:183:32: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:193:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(cbcp_option_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:218:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:235:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 8 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ccp.o -MD -MP -MF ".deps/ccp.Tpo" -c -o ccp.o ccp.c; then mv -f ".deps/ccp.Tpo" ".deps/ccp.Po"; else rm -f ".deps/ccp.Tpo"; exit 1; fi ccp.c:150:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| CCP "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:151:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(ccp_code_map, ccp.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:152:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:212:32: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(", "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:214:32: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:224:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(ccp_option_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:249:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:266:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 8 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT chap.o -MD -MP -MF ".deps/chap.Tpo" -c -o chap.o chap.c; then mv -f ".deps/chap.Tpo" ".deps/chap.Po"; else rm -f ".deps/chap.Tpo"; exit 1; fi chap.c:98:30: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| CHAP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:149:31: warning: passing 'char[11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("challenge "); ^~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:151:31: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("response "); ^~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:152:29: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:154:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(", "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:156:29: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:162:21: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Name", name); ^~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ chap.c:191:31: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("success "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:193:31: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("failure "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:194:29: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:196:29: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:200:21: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Message", message); ^~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ 12 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT datalink.o -MD -MP -MF ".deps/datalink.Tpo" -c -o datalink.o datalink.c; then mv -f ".deps/datalink.Tpo" ".deps/datalink.Po"; else rm -f ".deps/datalink.Tpo"; exit 1; fi datalink.c:173:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ datalink.c:178:27: warning: passing 'char[32]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(packet.timestamp); ^~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ datalink.c:179:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT dhcp.o -MD -MP -MF ".deps/dhcp.Tpo" -c -o dhcp.o dhcp.c; then mv -f ".deps/dhcp.Tpo" ".deps/dhcp.Po"; else rm -f ".deps/dhcp.Tpo"; exit 1; fi dhcp.c:164:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(dhcp_op_map, dhcp.op)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dhcp.c:165:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dhcp.c:186:20: warning: passing 'char[12]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Client addr", (u_int8_t *) &dhcp.ciaddr); ^~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:187:20: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Your addr", (u_int8_t *) &dhcp.yiaddr); ^~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:188:20: warning: passing 'char[17]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Next server addr", (u_int8_t *) &dhcp.siaddr); ^~~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:189:20: warning: passing 'char[17]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Relay agent addr", (u_int8_t *) &dhcp.giaddr); ^~~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:268:19: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4(" Mask", (u_int8_t *) holder); ^~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:295:16: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4(" Address", (u_int8_t *) holder); ^~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:347:21: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Node type", holder); ^~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:347:34: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Node type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:354:19: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4(" Address", (u_int8_t *) holder); ^~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:358:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dhcp.c:378:23: warning: passing 'char[15]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Message type", holder); ^~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:378:41: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Message type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:381:26: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(dhcp_msgtype_map, msg_type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dhcp.c:382:26: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dhcp.c:391:19: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4(" Address", (u_int8_t *) holder); ^~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:405:20: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Option", holder); ^~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:405:32: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Option", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:467:23: warning: passing 'char[16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Hardware type", (u_int8_t *) holder); ^~~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:286:2: warning: unused label 'case_DHCP_OPTION_RESLOCSERVER' [-Wunused-label] case_DHCP_OPTION_RESLOCSERVER: /* 11 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcp.c:285:2: warning: unused label 'case_DHCP_OPTION_IMPRESSSERVER' [-Wunused-label] case_DHCP_OPTION_IMPRESSSERVER: /* 10 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcp.c:287:2: warning: unused label 'case_DHCP_OPTION_SWAPSERVER' [-Wunused-label] case_DHCP_OPTION_SWAPSERVER: /* 16 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT display.o -MD -MP -MF ".deps/display.Tpo" -c -o display.o display.c; then mv -f ".deps/display.Tpo" ".deps/display.Po"; else rm -f ".deps/display.Tpo"; exit 1; fi display.c:378:20: warning: passing 'u_int8_t *' (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] len = strlen(ptr); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ display.c:390:24: warning: passing 'u_int8_t *' (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 (!isprint_str(ptr, len)) ^~~ ./utilities.h:32:33: note: passing argument to parameter here inline int isprint_str(char *, int); ^ display.c:222:20: warning: variable 'ip_holder' set but not used [-Wunused-but-set-variable] struct in_addr * ip_holder; ^ display.c:431:35: warning: passing 'u_int8_t *' (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] display_minimal(content, strlen(content), DISP_STRING); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ display.c:446:34: warning: passing 'u_int8_t *' (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] display(label, content, strlen(content), DISP_STRING_MULTILINE); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ display.c:446:11: warning: passing 'u_int8_t *' (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] display(label, content, strlen(content), DISP_STRING_MULTILINE); ^~~~~ display.c:161:28: note: passing argument to parameter 'label' here inline void display(char * label, u_int8_t * content, u_int32_t length, ^ display.c:465:18: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(label, holder); ^~~~~ display.c:444:39: note: passing argument to parameter 'label' here inline void display_string(u_int8_t * label, u_int8_t * content) ^ display.c:465:25: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(label, holder); ^~~~~~ display.c:444:57: note: passing argument to parameter 'content' here inline void display_string(u_int8_t * label, u_int8_t * content) ^ display.c:485:18: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(label, holder); ^~~~~ display.c:444:39: note: passing argument to parameter 'label' here inline void display_string(u_int8_t * label, u_int8_t * content) ^ display.c:485:25: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(label, holder); ^~~~~~ display.c:444:57: note: passing argument to parameter 'content' here inline void display_string(u_int8_t * label, u_int8_t * content) ^ display.c:500:11: warning: passing 'u_int8_t *' (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] display(label, addr, 4, DISP_DOTTEDDEC); ^~~~~ display.c:161:28: note: passing argument to parameter 'label' here inline void display(char * label, u_int8_t * content, u_int32_t length, ^ display.c:515:11: warning: passing 'u_int8_t *' (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] display(label, addr, 16, DISP_HEXCOLONS4); ^~~~~ display.c:161:28: note: passing argument to parameter 'label' here inline void display(char * label, u_int8_t * content, u_int32_t length, ^ 12 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT dns.o -MD -MP -MF ".deps/dns.Tpo" -c -o dns.o dns.c; then mv -f ".deps/dns.Tpo" ".deps/dns.Po"; else rm -f ".deps/dns.Tpo"; exit 1; fi dns.c:145:27: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(holder); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:146:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:150:19: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Query", holder); ^~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:150:28: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Query", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:153:19: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query type", holder); ^~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:153:35: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:156:19: warning: passing 'char[14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:156:36: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:219:25: warning: passing 'u_int8_t[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] parse_ns_labels(pkt, resource_data); ^~~~~~~~~~~~~ ./ns_labels.h:54:40: note: passing argument to parameter here void parse_ns_labels(packet_t *, char *); ^ dns.c:240:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:246:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:251:19: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(answer_type, holder); ^~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:251:32: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(answer_type, holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:254:19: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query type", holder); ^~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:254:35: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:257:19: warning: passing 'char[14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:257:36: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:264:21: warning: passing 'char[16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4(" Resource data", (u_int8_t *) resource_data); ^~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dns.c:268:21: warning: passing 'char[16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv6(" Resource data", (u_int8_t *) resource_data); ^~~~~~~~~~~~~~~~~ ./display.h:78:37: note: passing argument to parameter here inline void display_ipv6 (u_int8_t *, u_int8_t *); ^ dns.c:275:23: warning: passing 'char[16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Resource data", resource_data); ^~~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:351:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| DNS "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:352:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(dns_qrflag_map, f_qr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:353:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:366:22: warning: passing 'char[20]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Flag query/response", holder); ^~~~~~~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:366:45: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Flag query/response", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:369:22: warning: passing 'char[12]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Flag opcode", holder); ^~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:369:37: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Flag opcode", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:377:22: warning: passing 'char[17]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Flag return code", holder); ^~~~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:377:42: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Flag return code", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:301:40: warning: variable 'f_rd' set but not used [-Wunused-but-set-variable] u_int8_t f_qr, f_opcode, f_aa, f_tc, f_rd, f_ra, f_zero, f_rcode; ^ 30 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT dynports.o -MD -MP -MF ".deps/dynports.Tpo" -c -o dynports.o dynports.c; then mv -f ".deps/dynports.Tpo" ".deps/dynports.Po"; else rm -f ".deps/dynports.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT esp.o -MD -MP -MF ".deps/esp.Tpo" -c -o esp.o esp.c; then mv -f ".deps/esp.Tpo" ".deps/esp.Po"; else rm -f ".deps/esp.Tpo"; exit 1; fi esp.c:79:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 1 warning generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ethernet.o -MD -MP -MF ".deps/ethernet.Tpo" -c -o ethernet.o ethernet.c; then mv -f ".deps/ethernet.Tpo" ".deps/ethernet.Po"; else rm -f ".deps/ethernet.Tpo"; exit 1; fi ethernet.c:72:25: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("ETH "); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:74:25: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| ETH "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:76:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("->"); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:78:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:105:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:107:27: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:131:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:133:31: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 8 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ethertypes.o -MD -MP -MF ".deps/ethertypes.Tpo" -c -o ethertypes.o ethertypes.c; then mv -f ".deps/ethertypes.Tpo" ".deps/ethertypes.Po"; else rm -f ".deps/ethertypes.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT file.o -MD -MP -MF ".deps/file.Tpo" -c -o file.o file.c; then mv -f ".deps/file.Tpo" ".deps/file.Po"; else rm -f ".deps/file.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ftpctrl.o -MD -MP -MF ".deps/ftpctrl.Tpo" -c -o ftpctrl.o ftpctrl.c; then mv -f ".deps/ftpctrl.Tpo" ".deps/ftpctrl.Po"; else rm -f ".deps/ftpctrl.Tpo"; exit 1; fi ftpctrl.c:61:26: warning: passing 'u_int8_t *' (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 = payload + strlen(payload); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ftpctrl.c:91:27: warning: passing 'u_int8_t *' (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(replycode_str, payload, 3); ^~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ftpctrl.c:97:31: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("FTP control "); ^~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:98:31: warning: passing 'char[4]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(replycode_str); ^~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:104:23: warning: passing 'char[11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Reply code", replycode_str); ^~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:104:37: warning: passing 'char[4]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Reply code", replycode_str); ^~~~~~~~~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:105:23: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Reply", payload+4); ^~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:89:8: warning: variable 'replycode' set but not used [-Wunused-but-set-variable] int replycode; ^ ftpctrl.c:113:31: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("FTP control "); ^~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:119:23: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Reply", payload); ^~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:130:20: warning: passing 'u_int8_t *' (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 = strchr(payload, ' '); ^~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ ftpctrl.c:130:11: warning: assigning to 'u_int8_t *' (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 = strchr(payload, ' '); ^ ~~~~~~~~~~~~~~~~~~~~ ftpctrl.c:134:27: warning: passing 'u_int8_t *' (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 = payload + strlen(payload); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ftpctrl.c:141:12: warning: passing 'u_int8_t *' (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] strncpy(requestcode_str, payload, ptr - payload); ^~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ftpctrl.c:141:29: warning: passing 'u_int8_t *' (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(requestcode_str, payload, ptr - payload); ^~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ftpctrl.c:147:27: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("FTP control "); ^~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:149:34: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:155:26: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Request code", requestcode_str); ^~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:157:21: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Request", ptr+1); ^~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ 19 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi In file included from getopt.c:34: ./getopt.h:136:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void getopt.c:659:30: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (optind != argc && !strcmp (argv[optind], "--")) ^ getopt.c:659:30: note: include the header or explicitly provide a declaration for 'strcmp' getopt.c:735:7: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp (p->name, nextchar, nameend - nextchar)) ^ getopt.c:735:7: note: include the header or explicitly provide a declaration for 'strncmp' getopt.c:738:21: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] == (unsigned int) strlen (p->name)) ^ getopt.c:738:21: note: include the header or explicitly provide a declaration for 'strlen' 4 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT gre.o -MD -MP -MF ".deps/gre.Tpo" -c -o gre.o gre.c; then mv -f ".deps/gre.Tpo" ".deps/gre.Po"; else rm -f ".deps/gre.Tpo"; exit 1; fi gre.c:86:33: warning: converting the result of '<<' to a boolean; did you mean '(gre0.reserved_high << 5) != 0'? [-Wint-in-bool-context] reserved = (gre0.reserved_high << 5) || gre0.reserved_low; ^ gre.c:112:26: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| GRE v0 "); ^~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:181:26: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| GRE v0 "); ^~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:183:26: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:318:29: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| GREv1 "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:354:26: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("seq "); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:356:26: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:371:26: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("ack "); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:373:26: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:401:26: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:403:26: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 11 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT hexbuffer.o -MD -MP -MF ".deps/hexbuffer.Tpo" -c -o hexbuffer.o hexbuffer.c; then mv -f ".deps/hexbuffer.Tpo" ".deps/hexbuffer.Po"; else rm -f ".deps/hexbuffer.Tpo"; exit 1; fi hexbuffer.c:132:24: warning: passing 'u_int8_t *' (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(temp_hexbuf+(i*3), TEMPBUFFER_SIZE-1,"%.2X ", ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ hexbuffer.c:136:26: warning: passing 'u_int8_t *' (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(temp_charbuf+i, TEMPBUFFER_SIZE-1, "%c", ^~~~~~~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ hexbuffer.c:139:26: warning: passing 'u_int8_t *' (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(temp_charbuf+i, TEMPBUFFER_SIZE-1, "."); ^~~~~~~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT http.o -MD -MP -MF ".deps/http.Tpo" -c -o http.o http.c; then mv -f ".deps/http.Tpo" ".deps/http.Po"; else rm -f ".deps/http.Tpo"; exit 1; fi http.c:65:29: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = get_packet_line(line, LINE_SIZE, pkt); ^~~~ ./packet_manip.h:73:44: note: passing argument to parameter here inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); ^ http.c:81:31: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(line); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ http.c:98:22: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Header", line); ^~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ http.c:98:32: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Header", line); ^~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ 4 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT iana.o -MD -MP -MF ".deps/iana.Tpo" -c -o iana.o iana.c; then mv -f ".deps/iana.Tpo" ".deps/iana.Po"; else rm -f ".deps/iana.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT icmp.o -MD -MP -MF ".deps/icmp.Tpo" -c -o icmp.o icmp.c; then mv -f ".deps/icmp.Tpo" ".deps/icmp.Po"; else rm -f ".deps/icmp.Tpo"; exit 1; fi icmp.c:161:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:204:32: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string ( " " ); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:210:20: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Mask", (u_int8_t *) &mask.mask); ^~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ icmp.c:273:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:275:27: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:279:17: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Address", (u_int8_t *) &addr); ^~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ icmp.c:318:30: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| ICMP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:319:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(icmp_type_map, icmp.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:320:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:324:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(icmp_du_map, icmp.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:328:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(icmp_timeexceeded_map, icmp.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 11 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT icmpv6.o -MD -MP -MF ".deps/icmpv6.Tpo" -c -o icmpv6.o icmpv6.c; then mv -f ".deps/icmpv6.Tpo" ".deps/icmpv6.Po"; else rm -f ".deps/icmpv6.Tpo"; exit 1; fi icmpv6.c:114:30: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| ICMPv6 "); ^~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmpv6.c:115:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(icmpv6_type_map, icmpv6.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmpv6.c:116:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmpv6.c:126:22: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Type", holder); ^~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ icmpv6.c:126:30: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ icmpv6.c:134:19: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Code", holder); ^~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ icmpv6.c:134:27: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Code", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ icmpv6.c:216:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmpv6.c:219:15: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv6("Address", (u_int8_t *) &v6addr); ^~~~~~~~~ ./display.h:78:37: note: passing argument to parameter here inline void display_ipv6 (u_int8_t *, u_int8_t *); ^ 9 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT igmp.o -MD -MP -MF ".deps/igmp.Tpo" -c -o igmp.o igmp.c; then mv -f ".deps/igmp.Tpo" ".deps/igmp.Po"; else rm -f ".deps/igmp.Tpo"; exit 1; fi igmp.c:91:30: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| IGMP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ igmp.c:92:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(igmp_type_map, igmp.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ igmp.c:93:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ igmp.c:103:22: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Type", holder); ^~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ igmp.c:103:30: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ igmp.c:113:15: warning: passing 'char[14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Group address", (u_int8_t *) &igmp.address); ^~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ 6 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ip.o -MD -MP -MF ".deps/ip.Tpo" -c -o ip.o ip.c; then mv -f ".deps/ip.Tpo" ".deps/ip.Po"; else rm -f ".deps/ip.Tpo"; exit 1; fi ip.c:127:30: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| IP "); ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ip.c:129:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("->"); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ip.c:132:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" (len:"); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ip.c:134:30: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(",id:"); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ip.c:137:25: warning: passing 'char[4]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(",DF"); ^~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ip.c:139:25: warning: passing 'char[4]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(",MF"); ^~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ip.c:140:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(",frag:"); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ip.c:142:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ip.c:153:15: warning: passing 'u_int8_t[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] sprintf(holder, "%d (%d bytes)", hlen, hlen*4); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ ip.c:154:22: warning: passing 'char[14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Header length", holder); ^~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ip.c:161:12: warning: passing 'u_int8_t[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] sprintf(holder, "%d (%d bytes)", frag_off, frag_off*8); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ ip.c:162:19: warning: passing 'char[21]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Fragmentation offset", holder); ^~~~~~~~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ip.c:176:20: warning: passing 'char[15]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Source address", (u_int8_t *) &ip.src); ^~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ ip.c:177:20: warning: passing 'char[20]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Destination address", (u_int8_t *) &ip.dst); ^~~~~~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ ip.c:237:20: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4(" Address", (u_int8_t *) &addr); ^~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ ip.c:275:17: warning: passing 'char[15]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("IP option code", holder); ^~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ip.c:275:35: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("IP option code", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ip.c:278:27: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(holder); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ip.c:279:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ip.c:315:24: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dump_ip_recordroute(holder, opt.length-2); ^~~~~~ ip.c:214:37: note: passing argument to parameter 'rr' here void dump_ip_recordroute(u_int8_t * rr, u_int8_t len) ^ 20 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ip_protocols.o -MD -MP -MF ".deps/ip_protocols.Tpo" -c -o ip_protocols.o ip_protocols.c; then mv -f ".deps/ip_protocols.Tpo" ".deps/ip_protocols.Po"; else rm -f ".deps/ip_protocols.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ip_services.o -MD -MP -MF ".deps/ip_services.Tpo" -c -o ip_services.o ip_services.c; then mv -f ".deps/ip_services.Tpo" ".deps/ip_services.Po"; else rm -f ".deps/ip_services.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ipcp.o -MD -MP -MF ".deps/ipcp.Tpo" -c -o ipcp.o ipcp.c; then mv -f ".deps/ipcp.Tpo" ".deps/ipcp.Po"; else rm -f ".deps/ipcp.Tpo"; exit 1; fi ipcp.c:152:30: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| IPCP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipcp.c:153:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(ipcp_code_map, ipcp.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipcp.c:154:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipcp.c:214:46: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(", "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipcp.c:216:46: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipcp.c:226:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(ipcp_option_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipcp.c:263:33: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipcp.c:264:33: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipcp.c:293:33: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipcp.c:297:21: warning: passing 'char[11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("IP address", (u_int8_t *) &value); ^~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ ipcp.c:310:38: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 11 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ipgrab.o -MD -MP -MF ".deps/ipgrab.Tpo" -c -o ipgrab.o ipgrab.c; then mv -f ".deps/ipgrab.Tpo" ".deps/ipgrab.Po"; else rm -f ".deps/ipgrab.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ipv6.o -MD -MP -MF ".deps/ipv6.Tpo" -c -o ipv6.o ipv6.c; then mv -f ".deps/ipv6.Tpo" ".deps/ipv6.Po"; else rm -f ".deps/ipv6.Tpo"; exit 1; fi ipv6.c:111:30: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| IPv6 "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipv6.c:113:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("->"); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipv6.c:115:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipv6.c:130:30: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display("Next header", holder, strlen(holder), DISP_STRING); ^~~~~~ ./display.h:73:40: note: passing argument to parameter here inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ ipv6.c:132:20: warning: passing 'char[15]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv6("Source address",(u_int8_t *) &ipv6.src_addr); ^~~~~~~~~~~~~~~~ ./display.h:78:37: note: passing argument to parameter here inline void display_ipv6 (u_int8_t *, u_int8_t *); ^ ipv6.c:133:20: warning: passing 'char[20]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv6("Destination address",(u_int8_t *) &ipv6.dst_addr); ^~~~~~~~~~~~~~~~~~~~~ ./display.h:78:37: note: passing argument to parameter here inline void display_ipv6 (u_int8_t *, u_int8_t *); ^ 6 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ipx.o -MD -MP -MF ".deps/ipx.Tpo" -c -o ipx.o ipx.c; then mv -f ".deps/ipx.Tpo" ".deps/ipx.Po"; else rm -f ".deps/ipx.Tpo"; exit 1; fi ipx.c:98:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| IPX "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipx.c:100:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("->"); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ipx.c:102:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ipxrip.o -MD -MP -MF ".deps/ipxrip.Tpo" -c -o ipxrip.o ipxrip.c; then mv -f ".deps/ipxrip.Tpo" ".deps/ipxrip.Po"; else rm -f ".deps/ipxrip.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT isakmp.o -MD -MP -MF ".deps/isakmp.Tpo" -c -o isakmp.o isakmp.c; then mv -f ".deps/isakmp.Tpo" ".deps/isakmp.Po"; else rm -f ".deps/isakmp.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT l2tp.o -MD -MP -MF ".deps/l2tp.Tpo" -c -o l2tp.o l2tp.c; then mv -f ".deps/l2tp.Tpo" ".deps/l2tp.Po"; else rm -f ".deps/l2tp.Tpo"; exit 1; fi l2tp.c:337:26: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(l2tp_ctrl_map, attr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ l2tp.c:338:26: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ l2tp.c:364:23: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Name", attribute); ^~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ l2tp.c:477:25: warning: passing 'char[16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| L2TP control "); ^~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ l2tp.c:479:25: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| L2TP data "); ^~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ l2tp.c:535:30: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("tunnel "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ l2tp.c:537:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ l2tp.c:538:30: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("session "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ l2tp.c:540:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 9 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT layers.o -MD -MP -MF ".deps/layers.Tpo" -c -o layers.o layers.c; then mv -f ".deps/layers.Tpo" ".deps/layers.Po"; else rm -f ".deps/layers.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT lcp.o -MD -MP -MF ".deps/lcp.Tpo" -c -o lcp.o lcp.c; then mv -f ".deps/lcp.Tpo" ".deps/lcp.Po"; else rm -f ".deps/lcp.Tpo"; exit 1; fi lcp.c:184:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| LCP "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ lcp.c:185:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(lcp_code_map, lcp.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ lcp.c:186:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ lcp.c:246:32: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(", "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ lcp.c:248:32: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ lcp.c:258:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(lcp_option_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ lcp.c:283:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ lcp.c:300:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ lcp.c:358:26: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ lcp.c:384:23: warning: passing 'u_int8_t *' (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 (isprint_str(data, data_len)) ^~~~ ./utilities.h:32:33: note: passing argument to parameter here inline int isprint_str(char *, int); ^ lcp.c:385:24: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Data", data); ^~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ lcp.c:421:26: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 12 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT llc.o -MD -MP -MF ".deps/llc.Tpo" -c -o llc.o llc.c; then mv -f ".deps/llc.Tpo" ".deps/llc.Po"; else rm -f ".deps/llc.Tpo"; exit 1; fi llc.c:63:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| LLC "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ llc.c:65:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ llc.c:67:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ llc.c:95:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ llc.c:145:27: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("SNAP "); ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ llc.c:147:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 6 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT loopback.o -MD -MP -MF ".deps/loopback.Tpo" -c -o loopback.o loopback.c; then mv -f ".deps/loopback.Tpo" ".deps/loopback.Po"; else rm -f ".deps/loopback.Tpo"; exit 1; fi loopback.c:60:25: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("LOOPBACK "); ^~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ loopback.c:62:25: warning: passing 'char[12]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| LOOPBACK "); ^~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 2 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT mgcp.o -MD -MP -MF ".deps/mgcp.Tpo" -c -o mgcp.o mgcp.c; then mv -f ".deps/mgcp.Tpo" ".deps/mgcp.Po"; else rm -f ".deps/mgcp.Tpo"; exit 1; fi mgcp.c:47:18: warning: passing 'u_int8_t *' (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 ( !strncmp(pkt->current,"EPCF",4) ) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mgcp.c:48:18: warning: passing 'u_int8_t *' (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 ( !strncmp(pkt->current,"RQNT",4) ) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mgcp.c:49:18: warning: passing 'u_int8_t *' (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 ( !strncmp(pkt->current,"NTFY",4) ) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mgcp.c:50:18: warning: passing 'u_int8_t *' (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 ( !strncmp(pkt->current,"CRCX",4) ) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mgcp.c:51:18: warning: passing 'u_int8_t *' (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 ( !strncmp(pkt->current,"MDCX",4) ) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mgcp.c:52:18: warning: passing 'u_int8_t *' (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 ( !strncmp(pkt->current,"DLCX",4) ) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mgcp.c:53:18: warning: passing 'u_int8_t *' (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 ( !strncmp(pkt->current,"AUEP",4) ) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mgcp.c:54:18: warning: passing 'u_int8_t *' (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 ( !strncmp(pkt->current,"AUCX",4) ) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mgcp.c:55:18: warning: passing 'u_int8_t *' (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 ( !strncmp(pkt->current,"RSIP",4) ) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ 9 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT mobileip.o -MD -MP -MF ".deps/mobileip.Tpo" -c -o mobileip.o mobileip.c; then mv -f ".deps/mobileip.Tpo" ".deps/mobileip.Po"; else rm -f ".deps/mobileip.Tpo"; exit 1; fi mobileip.c:321:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(mobileip_ext_map, ss.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:322:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:396:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(mobileip_ext_map, cvse.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:397:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:451:24: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (get_packet_bytes(nai, pkt, length) == 0) ^~~ ./packet_manip.h:71:45: note: passing argument to parameter here inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ mobileip.c:463:22: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" NAI", nai); ^~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ mobileip.c:463:31: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" NAI", nai); ^~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ mobileip.c:496:13: warning: assigning to 'u_int8_t *' (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] challenge = (char *) malloc (length+2); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mobileip.c:597:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(mobileip_ext_map, mh.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:598:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:643:28: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| Mobile IP "); ^~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:667:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(mobileip_type_map, regreq.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:668:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" ("); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:669:29: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("addr:"); ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:671:29: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(",HA:"); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:673:29: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(",COA:"); ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:675:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:682:19: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Home address", (u_int8_t *) ®req.home_addr); ^~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ mobileip.c:683:19: warning: passing 'char[11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Home agent", (u_int8_t *) ®req.home_agent); ^~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ mobileip.c:684:19: warning: passing 'char[16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Care of address", (u_int8_t *) ®req.care_of_addr); ^~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ mobileip.c:705:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(mobileip_type_map, regrep.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:706:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" ("); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:707:29: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("addr:"); ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:709:29: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(",HA:"); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:711:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:718:19: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Home address", (u_int8_t *) ®rep.home_addr); ^~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ mobileip.c:719:19: warning: passing 'char[11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Home agent", (u_int8_t *) ®rep.home_agent); ^~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ mobileip.c:738:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(mobileip_type_map, regupdate.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:739:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" ("); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:740:29: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("addr:"); ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:742:29: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(",HA:"); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:744:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:750:19: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Home address", (u_int8_t *) ®update.home_addr); ^~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ mobileip.c:751:19: warning: passing 'char[11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Home agent", (u_int8_t *) ®update.home_agent); ^~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ mobileip.c:772:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(mobileip_type_map, regack.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:773:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" ("); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:774:29: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("addr:"); ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:776:29: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(",HA:"); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:778:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ mobileip.c:785:19: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Home address", (u_int8_t *) ®ack.home_addr); ^~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ mobileip.c:786:19: warning: passing 'char[11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Home agent", (u_int8_t *) ®ack.home_agent); ^~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ 41 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT mppc.o -MD -MP -MF ".deps/mppc.Tpo" -c -o mppc.o mppc.c; then mv -f ".deps/mppc.Tpo" ".deps/mppc.Po"; else rm -f ".deps/mppc.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT netbios_ns.o -MD -MP -MF ".deps/netbios_ns.Tpo" -c -o netbios_ns.o netbios_ns.c; then mv -f ".deps/netbios_ns.Tpo" ".deps/netbios_ns.Po"; else rm -f ".deps/netbios_ns.Tpo"; exit 1; fi netbios_ns.c:220:27: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(holder); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ netbios_ns.c:221:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ netbios_ns.c:225:19: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Query", holder); ^~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:225:28: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Query", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:228:19: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Type", holder); ^~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:228:29: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:231:19: warning: passing 'char[14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:231:36: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:302:25: warning: passing 'u_int8_t[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] parse_ns_labels(pkt, resource_data); ^~~~~~~~~~~~~ ./ns_labels.h:54:40: note: passing argument to parameter here void parse_ns_labels(packet_t *, char *); ^ netbios_ns.c:326:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ netbios_ns.c:331:19: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(answer_type, holder); ^~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:331:32: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(answer_type, holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:334:19: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query type", holder); ^~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:334:35: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:337:19: warning: passing 'char[14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:337:36: warning: passing 'char[256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:345:21: warning: passing 'char[16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4(" Resource data", (u_int8_t *) resource_data); ^~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ netbios_ns.c:349:23: warning: passing 'char[16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Resource data", resource_data); ^~~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:409:29: warning: converting the result of '<<' to a boolean; did you mean '(nb_ns.flags_high << 4) != 0'? [-Wint-in-bool-context] flags = (nb_ns.flags_high << 4) || nb_ns.flags_low; ^ netbios_ns.c:428:30: warning: passing 'char[14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| NETBIOS NS "); ^~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ netbios_ns.c:429:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(netbios_ns_r_map, r)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ netbios_ns.c:430:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ netbios_ns.c:440:16: warning: passing 'u_int8_t[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(holder, HOLDER_SIZE, "%d (%s)", r, ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ netbios_ns.c:442:22: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("R", holder); ^~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:443:16: warning: passing 'u_int8_t[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(holder, HOLDER_SIZE, "%d (%s)", opcode, ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ netbios_ns.c:445:22: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Opcode", holder); ^~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:446:16: warning: passing 'u_int8_t[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(holder, HOLDER_SIZE, "%d (%s)", rcode, ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ netbios_ns.c:448:22: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Rcode", holder); ^~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ netbios_ns.c:377:52: warning: variable 'flag_zeros' set but not used [-Wunused-but-set-variable] u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; ^ netbios_ns.c:377:16: warning: variable 'flag_aa' set but not used [-Wunused-but-set-variable] u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; ^ netbios_ns.c:377:64: warning: variable 'flag_b' set but not used [-Wunused-but-set-variable] u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; ^ netbios_ns.c:377:43: warning: variable 'flag_ra' set but not used [-Wunused-but-set-variable] u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; ^ netbios_ns.c:377:34: warning: variable 'flag_rd' set but not used [-Wunused-but-set-variable] u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; ^ netbios_ns.c:377:25: warning: variable 'flag_tc' set but not used [-Wunused-but-set-variable] u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; ^ netbios_ns.c:440:7: warning: 'snprintf' size argument is too large; destination buffer has size 64, but size argument is 256 [-Wfortify-source] snprintf(holder, HOLDER_SIZE, "%d (%s)", r, ^ netbios_ns.c:443:7: warning: 'snprintf' size argument is too large; destination buffer has size 64, but size argument is 256 [-Wfortify-source] snprintf(holder, HOLDER_SIZE, "%d (%s)", opcode, ^ netbios_ns.c:446:7: warning: 'snprintf' size argument is too large; destination buffer has size 64, but size argument is 256 [-Wfortify-source] snprintf(holder, HOLDER_SIZE, "%d (%s)", rcode, ^ 37 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT nntp.o -MD -MP -MF ".deps/nntp.Tpo" -c -o nntp.o nntp.c; then mv -f ".deps/nntp.Tpo" ".deps/nntp.Po"; else rm -f ".deps/nntp.Tpo"; exit 1; fi nntp.c:77:30: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| NNTP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 1 warning generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ns_labels.o -MD -MP -MF ".deps/ns_labels.Tpo" -c -o ns_labels.o ns_labels.c; then mv -f ".deps/ns_labels.Tpo" ".deps/ns_labels.Po"; else rm -f ".deps/ns_labels.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT open_pcap.o -MD -MP -MF ".deps/open_pcap.Tpo" -c -o open_pcap.o open_pcap.c; then mv -f ".deps/open_pcap.Tpo" ".deps/open_pcap.Po"; else rm -f ".deps/open_pcap.Tpo"; exit 1; fi open_pcap.c:74:17: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] my_args->i = pcap_lookupdev(errorbuf); ^ /usr/local/include/pcap/pcap.h:394:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") ^ /usr/local/include/pcap/funcattrs.h:307:47: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) ^ 1 warning generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ospf.o -MD -MP -MF ".deps/ospf.Tpo" -c -o ospf.o ospf.c; then mv -f ".deps/ospf.Tpo" ".deps/ospf.Po"; else rm -f ".deps/ospf.Tpo"; exit 1; fi ospf.c:95:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ospf.c:99:20: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Netmask", (u_int8_t *) &ospf_hello.netmask); ^~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ ospf.c:107:20: warning: passing 'char[18]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Designated router", ^~~~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ ospf.c:109:20: warning: passing 'char[14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Backup router", (u_int8_t *) &ospf_hello.backup_router); ^~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ ospf.c:125:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ospf.c:128:15: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Neighbor", (u_int8_t *) &neighbor); ^~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ ospf.c:178:30: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| OSPF "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ospf.c:179:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(ospf_type_map, ospf.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ospf.c:180:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ospf.c:182:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ospf.c:192:22: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Type", holder); ^~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ospf.c:192:30: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ospf.c:194:20: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Router ID", (u_int8_t *) &ospf.router_id); ^~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ ospf.c:195:20: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Area ID", (u_int8_t *) &ospf.area_id); ^~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ ospf.c:199:22: warning: passing 'char[15]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Authentication", holder); ^~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ospf.c:199:40: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Authentication", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ 16 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT packet_manip.o -MD -MP -MF ".deps/packet_manip.Tpo" -c -o packet_manip.o packet_manip.c; then mv -f ".deps/packet_manip.Tpo" ".deps/packet_manip.Po"; else rm -f ".deps/packet_manip.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT padding.o -MD -MP -MF ".deps/padding.Tpo" -c -o padding.o padding.c; then mv -f ".deps/padding.Tpo" ".deps/padding.Po"; else rm -f ".deps/padding.Tpo"; exit 1; fi padding.c:56:29: warning: passing 'char[1500]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (get_packet_bytestoend(holder, pkt, bytes) == 0) ^~~~~~ ./packet_manip.h:72:50: note: passing argument to parameter here inline int get_packet_bytestoend(u_int8_t *, packet_t *, unsigned int); ^ 1 warning generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT parse_cl.o -MD -MP -MF ".deps/parse_cl.Tpo" -c -o parse_cl.o parse_cl.c; then mv -f ".deps/parse_cl.Tpo" ".deps/parse_cl.Po"; else rm -f ".deps/parse_cl.Tpo"; exit 1; fi In file included from parse_cl.c:21: ./getopt.h:136:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void parse_cl.c:163:3: warning: implicit declaration of function 'my_free' [-Wimplicit-function-declaration] my_free(my_args); ^ parse_cl.c:206:30: warning: implicit declaration of function 'my_malloc' [-Wimplicit-function-declaration] my_args = (struct arg_t *) my_malloc (sizeof(struct arg_t)); ^ parse_cl.c:206:13: warning: cast to 'struct arg_t *' from smaller integer type 'int' [-Wint-to-pointer-cast] my_args = (struct arg_t *) my_malloc (sizeof(struct arg_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT payload.o -MD -MP -MF ".deps/payload.Tpo" -c -o payload.o payload.c; then mv -f ".deps/payload.Tpo" ".deps/payload.Po"; else rm -f ".deps/payload.Tpo"; exit 1; fi payload.c:61:24: warning: passing 'char[1500]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (get_packet_bytes(holder, pkt, bytes) == 0) ^~~~~~ ./packet_manip.h:71:45: note: passing argument to parameter here inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ 1 warning generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ppp.o -MD -MP -MF ".deps/ppp.Tpo" -c -o ppp.o ppp.c; then mv -f ".deps/ppp.Tpo" ".deps/ppp.Po"; else rm -f ".deps/ppp.Tpo"; exit 1; fi ppp.c:130:27: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| PPP "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ppp.c:178:27: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("PPP "); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ppp.c:286:24: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (get_packet_bytes(holder_before, pkt, length) == 0) ^~~~~~~~~~~~~ ./packet_manip.h:71:45: note: passing argument to parameter here inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ ppp.c:320:23: warning: assigning to 'u_int8_t *' (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] hdlc_frame.contents = holder_after; ^ ~~~~~~~~~~~~ 4 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT pppoe.o -MD -MP -MF ".deps/pppoe.Tpo" -c -o pppoe.o pppoe.c; then mv -f ".deps/pppoe.Tpo" ".deps/pppoe.Po"; else rm -f ".deps/pppoe.Tpo"; exit 1; fi pppoe.c:141:30: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| PPPOE "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 1 warning generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT pptp.o -MD -MP -MF ".deps/pptp.Tpo" -c -o pptp.o pptp.c; then mv -f ".deps/pptp.Tpo" ".deps/pptp.Po"; else rm -f ".deps/pptp.Tpo"; exit 1; fi pptp.c:111:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:124:22: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Host name", hdr.hostname); ^~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ pptp.c:125:22: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Vendor", hdr.vendor); ^~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ pptp.c:169:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:183:22: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Host name", hdr.hostname); ^~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ pptp.c:184:22: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Vendor", hdr.vendor); ^~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ pptp.c:234:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:251:22: warning: passing 'char[13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Phone number", hdr.phone_num); ^~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ pptp.c:252:22: warning: passing 'char[11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Subaddress", hdr.subaddress); ^~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ pptp.c:296:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:352:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:399:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:444:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:499:30: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| PPTP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:500:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(pptp_msgtype_map, ^~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:502:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:503:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(pptp_cntlmsgtype_map, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ pptp.c:505:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 18 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT radius.o -MD -MP -MF ".deps/radius.Tpo" -c -o radius.o radius.c; then mv -f ".deps/radius.Tpo" ".deps/radius.Po"; else rm -f ".deps/radius.Tpo"; exit 1; fi radius.c:185:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(radius_attr_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:186:29: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("["); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:187:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(iana_enterprise_map, vendor)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:188:29: warning: passing 'char[4]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("]: "); ^~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:249:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(radius_attr_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:250:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(": "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:257:21: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" Value", username); ^~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ radius.c:285:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(radius_attr_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:286:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(": "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:312:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(radius_attr_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:313:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(": "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:344:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(radius_attr_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:345:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(": "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:393:30: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| RADIUS "); ^~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:394:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(radius_code_map, radius.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:395:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:397:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" ("); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:420:25: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(", "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius.c:427:28: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 19 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT radius_3gpp2.o -MD -MP -MF ".deps/radius_3gpp2.Tpo" -c -o radius_3gpp2.o radius_3gpp2.c; then mv -f ".deps/radius_3gpp2.Tpo" ".deps/radius_3gpp2.Po"; else rm -f ".deps/radius_3gpp2.Tpo"; exit 1; fi radius_3gpp2.c:163:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(radius_attr_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius_3gpp2.c:164:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("["); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius_3gpp2.c:165:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(iana_enterprise_map, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius_3gpp2.c:167:30: warning: passing 'char[4]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("]: "); ^~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius_3gpp2.c:168:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(radius_attr_3gpp2_map, vendortype)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ radius_3gpp2.c:169:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 6 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT raw.o -MD -MP -MF ".deps/raw.Tpo" -c -o raw.o raw.c; then mv -f ".deps/raw.Tpo" ".deps/raw.Po"; else rm -f ".deps/raw.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT rip.o -MD -MP -MF ".deps/rip.Tpo" -c -o rip.o rip.c; then mv -f ".deps/rip.Tpo" ".deps/rip.Po"; else rm -f ".deps/rip.Tpo"; exit 1; fi rip.c:94:27: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| RIPv1 "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rip.c:95:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(rip_command_map, ripv1.command)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rip.c:96:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rip.c:105:19: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Command", holder); ^~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ rip.c:105:30: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Command", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ rip.c:143:21: warning: passing 'char[11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("IP address", (u_int8_t *) &ripv1_route.ipaddr); ^~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ rip.c:177:27: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| RIPv2 "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rip.c:178:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(rip_command_map, ripv2.command)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rip.c:179:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rip.c:188:19: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Command", holder); ^~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ rip.c:188:30: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Command", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ rip.c:236:20: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Password", ripv2_auth.passwd); ^~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ rip.c:268:18: warning: passing 'char[11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("IP address", (u_int8_t *) &ripv2_route.ipaddr); ^~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ rip.c:269:18: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Netmask", (u_int8_t *) &ripv2_route.netmask); ^~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ rip.c:270:18: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv4("Next hop", (u_int8_t *) &ripv2_route.next_hop); ^~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ rip.c:283:30: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" routes "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 16 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ripng.o -MD -MP -MF ".deps/ripng.Tpo" -c -o ripng.o ripng.c; then mv -f ".deps/ripng.Tpo" ".deps/ripng.Po"; else rm -f ".deps/ripng.Tpo"; exit 1; fi ripng.c:76:30: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| RIPng "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ripng.c:77:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(ripng_command_map, ripng.command)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ripng.c:78:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ripng.c:87:22: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Command", holder); ^~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ripng.c:87:33: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Command", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ripng.c:120:17: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_ipv6("Address", (u_int8_t *) &ripng_route.address); ^~~~~~~~~ ./display.h:78:37: note: passing argument to parameter here inline void display_ipv6 (u_int8_t *, u_int8_t *); ^ ripng.c:135:30: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" routes "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 7 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT rsvp.o -MD -MP -MF ".deps/rsvp.Tpo" -c -o rsvp.o rsvp.c; then mv -f ".deps/rsvp.Tpo" ".deps/rsvp.Po"; else rm -f ".deps/rsvp.Tpo"; exit 1; fi rsvp.c:106:32: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string ( " |RSVPv" ); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rsvp.c:108:32: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string ( " " ); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rsvp.c:109:32: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string ( map2str ( rsvp_msgtype_map, rsvp.msg_type ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT rtcp.o -MD -MP -MF ".deps/rtcp.Tpo" -c -o rtcp.o rtcp.c; then mv -f ".deps/rtcp.Tpo" ".deps/rtcp.Po"; else rm -f ".deps/rtcp.Tpo"; exit 1; fi rtcp.c:170:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtcp.c:210:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtcp.c:261:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtcp.c:288:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtcp.c:345:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtcp.c:370:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtcp.c:376:23: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string(" SDES", string); ^~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ rtcp.c:438:27: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| RTCPv"); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtcp.c:440:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtcp.c:441:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(rtcp_packettype_map, packet_type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtcp.c:442:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtcp.c:414:17: warning: variable 'bytes_remaining' set but not used [-Wunused-but-set-variable] u_int16_t bytes_remaining; ^ 12 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT rtp.o -MD -MP -MF ".deps/rtp.Tpo" -c -o rtp.o rtp.c; then mv -f ".deps/rtp.Tpo" ".deps/rtp.Po"; else rm -f ".deps/rtp.Tpo"; exit 1; fi rtp.c:180:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| RTPv"); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtp.c:182:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" ("); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtp.c:183:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(rtp_payloadtype_map, payload_type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtp.c:184:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(","); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ rtp.c:186:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 5 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT sdp.o -MD -MP -MF ".deps/sdp.Tpo" -c -o sdp.o sdp.c; then mv -f ".deps/sdp.Tpo" ".deps/sdp.Po"; else rm -f ".deps/sdp.Tpo"; exit 1; fi sdp.c:56:30: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("SDP "); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ sdp.c:67:26: warning: passing 'char[1500]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = get_packet_line(line, length-total_length, pkt); ^~~~ ./packet_manip.h:73:44: note: passing argument to parameter here inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); ^ 2 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT sip.o -MD -MP -MF ".deps/sip.Tpo" -c -o sip.o sip.c; then mv -f ".deps/sip.Tpo" ".deps/sip.Po"; else rm -f ".deps/sip.Tpo"; exit 1; fi sip.c:67:26: warning: passing 'char[1500]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = get_packet_line(line, LINE_SIZE, pkt); ^~~~ ./packet_manip.h:73:44: note: passing argument to parameter here inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); ^ sip.c:147:30: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("SIP "); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ sip.c:149:29: warning: passing 'char[1500]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = get_packet_line(line, LINE_SIZE, pkt); ^~~~ ./packet_manip.h:73:44: note: passing argument to parameter here inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); ^ sip.c:152:27: warning: passing 'char[1500]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(line); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ sip.c:153:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 5 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT slip.o -MD -MP -MF ".deps/slip.Tpo" -c -o slip.o slip.c; then mv -f ".deps/slip.Tpo" ".deps/slip.Po"; else rm -f ".deps/slip.Tpo"; exit 1; fi slip.c:64:25: warning: passing 'char[6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("SLIP "); ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ slip.c:66:25: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| SLIP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 2 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT slp.o -MD -MP -MF ".deps/slp.Tpo" -c -o slp.o slp.c; then mv -f ".deps/slp.Tpo" ".deps/slp.Po"; else rm -f ".deps/slp.Tpo"; exit 1; fi slp.c:90:27: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| SLPv1 "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ slp.c:91:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(slp_msgtype_map, slpv1.function_id)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ slp.c:92:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ slp.c:103:19: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Operation", holder); ^~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ slp.c:103:32: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Operation", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ slp.c:131:27: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| SLPv2 "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ slp.c:132:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(slp_msgtype_map, slpv2.function_id)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ slp.c:133:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ slp.c:144:19: warning: passing 'char[10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Operation", holder); ^~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ slp.c:144:32: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Operation", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ 10 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT snmp.o -MD -MP -MF ".deps/snmp.Tpo" -c -o snmp.o snmp.c; then mv -f ".deps/snmp.Tpo" ".deps/snmp.Po"; else rm -f ".deps/snmp.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT spx.o -MD -MP -MF ".deps/spx.Tpo" -c -o spx.o spx.c; then mv -f ".deps/spx.Tpo" ".deps/spx.Po"; else rm -f ".deps/spx.Tpo"; exit 1; fi spx.c:72:27: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| SPX "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ 1 warning generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT ssh.o -MD -MP -MF ".deps/ssh.Tpo" -c -o ssh.o ssh.c; then mv -f ".deps/ssh.Tpo" ".deps/ssh.Po"; else rm -f ".deps/ssh.Tpo"; exit 1; fi ssh.c:80:19: warning: passing 'u_int8_t *' (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 (isprint_str(payload, size)) ^~~~~~~ ./utilities.h:32:33: note: passing argument to parameter here inline int isprint_str(char *, int); ^ ssh.c:85:27: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ssh.c:91:19: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Version", payload); ^~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ 3 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT state.o -MD -MP -MF ".deps/state.Tpo" -c -o state.o state.c; then mv -f ".deps/state.Tpo" ".deps/state.Po"; else rm -f ".deps/state.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT stats.o -MD -MP -MF ".deps/stats.Tpo" -c -o stats.o stats.c; then mv -f ".deps/stats.Tpo" ".deps/stats.Po"; else rm -f ".deps/stats.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT strmap.o -MD -MP -MF ".deps/strmap.Tpo" -c -o strmap.o strmap.c; then mv -f ".deps/strmap.Tpo" ".deps/strmap.Po"; else rm -f ".deps/strmap.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT tcp.o -MD -MP -MF ".deps/tcp.Tpo" -c -o tcp.o tcp.c; then mv -f ".deps/tcp.Tpo" ".deps/tcp.Po"; else rm -f ".deps/tcp.Tpo"; exit 1; fi tcp.c:91:23: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Option", holder); ^~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ tcp.c:91:33: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Option", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ tcp.c:101:19: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Option", holder); ^~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ tcp.c:101:29: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Option", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ tcp.c:105:27: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("<"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:106:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(tcp_option_map, kind)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:136:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:138:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(">"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:147:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:149:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(">"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:167:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:169:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:171:31: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(">"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:187:29: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(">"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:198:28: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:282:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| TCP "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:284:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("->"); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:286:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" ("); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:287:23: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal(flag_str, strlen(flag_str), DISP_STRING); ^~~~~~~~ ./display.h:79:40: note: passing argument to parameter here inline void display_minimal (u_int8_t *, u_int32_t, display_t); ^ tcp.c:288:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(","); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:290:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(","); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:292:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(","); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:294:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tcp.c:313:22: warning: passing 'char[14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Header length", holder); ^~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ tcp.c:313:39: warning: passing 'char[64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Header length", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ 25 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT tftp.o -MD -MP -MF ".deps/tftp.Tpo" -c -o tftp.o tftp.c; then mv -f ".deps/tftp.Tpo" ".deps/tftp.Po"; else rm -f ".deps/tftp.Tpo"; exit 1; fi tftp.c:80:28: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| TFTP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:98:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(tftp_opcode_map, opcode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:99:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" ("); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:101:29: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(","); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:103:29: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:108:21: warning: passing 'char[9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Filename", filename); ^~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ tftp.c:109:21: warning: passing 'char[5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Mode", mode); ^~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ tftp.c:149:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(tftp_opcode_map, opcode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:150:29: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" block "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:182:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(tftp_opcode_map, opcode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:183:29: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" block "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:225:29: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(map2str(tftp_opcode_map, opcode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:226:29: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" ("); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:228:29: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(","); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:230:29: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ tftp.c:236:21: warning: passing 'char[8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_string("Message", msg); ^~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ 16 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT udp.o -MD -MP -MF ".deps/udp.Tpo" -c -o udp.o udp.c; then mv -f ".deps/udp.Tpo" ".deps/udp.Po"; else rm -f ".deps/udp.Tpo"; exit 1; fi udp.c:77:30: warning: passing 'char[7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("| UDP "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ udp.c:79:30: warning: passing 'char[3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string("->"); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ udp.c:81:30: warning: passing 'char[2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ udp.c:92:20: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display("Length", (char *) &udp.length, 2, DISP_DEC); ^~~~~~~~~~~~~~~~~~~~ ./display.h:73:40: note: passing argument to parameter here inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ udp.c:93:22: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] display("Checksum", (char *) &udp.checksum, 2, DISP_DEC); ^~~~~~~~~~~~~~~~~~~~~~ ./display.h:73:40: note: passing argument to parameter here inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ 5 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -MT utilities.o -MD -MP -MF ".deps/utilities.Tpo" -c -o utilities.o utilities.c; then mv -f ".deps/utilities.Tpo" ".deps/utilities.Po"; else rm -f ".deps/utilities.Tpo"; exit 1; fi cc -Wall -Wstrict-prototypes -Wformat -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -fstack-protector-strong -o ipgrab ah.o arp.o cbcp.o ccp.o chap.o datalink.o dhcp.o display.o dns.o dynports.o error.o esp.o ethernet.o ethertypes.o file.o ftpctrl.o getopt.o gre.o hexbuffer.o http.o iana.o icmp.o icmpv6.o igmp.o ip.o ip_protocols.o ip_services.o ipcp.o ipgrab.o ipv6.o ipx.o ipxrip.o isakmp.o l2tp.o layers.o lcp.o llc.o loopback.o mgcp.o mobileip.o mppc.o netbios_ns.o nntp.o ns_labels.o open_pcap.o ospf.o packet_manip.o padding.o parse_cl.o payload.o ppp.o pppoe.o pptp.o radius.o radius_3gpp2.o raw.o rip.o ripng.o rsvp.o rtcp.o rtp.o sdp.o sip.o slip.o slp.o snmp.o spx.o ssh.o state.o stats.o strmap.o tcp.o tftp.o udp.o utilities.o -L/usr/local/lib -lpcap Making all in doc Updating ./version.texi restore=: && backupdir=".am$$" && rm -rf $backupdir && mkdir $backupdir && if (/bin/sh /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/missing --run makeinfo --version) >/dev/null 2>&1; then for f in ipgrab.info ipgrab.info-[0-9] ipgrab.info-[0-9][0-9] ipgrab.i[0-9] ipgrab.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else :; fi && if /bin/sh /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/missing --run makeinfo -I . -o ipgrab.info `test -f 'ipgrab.texi' || echo './'`ipgrab.texi; then rc=0; else rc=$?; $restore $backupdir/* `echo "./ipgrab.info" | sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/missing: makeinfo: not found WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy `make' (AIX, DU, IRIX). You might want to install the `Texinfo' package or the `GNU make' package. Grab either from any GNU archive site. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ipgrab-0.9.10_2 depends on executable: indexinfo - not found ===> Installing existing package /packages/All/indexinfo-0.3.1.pkg [pkg-builder.dan.net.uk] Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] Extracting indexinfo-0.3.1: . done ===> ipgrab-0.9.10_2 depends on executable: indexinfo - found ===> Returning to build of ipgrab-0.9.10_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ipgrab-0.9.10_2 ===> Generating temporary packing list install -m 444 /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/doc/ipgrab.8 /wrkdirs/usr/ports/net/ipgrab/work/stage/usr/local/share/man/man8/ install -m 0644 /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/doc/ipgrab.info /wrkdirs/usr/ports/net/ipgrab/work/stage/usr/local/share/info install -s -m 555 /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/src/ipgrab /wrkdirs/usr/ports/net/ipgrab/work/stage/usr/local/bin/ install -m 0644 /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/README /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/AUTHORS /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/COPYING /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/ChangeLog /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/DEVELOPER-HOWTO /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/INSTALL /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/NEWS /wrkdirs/usr/ports/net/ipgrab/work/ipgrab-0.9.10/TODO /wrkdirs/usr/ports/net/ipgrab/work/stage/usr/local/share/doc/ipgrab/ ====> 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-05T11:27:22+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=03c7f3c412' '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 ipgrab-0.9.10_2 ===> Building ipgrab-0.9.10_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ipgrab-0.9.10_2 build of net/ipgrab | ipgrab-0.9.10_2 ended at Fri Apr 5 12:27:52 BST 2024 build time: 00:00:30