=>> Building security/ratproxy build started at Thu Dec 11 12:11:27 EST 2025 port directory: /usr/ports/security/ratproxy package name: ratproxy-1.58 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: skreuzer@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 814 Aug 27 2024 /usr/ports/security/ratproxy/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 06 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- skreuzer@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/ratproxy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/ratproxy/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/ratproxy/work/.cache HOME=/wrkdirs/usr/ports/security/ratproxy/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/ratproxy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/ratproxy/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/ratproxy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/ratproxy/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/ratproxy/work/.cache HOME=/wrkdirs/usr/ports/security/ratproxy/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/ratproxy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/ratproxy/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 -I/usr/include -fcommon -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/include -fcommon -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ratproxy" EXAMPLESDIR="share/examples/ratproxy" DATADIR="share/ratproxy" WWWDIR="www/ratproxy" ETCDIR="etc/ratproxy" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ratproxy DOCSDIR=/usr/local/share/doc/ratproxy EXAMPLESDIR=/usr/local/share/examples/ratproxy WWWDIR=/usr/local/www/ratproxy ETCDIR=/usr/local/etc/ratproxy --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ratproxy-1.58 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> ratproxy-1.58 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ratproxy-1.58 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ratproxy-1.58 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ratproxy-1.58 for building => SHA256 Checksum OK for ratproxy-1.58.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ratproxy-1.58 for building ===> Extracting for ratproxy-1.58 => SHA256 Checksum OK for ratproxy-1.58.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 ratproxy-1.58 ===> Applying FreeBSD patches for ratproxy-1.58 from /usr/ports/security/ratproxy/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ratproxy-1.58 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> ratproxy-1.58 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ratproxy-1.58 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ratproxy-1.58 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ratproxy-1.58 --- ratproxy --- cc ratproxy.c -o ratproxy -O2 -pipe -I/usr/include -fcommon -fstack-protector-strong -fno-strict-aliasing http.c mime.c ssl.c -L/usr/lib -lcrypto -lssl In file included from ratproxy.c:46: ./config.h:99:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | "login", | ^~~~~~~ ./config.h:100:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 100 | "user", | ^~~~~~ ./config.h:101:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | "sess", | ^~~~~~ ./config.h:102:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 102 | "account", | ^~~~~~~~~ ./config.h:103:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | "pass", | ^~~~~~ ./config.h:112:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | "token", | ^~~~~~~ ./config.h:113:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 113 | "once", | ^~~~~~ ./config.h:114:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 114 | "secret", | ^~~~~~~~ ./config.h:115:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 115 | "secid", | ^~~~~~~ ./config.h:116:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | "auth", | ^~~~~~ ./config.h:117:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 117 | "=tok", | ^~~~~~ ./config.h:118:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | "=sig", | ^~~~~~ ./config.h:122:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | "=gb", | ^~~~~ ./config.h:123:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | "=usg", | ^~~~~~ ./config.h:124:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | "=at", | ^~~~~ ./config.h:125:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | "=bb", | ^~~~~ ./config.h:126:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | "=cid", | ^~~~~~ ./config.h:127:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | "=ids", | ^~~~~~ ./config.h:128:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 128 | "=et", | ^~~~~ ./config.h:138:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | "=ver", | ^~~~~~ ./config.h:139:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | "=id", | ^~~~~ ./config.h:140:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | "=zx", | ^~~~~ ./config.h:141:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | "=_", | ^~~~ ./config.h:150:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | "utf", | ^~~~~ ./config.h:151:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 151 | "html", | ^~~~~~ ./config.h:160:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 160 | "while(1);", /* Parser looping - common */ | ^~~~~~~~~~~ ./config.h:161:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 161 | "while (1);", /* ... */ | ^~~~~~~~~~~~ ./config.h:162:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 162 | "while(true);", /* ... */ | ^~~~~~~~~~~~~~ ./config.h:163:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 163 | "while (true);", /* ... */ | ^~~~~~~~~~~~~~~ ./config.h:164:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 164 | "&&&", /* Parser breaking - OpenSocial */ | ^~~~~ ./config.h:165:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 165 | "//OK[", /* Line commenting - GWT */ | ^~~~~~~ ./config.h:166:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 166 | "{\"", /* Serialized object - common */ | ^~~~~ ./config.h:167:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 167 | "{{\"", /* Serialized object - common */ | ^~~~~~ ./config.h:168:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | "throw 1;", /* Parser bailout - common */ | ^~~~~~~~~~ ./config.h:169:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | ")]}", /* A robust alternative */ | ^~~~~ ./config.h:184:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 184 | "utf-8", /* Valid Unicode */ | ^~~~~~~ ./config.h:185:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | "iso8859-1", /* Valid Western */ | ^~~~~~~~~~~ ./config.h:186:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | "iso-8859-1", /* Invalid but recognized */ | ^~~~~~~~~~~~ ./config.h:187:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 187 | "iso8859-2", /* Valid European */ | ^~~~~~~~~~~ ./config.h:188:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | "iso-8859-2", /* Invalid but recognized */ | ^~~~~~~~~~~~ ./config.h:189:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | "iso8859-15", /* ISO-8859-1, new and improved */ | ^~~~~~~~~~~~ ./config.h:190:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | "iso-8859-15", /* ISO-8859-1, new and improved */ | ^~~~~~~~~~~~~ ./config.h:191:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 191 | "windows-1252", /* Microsoft's Western */ | ^~~~~~~~~~~~~~ ./config.h:192:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | "windows-1250", /* Microsoft's European */ | ^~~~~~~~~~~~~~ ./config.h:193:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 193 | "us-ascii", /* Old school but generally safe */ | ^~~~~~~~~~ ./config.h:203:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 203 | "text/html", /* HTML */ | ^~~~~~~~~~~ ./config.h:204:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | "application/xhtml+xml", /* XHTML */ | ^~~~~~~~~~~~~~~~~~~~~~~ ./config.h:205:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | "application/java-vm", /* Java class */ | ^~~~~~~~~~~~~~~~~~~~~ ./config.h:206:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | "application/java-archive", /* Java JAR */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./config.h:207:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | "application/x-shockwave-flash", /* Flash */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./config.h:208:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | "video/flv", /* Flash */ | ^~~~~~~~~~~ ./config.h:209:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | "video/x-flv", /* Flash */ | ^~~~~~~~~~~~~ In file included from ratproxy.c:53: ./string-inl.h:58:18: warning: passing 'const _u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 58 | len = strlen(needle); | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ In file included from ratproxy.c:53: ./string-inl.h:64:26: warning: passing 'const _u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | } while (strncasecmp(haystack, needle, len)); | ^~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ In file included from ratproxy.c:53: ./string-inl.h:64:36: warning: passing 'const _u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | } while (strncasecmp(haystack, needle, len)); | ^~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:133:17: warning: passing '_u8 *' (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] 133 | hlen = strlen(hname); | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:136:24: warning: passing '_u8 *' (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] 136 | _u32 dlen = strlen(domains.v[i]); | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:138:17: warning: passing '_u8 *' (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] 138 | if (!strcmp(hname + (hlen - dlen), domains.v[i])) return 1; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ ratproxy.c:138:40: warning: passing '_u8 *' (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] 138 | if (!strcmp(hname + (hlen - dlen), domains.v[i])) return 1; | ^~~~~~~~~~~~ /usr/include/string.h:85:39: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ ratproxy.c:149:14: warning: passing '_u8 *' (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] 149 | if (strlen(value) < (head ? MIN_XSS_HEAD : MIN_XSS_LEN)) return 0; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:152:50: warning: passing '_u8 *' (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] 152 | if (!strncasecmp(value,no_xss_text[c],strlen(no_xss_text[c]))) return 0; | ^~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:152:22: warning: passing '_u8 *' (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] 152 | if (!strncasecmp(value,no_xss_text[c],strlen(no_xss_text[c]))) return 0; | ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:152:28: warning: passing '_u8 *' (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] 152 | if (!strncasecmp(value,no_xss_text[c],strlen(no_xss_text[c]))) return 0; | ^~~~~~~~~~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:183:67: warning: passing '_u8 *' (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] 183 | if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i])) | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:183:80: warning: passing '_u8 *' (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] 183 | if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i])) | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:194:20: warning: passing '_u8 *' (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] 194 | if (strstr(res->h.v2[j],req->p.v2[i])) { ret = MOD_ECHO; break; } | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:194:33: warning: passing '_u8 *' (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] 194 | if (strstr(res->h.v2[j],req->p.v2[i])) { ret = MOD_ECHO; break; } | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:208:25: warning: passing '_u8 *' (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] 208 | if (!strcasecmp(req->p.v1[i],auth_fields[fno] + 1)) return ret | MOD_AUTH; | ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:208:38: warning: passing '_u8 *' (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] 208 | if (!strcasecmp(req->p.v1[i],auth_fields[fno] + 1)) return ret | MOD_AUTH; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:299:18: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | r2.p.v2[i] = "0"; /* Clobber value. */ | ^ ~~~ ratproxy.c:370:65: warning: passing '_u8 *' (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] 370 | if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i]) | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:370:78: warning: passing '_u8 *' (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] 370 | if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i]) | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:380:18: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[34]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 380 | r2.p.v2[i] = "qg:qg qg=-->qg\"qg>qg'qg>qg+qg"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:440:22: warning: passing '_u8 *' (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] 440 | if (!strncasecmp(cur,"qg",2)) { | ^~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:443:50: warning: passing '_u8 *' (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] 443 | if (htmlstate == HS_IN_TAG && !strncasecmp(cur+2," qg=",4)) return 1; | ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:446:35: warning: passing '_u8 *' (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] 446 | if (htmlurl && !strncasecmp(cur+2,":qg",3)) return 1; | ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:449:42: warning: passing '_u8 *' (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] 449 | if (htmlstate == 0 && !strncasecmp(cur+2,"charset || not->bad_cset) && !strncasecmp(cur+2,"+qg",3)) return 1; | ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:455:63: warning: passing '_u8 *' (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] 455 | if (htmlstate == (HS_IN_TAG|HS_IN_DBLQ) && !strncasecmp(cur+2,"\"qg",3)) return 1; | ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:458:63: warning: passing '_u8 *' (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] 458 | if (htmlstate == (HS_IN_TAG|HS_IN_SNGQ) && !strncasecmp(cur+2,"'qg",3)) return 1; | ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:463:42: warning: passing '_u8 *' (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] 463 | if (htmlstate == 0 && !strncasecmp(cur,"",3)) { htmlstate = 0; cur += 3; continue; } | ^~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:467:38: warning: passing '_u8 *' (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] 467 | if (htmlstate == 0 && !strncmp(cur,"",3)) { htmlstate = 0; cur += 3; continue; } | ^~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:485:70: warning: passing '_u8 *' (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] 485 | if (htmlstate == HS_IN_TAG && isspace(cur[-1]) && !strncasecmp(cur,"href=",5)) { | ^~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:490:70: warning: passing '_u8 *' (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] 490 | if (htmlstate == HS_IN_TAG && isspace(cur[-1]) && !strncasecmp(cur,"src=",4)) { | ^~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:524:16: warning: passing '_u8 *' (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] 524 | if (strcmp(req->method,"GET")) return 0; /* Non-GET requests won't be cached. */ | ^~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ ratproxy.c:532:14: warning: passing '_u8 *' (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] 532 | if (strcmp(req->method,"GET")) return 0; /* Non-GET requests won't be cached. */ | ^~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ ratproxy.c:548:26: warning: returning 'char[2]' from a function with result type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 548 | if (!trace_dir) return "-"; | ^~~ ratproxy.c:554:11: warning: passing '_u8[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 554 | sprintf(dump_fn,"%.512s/%08x-%04x.trace",trace_dir,(_u32)time(0),getpid()); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ ratproxy.c:556:12: warning: passing '_u8[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 556 | f = open(dump_fn, O_WRONLY | O_CREAT | O_EXCL, 0600); | ^~~~~~~ /usr/include/fcntl.h:359:22: note: passing argument to parameter here 359 | int open(const char *, int, ...); | ^ ratproxy.c:559:12: warning: returning 'char[2]' from a function with result type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 559 | return "-"; | ^~~ ratproxy.c:610:11: warning: passing '_u8[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 610 | sprintf(tmp,"%s.swf",dump_fn); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ ratproxy.c:612:12: warning: passing '_u8[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 612 | f = open(tmp, O_WRONLY | O_CREAT | O_EXCL, 0600); | ^~~ /usr/include/fcntl.h:359:22: note: passing argument to parameter here 359 | int open(const char *, int, ...); | ^ ratproxy.c:628:10: warning: passing '_u8[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 628 | unlink(tmp); | ^~~ /usr/include/unistd.h:370:25: note: passing argument to parameter here 370 | int unlink(const char *); | ^ ratproxy.c:630:11: warning: passing '_u8[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 630 | sprintf(tmp,"%s.flr",dump_fn); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ ratproxy.c:631:12: warning: passing '_u8[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 631 | if (stat(tmp,&st) || !st.st_size) unlink(tmp); | ^~~ /usr/include/sys/stat.h:394:33: note: passing argument to parameter here 394 | int stat(const char * __restrict, struct stat * __restrict); | ^ ratproxy.c:631:44: warning: passing '_u8[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 631 | if (stat(tmp,&st) || !st.st_size) unlink(tmp); | ^~~ /usr/include/unistd.h:370:25: note: passing argument to parameter here 370 | int unlink(const char *); | ^ ratproxy.c:650:23: warning: passing '_u8 *' (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] 650 | if (!strcasecmp(resc->v1[i],reqc->v1[j]) && /* Same name */ | ^~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:650:35: warning: passing '_u8 *' (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] 650 | if (!strcasecmp(resc->v1[i],reqc->v1[j]) && /* Same name */ | ^~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:651:18: warning: passing '_u8 *' (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] 651 | strlen(resc->v2[i]) == strlen(reqc->v2[j])) /* Same length */ | ^~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:651:41: warning: passing '_u8 *' (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] 651 | strlen(resc->v2[i]) == strlen(reqc->v2[j])) /* Same length */ | ^~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:672:24: warning: returning 'char[2]' from a function with result type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 672 | if (!resc->c) return "-"; | ^~~ ratproxy.c:688:23: warning: passing '_u8 *' (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] 688 | if (!strcasecmp(resc->v1[i],reqc->v1[j]) && /* Same name */ | ^~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:688:35: warning: passing '_u8 *' (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] 688 | if (!strcasecmp(resc->v1[i],reqc->v1[j]) && /* Same name */ | ^~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:689:18: warning: passing '_u8 *' (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] 689 | strlen(resc->v2[i]) == strlen(reqc->v2[j])) /* Same length */ | ^~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:689:41: warning: passing '_u8 *' (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] 689 | strlen(resc->v2[i]) == strlen(reqc->v2[j])) /* Same length */ | ^~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:694:54: warning: passing '_u8 *' (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] 694 | if (!had_some) had_some = 1; else ALLOC_STRCAT(ret,"; "); | ^~~ ratproxy.c:677:28: note: expanded from macro 'ALLOC_STRCAT' 677 | if (dest) _dl = strlen(dest); \ | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:694:54: warning: passing '_u8 *' (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] 694 | if (!had_some) had_some = 1; else ALLOC_STRCAT(ret,"; "); | ~~~~~~~~~~~~~^~~~~~~~~ ratproxy.c:680:12: note: expanded from macro 'ALLOC_STRCAT' 680 | strcpy(dest + _dl, src); \ | ^~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ ratproxy.c:695:24: warning: passing '_u8 *' (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] 695 | ALLOC_STRCAT(ret,resc->v1[i]); | ^~~~~~~~~~~ ratproxy.c:675:23: note: expanded from macro 'ALLOC_STRCAT' 675 | _u32 _sl = strlen(src); \ | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:695:20: warning: passing '_u8 *' (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] 695 | ALLOC_STRCAT(ret,resc->v1[i]); | ^~~ ratproxy.c:677:28: note: expanded from macro 'ALLOC_STRCAT' 677 | if (dest) _dl = strlen(dest); \ | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:695:20: warning: passing '_u8 *' (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] 695 | ALLOC_STRCAT(ret,resc->v1[i]); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ratproxy.c:680:12: note: expanded from macro 'ALLOC_STRCAT' 680 | strcpy(dest + _dl, src); \ | ^~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ ratproxy.c:695:24: warning: passing '_u8 *' (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] 695 | ALLOC_STRCAT(ret,resc->v1[i]); | ^~~~~~~~~~~ ratproxy.c:680:24: note: expanded from macro 'ALLOC_STRCAT' 680 | strcpy(dest + _dl, src); \ | ^~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ ratproxy.c:696:20: warning: passing '_u8 *' (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] 696 | ALLOC_STRCAT(ret,"="); | ^~~ ratproxy.c:677:28: note: expanded from macro 'ALLOC_STRCAT' 677 | if (dest) _dl = strlen(dest); \ | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:696:20: warning: passing '_u8 *' (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] 696 | ALLOC_STRCAT(ret,"="); | ~~~~~~~~~~~~~^~~~~~~~ ratproxy.c:680:12: note: expanded from macro 'ALLOC_STRCAT' 680 | strcpy(dest + _dl, src); \ | ^~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ ratproxy.c:697:24: warning: passing '_u8 *' (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] 697 | ALLOC_STRCAT(ret,resc->v2[i]); | ^~~~~~~~~~~ ratproxy.c:675:23: note: expanded from macro 'ALLOC_STRCAT' 675 | _u32 _sl = strlen(src); \ | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:697:20: warning: passing '_u8 *' (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] 697 | ALLOC_STRCAT(ret,resc->v2[i]); | ^~~ ratproxy.c:677:28: note: expanded from macro 'ALLOC_STRCAT' 677 | if (dest) _dl = strlen(dest); \ | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:697:20: warning: passing '_u8 *' (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] 697 | ALLOC_STRCAT(ret,resc->v2[i]); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ratproxy.c:680:12: note: expanded from macro 'ALLOC_STRCAT' 680 | strcpy(dest + _dl, src); \ | ^~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ ratproxy.c:697:24: warning: passing '_u8 *' (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] 697 | ALLOC_STRCAT(ret,resc->v2[i]); | ^~~~~~~~~~~ ratproxy.c:680:24: note: expanded from macro 'ALLOC_STRCAT' 680 | strcpy(dest + _dl, src); \ | ^~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ ratproxy.c:711:42: warning: passing '_u8 *' (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] 711 | if (!strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:711:18: warning: passing '_u8 *' (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] 711 | if (!strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; | ^~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:711:22: warning: passing '_u8 *' (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] 711 | if (!strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; | ^~~~~~~~~~~~ /usr/include/string.h:105:40: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:730:16: warning: passing '_u8 *' (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] 730 | if (!strncmp(str,"/*",2)) { | ^~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:731:18: warning: passing '_u8 *' (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] 731 | str = strstr(str+2, "*/"); | ^~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:731:9: warning: assigning to '_u8 *' (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] 731 | str = strstr(str+2, "*/"); | ^ ~~~~~~~~~~~~~~~~~~~ ratproxy.c:736:16: warning: passing '_u8 *' (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] 736 | if (!strncmp(str,"//",2)) { | ^~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:749:20: warning: passing '_u8 *' (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] 749 | if (!strncasecmp(str,"var",3) && isspace(str[3])) return 1; /* Script */ | ^~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:750:20: warning: passing '_u8 *' (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] 750 | if (!strncasecmp(str,"function",8) && isspace(str[8])) return 1; /* Script */ | ^~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:834:22: warning: passing '_u8 *' (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] 834 | if ((refq=strchr(req->referer,'?'))) { | ^~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:834:14: warning: assigning to '_u8 *' (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] 834 | if ((refq=strchr(req->referer,'?'))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:852:33: warning: passing 'char[7]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 852 | if (rp_strcasestr(BEST_MIME,"script") || | ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:853:21: warning: passing '_u8 *' (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] 853 | !strcasecmp(BEST_MIME,"application/json")|| !strcasecmp(BEST_MIME,"text/css")) | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:853:65: warning: passing '_u8 *' (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] 853 | !strcasecmp(BEST_MIME,"application/json")|| !strcasecmp(BEST_MIME,"text/css")) | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:858:16: warning: passing '_u8 *' (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] 858 | if (strcmp(req->method,"GET")) { | ^~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ ratproxy.c:864:25: warning: passing '_u8 *' (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] 864 | if (!strcasecmp(BEST_MIME,active_mime[i])) { | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:864:35: warning: passing '_u8 *' (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] 864 | if (!strcasecmp(BEST_MIME,active_mime[i])) { | ^~~~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:896:21: warning: passing '_u8 *' (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] 896 | if (!strcasecmp(BEST_MIME,"text/html") || rp_strcasestr(BEST_MIME,"script") || | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:896:71: warning: passing 'char[7]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 896 | if (!strcasecmp(BEST_MIME,"text/html") || rp_strcasestr(BEST_MIME,"script") || | ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:897:21: warning: passing '_u8 *' (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] 897 | !strcasecmp(BEST_MIME,"application/json") || | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:898:21: warning: passing '_u8 *' (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] 898 | !strcasecmp(BEST_MIME,"text/css") || !strcasecmp(BEST_MIME,"application/xhtml+xml")) | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:898:58: warning: passing '_u8 *' (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] 898 | !strcasecmp(BEST_MIME,"text/css") || !strcasecmp(BEST_MIME,"application/xhtml+xml")) | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:935:26: warning: passing '_u8 *' (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] 935 | _u8* hname = strdup(res->location), *y; | ^~~~~~~~~~~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ ratproxy.c:935:11: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 935 | _u8* hname = strdup(res->location), *y; | ^ ~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:937:23: warning: passing '_u8 *' (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] 937 | if (!strncasecmp(hname,"http://",7)) hname += 7; else | ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:938:23: warning: passing '_u8 *' (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] 938 | if (!strncasecmp(hname,"https://",8)) hname += 8; | ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:954:42: warning: passing 'char[21]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 954 | _u8* mref=rp_strcasestr(res->payload,"HTTP-EQUIV=\"Refresh\""); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:955:50: warning: passing 'char[6]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 955 | _u8* hname = mref ? rp_strcasestr(mref + 20, ";URL=") : 0; | ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:959:30: warning: passing '_u8 *' (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] 959 | _u8* mrefend = strchr(mref + 20,'>'), *y; | ^~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:959:13: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 959 | _u8* mrefend = strchr(mref + 20,'>'), *y; | ^ ~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:962:25: warning: passing '_u8 *' (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] 962 | hname = strdup(hname + 5); | ^~~~~~~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ ratproxy.c:962:16: warning: assigning to '_u8 *' (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] 962 | hname = strdup(hname + 5); | ^ ~~~~~~~~~~~~~~~~~ ratproxy.c:964:27: warning: passing '_u8 *' (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] 964 | if (!strncasecmp(hname,"http://",7)) hname += 7; else | ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:965:27: warning: passing '_u8 *' (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] 965 | if (!strncasecmp(hname,"https://",8)) hname += 8; | ^~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:986:46: warning: passing '_u8 *' (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] 986 | if (all_post && req->payload && strcasecmp(req->method,"GET")) { | ^~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1013:23: warning: passing '_u8 *' (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] 1013 | if (!strcasecmp(req->method,"GET")) { | ^~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1024:22: warning: passing '_u8 *' (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] 1024 | if (strcasecmp(req->method,"GET")) | ^~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1057:31: warning: passing '_u8 *' (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] 1057 | if (req->ref_host && strcmp(req->method,"GET") && | ^~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ ratproxy.c:1058:18: warning: passing '_u8 *' (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] 1058 | strcasecmp(req->host,req->ref_host)) { | ^~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1058:28: warning: passing '_u8 *' (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] 1058 | strcasecmp(req->host,req->ref_host)) { | ^~~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1072:42: warning: passing 'char[20]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1072 | SHOW_MSG(1,"Bad caching headers","cacheable SetCookie",m); | ^~~~~~~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' 783 | warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ | ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' 123 | #define sayf(x...) fprintf(outfile,x) | ^ ./http.h:116:13: note: passing argument to parameter 'string' here 116 | _u8* S(_u8* string, _u8 nl); | ^ ratproxy.c:1076:42: warning: passing 'char[20]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1076 | SHOW_MSG(3,"Bad caching headers","cacheable SetCookie",m); | ^~~~~~~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' 783 | warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ | ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' 123 | #define sayf(x...) fprintf(outfile,x) | ^ ./http.h:116:13: note: passing argument to parameter 'string' here 116 | _u8* S(_u8* string, _u8 nl); | ^ ratproxy.c:1084:78: warning: passing 'char[36]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1084 | if (NOECHO(m) == (MOD_AUTH | MOD_PRED)) SHOW_MSG(3,"Bad caching headers","Expires/Date/Cache-Control mismatch",m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' 783 | warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ | ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' 123 | #define sayf(x...) fprintf(outfile,x) | ^ ./http.h:116:13: note: passing argument to parameter 'string' here 116 | _u8* S(_u8* string, _u8 nl); | ^ ratproxy.c:1085:72: warning: passing 'char[36]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1085 | else if (NOECHO(m) == MOD_AUTH) SHOW_MSG(2,"Bad caching headers","Expires/Date/Cache-Control mismatch",m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' 783 | warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ | ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' 123 | #define sayf(x...) fprintf(outfile,x) | ^ ./http.h:116:13: note: passing argument to parameter 'string' here 116 | _u8* S(_u8* string, _u8 nl); | ^ ratproxy.c:1099:15: warning: passing '_u8 *' (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] 1099 | if ((strstr(req->path,"crossdomain.xml") || strstr(req->path,"clientaccesspolicy.xml")) && | ^~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1099:54: warning: passing '_u8 *' (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] 1099 | if ((strstr(req->path,"crossdomain.xml") || strstr(req->path,"clientaccesspolicy.xml")) && | ^~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1100:15: warning: passing '_u8 *' (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] 1100 | (strstr(res->payload,"") || strstr(res->payload,""))) { | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1100:63: warning: passing '_u8 *' (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] 1100 | (strstr(res->payload,"") || strstr(res->payload,""))) { | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1109:20: warning: passing '_u8 *' (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] 1109 | if (strcasecmp(BEST_MIME,"text/css")) { | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1130:37: warning: passing '_u8 *' (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] 1130 | if (res->mime_type && !strcasecmp(res->mime_type,"text/plain")) { | ^~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1139:20: warning: passing '_u8 *' (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] 1139 | if (strcasecmp(BEST_MIME,"text/css")) | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1181:18: warning: passing '_u8 *' (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] 1181 | strcasecmp(res->mime_type, res->sniffed_mime)) { | ^~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1181:34: warning: passing '_u8 *' (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] 1181 | strcasecmp(res->mime_type, res->sniffed_mime)) { | ^~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1191:23: warning: passing '_u8 *' (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] 1191 | !strcasecmp(res->mime_type,"text/html") && | ^~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1192:23: warning: passing '_u8 *' (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] 1192 | !strcasecmp(res->sniffed_mime,"application/xhtml+xml")) | ^~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1195:22: warning: passing '_u8 *' (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] 1195 | if (strcasecmp(BEST_MIME,"text/css")) | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1209:29: warning: passing '_u8 *' (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] 1209 | } else if (!strncasecmp(BEST_MIME,"image/",6)) { | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ ratproxy.c:1229:23: warning: passing '_u8 *' (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] 1229 | if (!strcasecmp(res->mime_type,"application/octet-stream")) { | ^~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1270:32: warning: passing 'char[7]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1270 | if ((rp_strcasestr(BEST_MIME,"script") || !strcasecmp(BEST_MIME,"application/json"))) { | ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1270:57: warning: passing '_u8 *' (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] 1270 | if ((rp_strcasestr(BEST_MIME,"script") || !strcasecmp(BEST_MIME,"application/json"))) { | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1300:19: warning: passing '_u8 *' (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] 1300 | if (!strcasecmp(BEST_MIME,"image/png") && !res->is_attach) { | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1319:36: warning: passing '_u8 *' (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] 1319 | if (!req->p.fn[i][0] && strchr(req->p.v2[i],'<') && strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:1319:64: warning: passing '_u8 *' (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] 1319 | if (!req->p.fn[i][0] && strchr(req->p.v2[i],'<') && strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1319:77: warning: passing '_u8 *' (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] 1319 | if (!req->p.fn[i][0] && strchr(req->p.v2[i],'<') && strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1338:59: warning: passing '_u8 *' (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] 1338 | for (i=0;ip.c;i++) if (!req->p.fn[i][0] && strlen(req->p.v2[i]) < MAX_FPATH && | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:1339:12: warning: passing '_u8 *' (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] 1339 | strcmp(req->p.v1[i],"utmp") /* Analytics-specific. */ ) { | ^~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ ratproxy.c:1340:21: warning: passing '_u8 *' (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] 1340 | _u8* x = strchr(req->p.v2[i],'/'); | ^~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:1340:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1340 | _u8* x = strchr(req->p.v2[i],'/'); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:1341:21: warning: passing '_u8 *' (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] 1341 | _u8* y = strchr(req->p.v2[i],'.'); | ^~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:1341:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1341 | _u8* y = strchr(req->p.v2[i],'.'); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:1354:16: warning: passing '_u8 *' (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] 1354 | if (strstr(res->payload,req->p.v2[i])) /* Text simply echoed back? */ | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1354:29: warning: passing '_u8 *' (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] 1354 | if (strstr(res->payload,req->p.v2[i])) /* Text simply echoed back? */ | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1376:61: warning: passing '_u8 *' (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] 1376 | for (i=0;ip.c;i++) if (!req->p.fn[i][0] && strlen(req->p.v2[i]) < MAX_FPATH && | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:1377:12: warning: passing '_u8 *' (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] 1377 | strcmp(req->p.v1[i],"utmp") /* Analytics-specific again. */ ) { | ^~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ ratproxy.c:1381:65: warning: passing '_u8 *' (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] 1381 | if (*x == '.' && isalpha(x[1]) && isalpha(x[2]) && strlen(x+1) <= 5 && | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ratproxy.c:1382:19: warning: passing '_u8 *' (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] 1382 | !strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1382:32: warning: passing '_u8 *' (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] 1382 | !strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1396:21: warning: passing '_u8 *' (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] 1396 | _u8* x = strstr(req->p.v2[i],"com."); | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1396:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1396 | _u8* x = strstr(req->p.v2[i],"com."); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:1397:38: warning: passing '_u8 *' (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] 1397 | if (x && isalpha(x[4]) && strchr(x+4,'.') && !strstr(res->payload,req->p.v2[i]) && | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:1397:58: warning: passing '_u8 *' (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] 1397 | if (x && isalpha(x[4]) && strchr(x+4,'.') && !strstr(res->payload,req->p.v2[i]) && | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1397:71: warning: passing '_u8 *' (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] 1397 | if (x && isalpha(x[4]) && strchr(x+4,'.') && !strstr(res->payload,req->p.v2[i]) && | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1398:17: warning: passing '_u8 *' (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] 1398 | !strchr(x,'/')) { | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:1417:21: warning: passing '_u8 *' (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] 1417 | _u8* x = strchr(req->p.v2[i],'('); | ^~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:1417:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1417 | _u8* x = strchr(req->p.v2[i],'('); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:1418:62: warning: passing '_u8 *' (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] 1418 | if (x && (x == req->p.v2[i] || isalpha(x[-1])) && strchr(x+1,')') && | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:1419:37: warning: passing 'char[7]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1419 | !rp_strcasestr(req->p.v2[i],"alert(") && | ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1420:16: warning: passing '_u8 *' (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] 1420 | strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1420:29: warning: passing '_u8 *' (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] 1420 | strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1438:41: warning: passing 'char[7]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1438 | _u8* x = rp_strcasestr(req->p.v2[i],"SELECT"); | ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1439:32: warning: passing 'char[5]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1439 | if (x && rp_strcasestr(x+1,"FROM") && !strstr(res->payload,req->p.v2[i])) { | ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1439:51: warning: passing '_u8 *' (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] 1439 | if (x && rp_strcasestr(x+1,"FROM") && !strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1439:64: warning: passing '_u8 *' (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] 1439 | if (x && rp_strcasestr(x+1,"FROM") && !strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1459:23: warning: passing '_u8 *' (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] 1459 | _u8* x = strchr(req->p.v1[i] + 1, '.'); // 'user.lname' | ^~~~~~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:1459:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1459 | _u8* x = strchr(req->p.v1[i] + 1, '.'); // 'user.lname' | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:1460:28: warning: passing '_u8 *' (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] 1460 | _u8* x1 = x ? strchr(x + 1, '.') : 0; // 'user.lname.foo' | ^~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:1460:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1460 | _u8* x1 = x ? strchr(x + 1, '.') : 0; // 'user.lname.foo' | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:1461:23: warning: passing '_u8 *' (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] 1461 | _u8* y = strchr(req->p.v1[i] + 1, '['); // 'users[0].lname' | ^~~~~~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ ratproxy.c:1461:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1461 | _u8* y = strchr(req->p.v1[i] + 1, '['); // 'users[0].lname' | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ratproxy.c:1487:67: warning: passing '_u8 *' (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] 1487 | if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1487:80: warning: passing '_u8 *' (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] 1487 | if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1489:38: warning: passing 'char[7]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1489 | if (!rp_strcasestr(BEST_MIME,"script") && strcasecmp(BEST_MIME,"application/json")) | ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1489:62: warning: passing '_u8 *' (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] 1489 | if (!rp_strcasestr(BEST_MIME,"script") && strcasecmp(BEST_MIME,"application/json")) | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1499:20: warning: passing '_u8 *' (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] 1499 | if (strstr(res->h.v2[j],req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1499:33: warning: passing '_u8 *' (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] 1499 | if (strstr(res->h.v2[j],req->p.v2[i])) { | ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1513:32: warning: passing 'char[7]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1513 | if ((rp_strcasestr(BEST_MIME,"script") || !strcasecmp(BEST_MIME,"application/json")) && | ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1513:57: warning: passing '_u8 *' (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] 1513 | if ((rp_strcasestr(BEST_MIME,"script") || !strcasecmp(BEST_MIME,"application/json")) && | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1545:32: warning: passing '_u8 *' (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] 1545 | if (all_flash && !strcasecmp(BEST_MIME,"application/x-shockwave-flash")) { | ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' 766 | #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | (res->mime_type ? res->mime_type : (_u8*)"")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ ratproxy.c:1553:14: warning: passing '_u8 *' (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] 1553 | if (strstr(res->payload,">[To Parent Directory]<") || | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1554:14: warning: passing '_u8 *' (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] 1554 | strstr(res->payload,"Index of /")) { | ^~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ ratproxy.c:1562:45: warning: passing 'char[8]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1562 | rp_strcasestr(res->payload,".write(") || | ^~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1563:45: warning: passing 'char[10]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1563 | rp_strcasestr(res->payload,".writeln("))) { | ^~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1565:40: warning: passing 'char[15]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1565 | SHOW_MSG(1,"Risky Javascript code","document.write",m); | ^~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' 783 | warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ | ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' 123 | #define sayf(x...) fprintf(outfile,x) | ^ ./http.h:116:13: note: passing argument to parameter 'string' here 116 | _u8* S(_u8* string, _u8 nl); | ^ ratproxy.c:1569:46: warning: passing 'char[11]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1569 | (rp_strcasestr(res->payload,".innerHtml") || | ^~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1570:45: warning: passing 'char[11]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1570 | rp_strcasestr(res->payload,".outerHtml"))) { | ^~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1572:40: warning: passing 'char[10]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1572 | SHOW_MSG(1,"Risky Javascript code","innerHTML",m); | ^~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' 783 | warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ | ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' 123 | #define sayf(x...) fprintf(outfile,x) | ^ ./http.h:116:13: note: passing argument to parameter 'string' here 116 | _u8* S(_u8* string, _u8 nl); | ^ ratproxy.c:1576:45: warning: passing 'char[18]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1576 | rp_strcasestr(res->payload,"document.referrer")) { | ^~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1578:40: warning: passing 'char[18]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1578 | SHOW_MSG(2,"Risky Javascript code","document.referrer",m); | ^~~~~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' 783 | warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ | ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' 123 | #define sayf(x...) fprintf(outfile,x) | ^ ./http.h:116:13: note: passing argument to parameter 'string' here 116 | _u8* S(_u8* string, _u8 nl); | ^ ratproxy.c:1582:45: warning: passing 'char[16]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1582 | rp_strcasestr(res->payload,"document.domain")) { | ^~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ ratproxy.c:1584:40: warning: passing 'char[16]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1584 | SHOW_MSG(2,"Risky Javascript code","document.domain",m); | ^~~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' 783 | warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ | ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' 123 | #define sayf(x...) fprintf(outfile,x) | ^ ./http.h:116:13: note: passing argument to parameter 'string' here 116 | _u8* S(_u8* string, _u8 nl); | ^ ratproxy.c:1635:23: warning: passing '_u32 *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1635 | while (waitpid(-1,&x,WNOHANG) > 0); | ^~ /usr/include/sys/wait.h:160:27: note: passing argument to parameter here 160 | pid_t waitpid(pid_t, int *, int); | ^ ratproxy.c:1681:21: warning: assigning to '_u8 *' (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] 1681 | trace_dir = optarg; | ^ ~~~~~~ ratproxy.c:1682:17: warning: passing '_u8 *' (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] 1682 | mkdir(trace_dir,0700); /* Ignore errors */ | ^~~~~~~~~ /usr/include/sys/stat.h:388:23: note: passing argument to parameter here 388 | int mkdir(const char *, mode_t); | ^ ratproxy.c:1683:22: warning: passing '_u8 *' (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] 1683 | if (access(trace_dir,X_OK)) pfatal("cannot create -v directory"); | ^~~~~~~~~ /usr/include/unistd.h:323:25: note: passing argument to parameter here 323 | int access(const char *, int); | ^ ratproxy.c:1693:19: warning: assigning to '_u8 *' (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] 1693 | use_proxy = optarg; | ^ ~~~~~~ ratproxy.c:1694:11: warning: assigning to '_u8 *' (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] 1694 | x = strchr(optarg,':'); | ^ ~~~~~~~~~~~~~~~~~~ ratproxy.c:1697:27: warning: passing '_u8 *' (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] 1697 | proxy_port = atoi(x); | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ratproxy.c:1706:9: warning: assigning to '_u8 *' (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] 1706 | ADD(domains,optarg); | ^~~~~~~~~~~~~~~~~~~ ./nlist.h:42:28: note: expanded from macro 'ADD' 42 | __list->v[__list->c++] = (val); \ | ^ ~~~~~ ratproxy.c:1774:15: warning: passing 'char *' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1774 | usage(argv[0]); | ^~~~~~~ ratproxy.c:84:24: note: passing argument to parameter 'argv0' here 84 | static void usage(_u8* argv0) { | ^ ratproxy.c:1777:29: warning: passing 'char *' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1777 | if (optind != argc) usage(argv[0]); | ^~~~~~~ ratproxy.c:84:24: note: passing argument to parameter 'argv0' here 84 | static void usage(_u8* argv0) { | ^ 249 warnings generated. In file included from http.c:45: ./config.h:99:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | "login", | ^~~~~~~ ./config.h:100:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 100 | "user", | ^~~~~~ ./config.h:101:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | "sess", | ^~~~~~ ./config.h:102:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 102 | "account", | ^~~~~~~~~ ./config.h:103:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | "pass", | ^~~~~~ ./config.h:112:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | "token", | ^~~~~~~ ./config.h:113:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 113 | "once", | ^~~~~~ ./config.h:114:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 114 | "secret", | ^~~~~~~~ ./config.h:115:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 115 | "secid", | ^~~~~~~ ./config.h:116:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | "auth", | ^~~~~~ ./config.h:117:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 117 | "=tok", | ^~~~~~ ./config.h:118:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | "=sig", | ^~~~~~ ./config.h:122:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | "=gb", | ^~~~~ ./config.h:123:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | "=usg", | ^~~~~~ ./config.h:124:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | "=at", | ^~~~~ ./config.h:125:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | "=bb", | ^~~~~ ./config.h:126:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | "=cid", | ^~~~~~ ./config.h:127:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | "=ids", | ^~~~~~ ./config.h:128:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 128 | "=et", | ^~~~~ ./config.h:138:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | "=ver", | ^~~~~~ ./config.h:139:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | "=id", | ^~~~~ ./config.h:140:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | "=zx", | ^~~~~ ./config.h:141:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | "=_", | ^~~~ ./config.h:150:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | "utf", | ^~~~~ ./config.h:151:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 151 | "html", | ^~~~~~ ./config.h:160:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 160 | "while(1);", /* Parser looping - common */ | ^~~~~~~~~~~ ./config.h:161:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 161 | "while (1);", /* ... */ | ^~~~~~~~~~~~ ./config.h:162:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 162 | "while(true);", /* ... */ | ^~~~~~~~~~~~~~ ./config.h:163:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 163 | "while (true);", /* ... */ | ^~~~~~~~~~~~~~~ ./config.h:164:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 164 | "&&&", /* Parser breaking - OpenSocial */ | ^~~~~ ./config.h:165:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 165 | "//OK[", /* Line commenting - GWT */ | ^~~~~~~ ./config.h:166:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 166 | "{\"", /* Serialized object - common */ | ^~~~~ ./config.h:167:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 167 | "{{\"", /* Serialized object - common */ | ^~~~~~ ./config.h:168:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | "throw 1;", /* Parser bailout - common */ | ^~~~~~~~~~ ./config.h:169:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | ")]}", /* A robust alternative */ | ^~~~~ ./config.h:184:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 184 | "utf-8", /* Valid Unicode */ | ^~~~~~~ ./config.h:185:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | "iso8859-1", /* Valid Western */ | ^~~~~~~~~~~ ./config.h:186:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | "iso-8859-1", /* Invalid but recognized */ | ^~~~~~~~~~~~ ./config.h:187:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 187 | "iso8859-2", /* Valid European */ | ^~~~~~~~~~~ ./config.h:188:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | "iso-8859-2", /* Invalid but recognized */ | ^~~~~~~~~~~~ ./config.h:189:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | "iso8859-15", /* ISO-8859-1, new and improved */ | ^~~~~~~~~~~~ ./config.h:190:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | "iso-8859-15", /* ISO-8859-1, new and improved */ | ^~~~~~~~~~~~~ ./config.h:191:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 191 | "windows-1252", /* Microsoft's Western */ | ^~~~~~~~~~~~~~ ./config.h:192:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | "windows-1250", /* Microsoft's European */ | ^~~~~~~~~~~~~~ ./config.h:193:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 193 | "us-ascii", /* Old school but generally safe */ | ^~~~~~~~~~ ./config.h:203:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 203 | "text/html", /* HTML */ | ^~~~~~~~~~~ ./config.h:204:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | "application/xhtml+xml", /* XHTML */ | ^~~~~~~~~~~~~~~~~~~~~~~ ./config.h:205:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | "application/java-vm", /* Java class */ | ^~~~~~~~~~~~~~~~~~~~~ ./config.h:206:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | "application/java-archive", /* Java JAR */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./config.h:207:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | "application/x-shockwave-flash", /* Flash */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./config.h:208:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | "video/flv", /* Flash */ | ^~~~~~~~~~~ ./config.h:209:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | "video/x-flv", /* Flash */ | ^~~~~~~~~~~~~ In file included from http.c:51: ./string-inl.h:58:18: warning: passing 'const _u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 58 | len = strlen(needle); | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ In file included from http.c:51: ./string-inl.h:64:26: warning: passing 'const _u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | } while (strncasecmp(haystack, needle, len)); | ^~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ In file included from http.c:51: ./string-inl.h:64:36: warning: passing 'const _u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | } while (strncasecmp(haystack, needle, len)); | ^~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:66:14: warning: passing '_u8[8192]' (aka 'unsigned char[8192]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 66 | if (!fgets(inbuf,MAXLINE,where)) return 0; | ^~~~~ /usr/include/stdio.h:257:30: note: passing argument to parameter here 257 | char *fgets(char * __restrict, int, FILE * __restrict); | ^ http.c:68:14: warning: passing '_u8[8192]' (aka 'unsigned char[8192]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 68 | l = strlen(inbuf); | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:107:13: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 107 | static _u8* BASE16 = "0123456789ABCDEF"; | ^ ~~~~~~~~~~~~~~~~~~ http.c:136:54: warning: passing '_u8 *' (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] 136 | if (!string[1] || !string[2] || !(a=strchr(BASE16,toupper(string[1]))) || | ^~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:136:46: warning: assigning to '_u8 *' (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] 136 | if (!string[1] || !string[2] || !(a=strchr(BASE16,toupper(string[1]))) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:137:26: warning: passing '_u8 *' (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] 137 | !(b=strchr(BASE16,toupper(string[2])))) { dec = '?'; break; } | ^~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:137:18: warning: assigning to '_u8 *' (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] 137 | !(b=strchr(BASE16,toupper(string[2])))) { dec = '?'; break; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:156:23: warning: passing '_u8[8193]' (aka 'unsigned char[8193]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | DYN_ADDP(*p,name,val,""); | ^~~~ ./nlist.h:152:23: note: expanded from macro 'DYN_ADDP' 152 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2), *_fn = strdup(fn); \ | ^~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:156:11: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | DYN_ADDP(*p,name,val,""); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:152:10: note: expanded from macro 'DYN_ADDP' 152 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2), *_fn = strdup(fn); \ | ^ ~~~~~~~~~~~~ http.c:156:28: warning: passing '_u8[8193]' (aka 'unsigned char[8193]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | DYN_ADDP(*p,name,val,""); | ^~~ ./nlist.h:152:44: note: expanded from macro 'DYN_ADDP' 152 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2), *_fn = strdup(fn); \ | ^~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:156:11: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | DYN_ADDP(*p,name,val,""); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:152:31: note: expanded from macro 'DYN_ADDP' 152 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2), *_fn = strdup(fn); \ | ^ ~~~~~~~~~~~~ http.c:156:11: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | DYN_ADDP(*p,name,val,""); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:152:52: note: expanded from macro 'DYN_ADDP' 152 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2), *_fn = strdup(fn); \ | ^ ~~~~~~~~~~ http.c:192:14: warning: passing '_u8 *' (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] 192 | x = strchr(*buf,'\r'); | ^~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:192:5: warning: assigning to '_u8 *' (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] 192 | x = strchr(*buf,'\r'); | ^ ~~~~~~~~~~~~~~~~~ http.c:195:21: warning: passing '_u8 *' (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] 195 | _u32 l = strlen(*buf); | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:198:12: warning: passing '_u8 *' (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] 198 | strcpy(retbuf,*buf); | ^~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ http.c:198:19: warning: passing '_u8 *' (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] 198 | strcpy(retbuf,*buf); | ^~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ http.c:237:24: warning: passing '_u8 *' (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] 237 | if (!strncasecmp(l,"Content-Disposition:",20)) { | ^ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:240:34: warning: passing 'char[9]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 240 | _u8* f = rp_strcasestr(l,"; name=\""); | ^~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ http.c:243:20: warning: passing '_u8 *' (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] 243 | c = strchr(++f,'"'); | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:243:11: warning: assigning to '_u8 *' (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] 243 | c = strchr(++f,'"'); | ^ ~~~~~~~~~~~~~~~ http.c:247:24: warning: passing '_u8 *' (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] 247 | field = strdup(f); | ^ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:247:15: warning: assigning to '_u8 *' (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] 247 | field = strdup(f); | ^ ~~~~~~~~~ http.c:252:33: warning: passing 'char[13]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 252 | f = rp_strcasestr(c + 1,"; filename=\""); | ^~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ http.c:255:20: warning: passing '_u8 *' (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] 255 | c = strchr(++f,'"'); | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:255:11: warning: assigning to '_u8 *' (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] 255 | c = strchr(++f,'"'); | ^ ~~~~~~~~~~~~~~~ http.c:258:24: warning: passing '_u8 *' (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] 258 | fname = strdup(f); | ^ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:258:15: warning: assigning to '_u8 *' (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] 258 | fname = strdup(f); | ^ ~~~~~~~~~ http.c:269:26: warning: passing '_u8 *' (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] 269 | DYN_ADDP_RAWMEM(*p,field,string,end-string,fname ? fname : (_u8*)""); | ^~~~~ ./nlist.h:159:23: note: expanded from macro 'DYN_ADDP_RAWMEM' 159 | _u8 *_s1 = strdup(val1), *_s2 = malloc(_l2), *_fn = strdup(fn); \ | ^~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:269:7: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 269 | DYN_ADDP_RAWMEM(*p,field,string,end-string,fname ? fname : (_u8*)""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:159:10: note: expanded from macro 'DYN_ADDP_RAWMEM' 159 | _u8 *_s1 = strdup(val1), *_s2 = malloc(_l2), *_fn = strdup(fn); \ | ^ ~~~~~~~~~~~~ http.c:269:50: warning: passing '_u8 *' (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] 269 | DYN_ADDP_RAWMEM(*p,field,string,end-string,fname ? fname : (_u8*)""); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:159:64: note: expanded from macro 'DYN_ADDP_RAWMEM' 159 | _u8 *_s1 = strdup(val1), *_s2 = malloc(_l2), *_fn = strdup(fn); \ | ^~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:269:7: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 269 | DYN_ADDP_RAWMEM(*p,field,string,end-string,fname ? fname : (_u8*)""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:159:51: note: expanded from macro 'DYN_ADDP_RAWMEM' 159 | _u8 *_s1 = strdup(val1), *_s2 = malloc(_l2), *_fn = strdup(fn); \ | ^ ~~~~~~~~~~ http.c:301:23: warning: passing '_u8 *' (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] 301 | if (!strcasecmp(name,no_xsrf_fields[fno] + 1)) return 0; | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:301:28: warning: passing '_u8 *' (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] 301 | if (!strcasecmp(name,no_xsrf_fields[fno] + 1)) return 0; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:314:23: warning: passing '_u8 *' (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] 314 | if (!strcasecmp(name,xsrf_fields[fno] + 1)) return 1; | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:314:28: warning: passing '_u8 *' (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] 314 | if (!strcasecmp(name,xsrf_fields[fno] + 1)) return 1; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:323:16: warning: passing '_u8 *' (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] 323 | if (!strncmp(value,"http",4)) return 0; | ^~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ http.c:331:26: warning: passing '_u8 *' (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] 331 | if (*value && strchr(BASE16,toupper(*value))) { | ^~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:343:17: warning: passing '_u8[5]' (aka 'unsigned char[5]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 343 | strncpy(tmp,st,4); | ^~~ /usr/include/string.h:106:32: note: passing argument to parameter here 106 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ http.c:343:21: warning: passing '_u8 *' (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] 343 | strncpy(tmp,st,4); | ^~ /usr/include/string.h:106:57: note: passing argument to parameter here 106 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ http.c:345:20: warning: passing '_u8[5]' (aka 'unsigned char[5]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 345 | val = atoi(tmp); | ^~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ http.c:398:16: warning: passing '_u8 *' (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] 398 | if (sscanf(str,"%127[^;=]=%127[^;]",name,val) == 2) { | ^~~ /usr/include/stdio.h:286:36: note: passing argument to parameter here 286 | int sscanf(const char * __restrict, const char * __restrict, ...); | ^ http.c:399:22: warning: passing '_u8[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 399 | if (strcasecmp(name,"expires") && strcasecmp(name,"comment") && | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:399:52: warning: passing '_u8[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 399 | if (strcasecmp(name,"expires") && strcasecmp(name,"comment") && | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:400:22: warning: passing '_u8[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 400 | strcasecmp(name,"version") && strcasecmp(name,"max-age") && | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:400:52: warning: passing '_u8[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 400 | strcasecmp(name,"version") && strcasecmp(name,"max-age") && | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:401:22: warning: passing '_u8[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 401 | strcasecmp(name,"path") && strcasecmp(name,"domain") && name[0] != '$') | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:401:49: warning: passing '_u8[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 401 | strcasecmp(name,"path") && strcasecmp(name,"domain") && name[0] != '$') | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:402:21: warning: passing '_u8[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 402 | DYN_ADD2(*c,name,val); | ^~~~ ./nlist.h:83:23: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:402:9: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 402 | DYN_ADD2(*c,name,val); | ^~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:10: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^ ~~~~~~~~~~~~ http.c:402:26: warning: passing '_u8[128]' (aka 'unsigned char[128]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 402 | DYN_ADD2(*c,name,val); | ^~~ ./nlist.h:83:44: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:402:9: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 402 | DYN_ADD2(*c,name,val); | ^~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:31: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^ ~~~~~~~~~~~~ http.c:405:18: warning: passing '_u8 *' (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] 405 | str = strchr(str + 1 ,';'); | ^~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:405:9: warning: assigning to '_u8 *' (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] 405 | str = strchr(str + 1 ,';'); | ^ ~~~~~~~~~~~~~~~~~~~~ http.c:423:19: warning: passing '_u8[8192]' (aka 'unsigned char[8192]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 423 | setvbuf(client, cli_buf, _IONBF, 0); | ^~~~~~~ /usr/include/stdio.h:284:50: note: passing argument to parameter here 284 | int setvbuf(FILE * __restrict, char * __restrict, int, size_t); | ^ http.c:431:14: warning: passing '_u8 *' (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] 431 | x = strchr(line,' '); | ^~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:431:5: warning: assigning to '_u8 *' (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] 431 | x = strchr(line,' '); | ^ ~~~~~~~~~~~~~~~~ http.c:432:43: warning: passing 'char[41]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 432 | if (!x || x == line) http_error(client, "URL address missing or malformed request",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:435:24: warning: passing '_u8 *' (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] 435 | ret->method = strdup(line); | ^~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:435:15: warning: assigning to '_u8 *' (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] 435 | ret->method = strdup(line); | ^ ~~~~~~~~~~~~ http.c:438:14: warning: passing '_u8 *' (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] 438 | if (strcmp(line,"CONNECT")) { | ^~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ http.c:442:21: warning: passing '_u8[8192]' (aka 'unsigned char[8192]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 442 | setvbuf(client, cli_buf, _IOFBF, sizeof(cli_buf)); | ^~~~~~~ /usr/include/stdio.h:284:50: note: passing argument to parameter here 284 | int setvbuf(FILE * __restrict, char * __restrict, int, size_t); | ^ http.c:450:28: warning: passing 'char[33]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | http_error(client, "Direct HTTP requests not allowed",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:452:19: warning: passing '_u8 *' (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] 452 | if (strncmp(x,"http://",7)) | ^ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ http.c:453:28: warning: passing 'char[21]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 453 | http_error(client, "Unsupported protocol",1); | ^~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:462:37: warning: passing 'char[21]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 462 | if (ssl_host) http_error(client,"Evil CONNECT nesting",1); | ^~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:470:14: warning: passing '_u8 *' (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] 470 | x = strchr(ret->host,' '); | ^~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:470:5: warning: assigning to '_u8 *' (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] 470 | x = strchr(ret->host,' '); | ^ ~~~~~~~~~~~~~~~~~~~~~ http.c:471:29: warning: passing 'char[30]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 471 | if (!x) http_error(client,"Missing HTTP protocol version",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:473:14: warning: passing '_u8 *' (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] 473 | if (strcmp(x," HTTP/1.0") && strcmp(x," HTTP/1.1")) | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ http.c:473:39: warning: passing '_u8 *' (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] 473 | if (strcmp(x," HTTP/1.0") && strcmp(x," HTTP/1.1")) | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ http.c:474:23: warning: passing 'char[34]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 474 | http_error(client,"unsupported HTTP protocol version",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:482:24: warning: passing '_u8 *' (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] 482 | ret->path = strchr(ret->host,'/'); | ^~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:482:15: warning: assigning to '_u8 *' (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] 482 | ret->path = strchr(ret->host,'/'); | ^ ~~~~~~~~~~~~~~~~~~~~~ http.c:483:39: warning: passing 'char[23]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 483 | if (!ret->path) http_error(client,"Incomplete request URL",1); | ^~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:490:14: warning: passing '_u8 *' (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] 490 | x = strchr(ret->host,':'); | ^~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:490:5: warning: assigning to '_u8 *' (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] 490 | x = strchr(ret->host,':'); | ^ ~~~~~~~~~~~~~~~~~~~~~ http.c:494:22: warning: passing '_u8 *' (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] 494 | ret->port = atoi(x+1); | ^~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ http.c:497:25: warning: passing 'char[27]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 497 | http_error(client,"Illegal port specification",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:500:25: warning: passing 'char[27]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 500 | http_error(client,"Access to this port denied",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:519:23: warning: passing 'char[21]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | http_error(client,"Host name is missing",1); | ^~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:521:22: warning: passing '_u8 *' (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] 521 | ret->host = strdup(ret->host); | ^~~~~~~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:521:13: warning: assigning to '_u8 *' (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] 521 | ret->host = strdup(ret->host); | ^ ~~~~~~~~~~~~~~~~~ http.c:526:39: warning: passing '_u8 *' (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] 526 | if (!ret->is_connect && (x = strchr(ret->path,'?'))) { | ^~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:526:30: warning: assigning to '_u8 *' (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] 526 | if (!ret->is_connect && (x = strchr(ret->path,'?'))) { | ^ ~~~~~~~~~~~~~~~~~~~~~ http.c:529:25: warning: passing '_u8 *' (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] 529 | ret->query = strdup(x); | ^ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:529:16: warning: assigning to '_u8 *' (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] 529 | ret->query = strdup(x); | ^ ~~~~~~~~~ http.c:538:24: warning: passing '_u8 *' (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] 538 | ret->path = strdup(ret->path); | ^~~~~~~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:538:15: warning: assigning to '_u8 *' (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] 538 | ret->path = strdup(ret->path); | ^ ~~~~~~~~~~~~~~~~~ http.c:541:17: warning: passing '_u8 *' (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] 541 | x = strrchr(ret->path,'.'); | ^~~~~~~~~ /usr/include/string.h:117:27: note: passing argument to parameter here 117 | char *strrchr(const char *, int) __pure; | ^ http.c:541:7: warning: assigning to '_u8 *' (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] 541 | x = strrchr(ret->path,'.'); | ^ ~~~~~~~~~~~~~~~~~~~~~~ http.c:553:34: warning: passing 'char[40]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 553 | if (!line) http_error(client,"Incomplete or malformed request headers",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:558:16: warning: passing '_u8 *' (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] 558 | x = strchr(line,':'); | ^~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:558:7: warning: assigning to '_u8 *' (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] 558 | x = strchr(line,':'); | ^ ~~~~~~~~~~~~~~~~ http.c:559:31: warning: passing 'char[23]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 559 | if (!x) http_error(client,"Invalid request header",1); | ^~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:563:21: warning: passing '_u8 *' (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] 563 | if (!strcasecmp(line,"Content-Length")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:565:31: warning: passing '_u8 *' (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] 565 | ret->payload_len = atoi(x); | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ http.c:568:27: warning: passing 'char[28]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 568 | http_error(client,"Payload size limit exceeded",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:572:22: warning: passing '_u8 *' (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] 572 | if (!strncasecmp(line,"Cookie",6)) | ^~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:575:21: warning: passing '_u8 *' (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] 575 | if (!strcasecmp(line,"Referer")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:578:29: warning: passing '_u8 *' (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] 578 | ret->referer = strdup(x); | ^ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:578:20: warning: assigning to '_u8 *' (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] 578 | ret->referer = strdup(x); | ^ ~~~~~~~~~ http.c:583:24: warning: passing '_u8 *' (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] 583 | if ((rh = strstr(x,"://"))) { | ^ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ http.c:583:15: warning: assigning to '_u8 *' (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] 583 | if ((rh = strstr(x,"://"))) { | ^ ~~~~~~~~~~~~~~~ http.c:586:21: warning: passing '_u8 *' (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] 586 | rh = strdup(rh + 3); | ^~~~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:586:12: warning: assigning to '_u8 *' (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] 586 | rh = strdup(rh + 3); | ^ ~~~~~~~~~~~~~~ http.c:588:25: warning: passing '_u8 *' (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] 588 | if ((x = strchr(rh,'/'))) *x = 0; | ^~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:588:16: warning: assigning to '_u8 *' (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] 588 | if ((x = strchr(rh,'/'))) *x = 0; | ^ ~~~~~~~~~~~~~~ http.c:589:25: warning: passing '_u8 *' (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] 589 | if ((x = strchr(rh,':'))) *x = 0; | ^~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:589:16: warning: assigning to '_u8 *' (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] 589 | if ((x = strchr(rh,':'))) *x = 0; | ^ ~~~~~~~~~~~~~~ http.c:597:21: warning: passing '_u8 *' (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] 597 | if (!strcasecmp(line,"X-Ratproxy-Loop")) | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:598:25: warning: passing 'char[20]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 598 | http_error(client,"Proxy loop detected",1); | ^~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:604:21: warning: passing '_u8 *' (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] 604 | if (!strcasecmp(line,"Authorization") && !strncasecmp(x,"GoogleLogin auth=",17)) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:604:59: warning: passing '_u8 *' (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] 604 | if (!strcasecmp(line,"Authorization") && !strncasecmp(x,"GoogleLogin auth=",17)) { | ^ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:609:21: warning: passing '_u8 *' (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] 609 | if (!strcasecmp(line,"Content-Type")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:611:27: warning: passing 'char[15]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 611 | if (rp_strcasestr(x,"text/x-gwt-rpc")) { ret->xsrf_safe = 1; ret->authsub = 1; } | ^~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ http.c:613:27: warning: passing 'char[20]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 613 | if (rp_strcasestr(x,"multipart/form-data")) ret->multipart = 1; | ^~~~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ http.c:614:33: warning: passing 'char[34]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 614 | else if (!rp_strcasestr(x,"application/x-www-form-urlencoded")) ret->non_param = 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ http.c:617:21: warning: passing '_u8 *' (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] 617 | DYN_ADD2(ret->h,line,x); | ^~~~ ./nlist.h:83:23: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:617:5: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 617 | DYN_ADD2(ret->h,line,x); | ^~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:10: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^ ~~~~~~~~~~~~ http.c:617:26: warning: passing '_u8 *' (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] 617 | DYN_ADD2(ret->h,line,x); | ^ ./nlist.h:83:44: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:617:5: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 617 | DYN_ADD2(ret->h,line,x); | ^~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:31: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^ ~~~~~~~~~~~~ http.c:629:25: warning: passing 'char[30]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 629 | http_error(client,"Premature end of payload data",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:668:28: warning: passing '_u8 *' (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] 668 | if (!(he = gethostbyname(host)) || !(he->h_addr_list[0])) | ^~~~ /usr/include/netdb.h:235:43: note: passing argument to parameter here 235 | struct hostent *gethostbyname(const char *); | ^ http.c:669:23: warning: passing 'char[27]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 669 | http_error(client,"Unable to find target host",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:680:23: warning: passing 'char[28]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 680 | http_error(client,"Connection to target failed",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:685:16: warning: passing '_u8[8192]' (aka 'unsigned char[8192]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 685 | setvbuf(ret, srv_buf, _IOFBF, sizeof(srv_buf)); | ^~~~~~~ /usr/include/stdio.h:284:50: note: passing argument to parameter here 284 | int setvbuf(FILE * __restrict, char * __restrict, int, size_t); | ^ http.c:708:20: warning: passing '_u8[8192]' (aka 'unsigned char[8192]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 708 | setvbuf(ret, srv_buf, _IONBF, 0); | ^~~~~~~ /usr/include/stdio.h:284:50: note: passing argument to parameter here 284 | int setvbuf(FILE * __restrict, char * __restrict, int, size_t); | ^ http.c:747:17: warning: passing '_u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 747 | sprintf(tmp,"%%%02X",c); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:752:7: warning: passing '_u8 *' (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] 752 | STR_APPEND(q,tmp); | ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:761:17: warning: passing '_u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 761 | sprintf(tmp,"%%%02X",c); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:766:7: warning: passing '_u8 *' (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] 766 | STR_APPEND(q,tmp); | ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:783:13: warning: passing '_u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 783 | sprintf(tmp,"ratproxybound%08x",rand()); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:784:30: warning: passing '_u8[32]' (aka 'unsigned char[32]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 784 | r->use_boundary = strdup(tmp); | ^~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:784:21: warning: assigning to '_u8 *' (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] 784 | r->use_boundary = strdup(tmp); | ^ ~~~~~~~~~~~ http.c:788:7: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 788 | STR_APPEND(p,"--"); | ^~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' 176 | _u8* _data = (value); \ | ^ ~~~~~~~ http.c:788:7: warning: passing '_u8 *' (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] 788 | STR_APPEND(p,"--"); | ^~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:789:7: warning: passing '_u8 *' (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] 789 | STR_APPEND(p,r->use_boundary); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:790:7: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[41]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 790 | STR_APPEND(p,"\r\nContent-Disposition: form-data; name=\""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' 176 | _u8* _data = (value); \ | ^ ~~~~~~~ http.c:790:7: warning: passing '_u8 *' (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] 790 | STR_APPEND(p,"\r\nContent-Disposition: form-data; name=\""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:791:7: warning: passing '_u8 *' (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] 791 | STR_APPEND(p,r->p.v1[cp]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:794:9: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 794 | STR_APPEND(p,"\"; filename=\""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' 176 | _u8* _data = (value); \ | ^ ~~~~~~~ http.c:794:9: warning: passing '_u8 *' (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] 794 | STR_APPEND(p,"\"; filename=\""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:795:9: warning: passing '_u8 *' (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] 795 | STR_APPEND(p,r->p.fn[cp]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:798:7: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 798 | STR_APPEND(p,"\"\r\n\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' 176 | _u8* _data = (value); \ | ^ ~~~~~~~ http.c:798:7: warning: passing '_u8 *' (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] 798 | STR_APPEND(p,"\"\r\n\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:802:9: warning: passing '_u8 *' (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] 802 | STR_APPEND(p,r->p.v2[cp]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:805:7: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 805 | STR_APPEND(p,"\r\n"); | ^~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' 176 | _u8* _data = (value); \ | ^ ~~~~~~~ http.c:805:7: warning: passing '_u8 *' (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] 805 | STR_APPEND(p,"\r\n"); | ^~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:809:5: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 809 | STR_APPEND(p,"--"); | ^~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' 176 | _u8* _data = (value); \ | ^ ~~~~~~~ http.c:809:5: warning: passing '_u8 *' (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] 809 | STR_APPEND(p,"--"); | ^~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:810:5: warning: passing '_u8 *' (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] 810 | STR_APPEND(p,r->use_boundary); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:811:5: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 811 | STR_APPEND(p,"--\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' 176 | _u8* _data = (value); \ | ^ ~~~~~~~ http.c:811:5: warning: passing '_u8 *' (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] 811 | STR_APPEND(p,"--\r\n"); | ^~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:822:19: warning: passing '_u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 822 | sprintf(tmp,"%%%02X",c); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:827:9: warning: passing '_u8 *' (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] 827 | STR_APPEND(p,tmp); | ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:836:19: warning: passing '_u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 836 | sprintf(tmp,"%%%02X",c); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:841:9: warning: passing '_u8 *' (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] 841 | STR_APPEND(p,tmp); | ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:848:14: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 848 | if (p.l) STR_APPEND(p,"\r\n"); | ^~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' 176 | _u8* _data = (value); \ | ^ ~~~~~~~ http.c:848:14: warning: passing '_u8 *' (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] 848 | if (p.l) STR_APPEND(p,"\r\n"); | ^~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:870:19: warning: passing '_u8 *' (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] 870 | _u32 l = strlen(str); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:873:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 873 | STR_APPEND(p,"GWT_RPC["); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' 176 | _u8* _data = (value); \ | ^ ~~~~~~~ http.c:873:3: warning: passing '_u8 *' (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] 873 | STR_APPEND(p,"GWT_RPC["); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:875:22: warning: passing '_u8 *' (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] 875 | while ((n = strstr(c,"\xEF\xBF\xBF"))) { | ^ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ http.c:875:13: warning: assigning to '_u8 *' (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] 875 | while ((n = strstr(c,"\xEF\xBF\xBF"))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ http.c:882:20: warning: passing '_u8 *' (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] 882 | if (!strncmp(c,"[L",2)) c += 2; | ^ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ http.c:884:20: warning: passing '_u8 *' (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] 884 | if (!strncmp(c,"com.google.",11) || !strncmp(c,"java.",5)) c = strrchr(c,'.') + 1; | ^ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ http.c:884:52: warning: passing '_u8 *' (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] 884 | if (!strncmp(c,"com.google.",11) || !strncmp(c,"java.",5)) c = strrchr(c,'.') + 1; | ^ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ http.c:884:78: warning: passing '_u8 *' (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] 884 | if (!strncmp(c,"com.google.",11) || !strncmp(c,"java.",5)) c = strrchr(c,'.') + 1; | ^ /usr/include/string.h:117:27: note: passing argument to parameter here 117 | char *strrchr(const char *, int) __pure; | ^ http.c:884:68: warning: assigning to '_u8 *' (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] 884 | if (!strncmp(c,"com.google.",11) || !strncmp(c,"java.",5)) c = strrchr(c,'.') + 1; | ^ ~~~~~~~~~~~~~~~~~~ http.c:888:7: warning: passing '_u8 *' (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] 888 | STR_APPEND(p,c); | ^~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:921:17: warning: passing '_u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 921 | sprintf(tmp,"%%%02X",c); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:926:7: warning: passing '_u8 *' (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] 926 | STR_APPEND(p,tmp); | ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:936:7: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 936 | STR_APPEND(p,"FILE["); | ^~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' 176 | _u8* _data = (value); \ | ^ ~~~~~~~ http.c:936:7: warning: passing '_u8 *' (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] 936 | STR_APPEND(p,"FILE["); | ^~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:941:19: warning: passing '_u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 941 | sprintf(tmp,"%%%02X",c); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:946:9: warning: passing '_u8 *' (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] 946 | STR_APPEND(p,tmp); | ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:957:19: warning: passing '_u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 957 | sprintf(tmp,"%%%02X",c); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:962:9: warning: passing '_u8 *' (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] 962 | STR_APPEND(p,tmp); | ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' 177 | _u32 _len = strlen(_data); \ | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:977:19: warning: passing '_u8 *' (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] 977 | _s32 i = strlen(dat), dc = 0; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:979:19: warning: passing '_u8 *' (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] 979 | if (i != strlen(exp)) return 1; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:1007:32: warning: passing '_u8[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1007 | if (r->port != 80) sprintf(port_spec,":%u",r->port); | ^~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:1009:33: warning: passing '_u8[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1009 | if (r->port != 443) sprintf(port_spec,":%u",r->port); | ^~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:1043:23: warning: passing '_u8 *' (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] 1043 | if (!strcasecmp(r->h.v1[i],"Host")) continue; | ^~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1044:23: warning: passing '_u8 *' (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] 1044 | if (!strcasecmp(r->h.v1[i],"Range")) continue; | ^~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1045:23: warning: passing '_u8 *' (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] 1045 | if (!strcasecmp(r->h.v1[i],"Connection")) continue; | ^~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1046:23: warning: passing '_u8 *' (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] 1046 | if (!strcasecmp(r->h.v1[i],"Keep-Alive")) continue; | ^~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1047:24: warning: passing '_u8 *' (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] 1047 | if (!strncasecmp(r->h.v1[i],"Proxy-",6)) continue; | ^~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:1048:23: warning: passing '_u8 *' (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] 1048 | if (!strcasecmp(r->h.v1[i],"Accept-Encoding")) continue; | ^~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1049:23: warning: passing '_u8 *' (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] 1049 | if (!strcasecmp(r->h.v1[i],"Content-Length")) continue; | ^~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1053:23: warning: passing '_u8 *' (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] 1053 | if (!strcasecmp(r->h.v1[i],"Content-Type") && r->use_boundary) { | ^~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1080:44: warning: passing 'char[24]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1080 | if (!line || !line[0]) http_error(client,"Malformed HTTP response",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:1082:14: warning: passing '_u8 *' (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] 1082 | x = strchr(line,' '); | ^~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:1082:5: warning: assigning to '_u8 *' (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] 1082 | x = strchr(line,' '); | ^ ~~~~~~~~~~~~~~~~ http.c:1083:42: warning: passing 'char[27]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1083 | if (!x || x == line) http_error(client,"HTTP response code missing",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:1086:20: warning: passing '_u8 *' (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] 1086 | ret->code = atoi(x); | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ http.c:1088:23: warning: passing 'char[27]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1088 | http_error(client,"Invalid HTTP response code",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:1093:34: warning: passing 'char[32]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1093 | if (!line) http_error(client,"Premature end of server headers",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:1097:16: warning: passing '_u8 *' (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] 1097 | x = strchr(line,':'); | ^~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:1097:7: warning: assigning to '_u8 *' (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] 1097 | x = strchr(line,':'); | ^ ~~~~~~~~~~~~~~~~ http.c:1098:31: warning: passing 'char[24]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1098 | if (!x) http_error(client,"Invalid response header",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:1103:23: warning: passing '_u8 *' (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] 1103 | if (!strcasecmp(line,ret->h.v1[i]) && strcmp(x,ret->h.v2[i]) && | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1103:28: warning: passing '_u8 *' (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] 1103 | if (!strcasecmp(line,ret->h.v1[i]) && strcmp(x,ret->h.v2[i]) && | ^~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1103:52: warning: passing '_u8 *' (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] 1103 | if (!strcasecmp(line,ret->h.v1[i]) && strcmp(x,ret->h.v2[i]) && | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ http.c:1103:54: warning: passing '_u8 *' (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] 1103 | if (!strcasecmp(line,ret->h.v1[i]) && strcmp(x,ret->h.v2[i]) && | ^~~~~~~~~~~~ /usr/include/string.h:85:39: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ http.c:1104:24: warning: passing '_u8 *' (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] 1104 | strncasecmp(line,"Set-Cookie",10) && strncasecmp(line,"X-Cache",7) && | ^~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:1104:61: warning: passing '_u8 *' (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] 1104 | strncasecmp(line,"Set-Cookie",10) && strncasecmp(line,"X-Cache",7) && | ^~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:1105:24: warning: passing '_u8 *' (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] 1105 | strncasecmp(line,"Server",7)) | ^~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:1111:21: warning: passing '_u8 *' (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] 1111 | if (!strcasecmp(line,"Expires")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1112:26: warning: passing '_u8 *' (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] 1112 | exp_value = strdup(x); | ^ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:1112:17: warning: assigning to '_u8 *' (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] 1112 | exp_value = strdup(x); | ^ ~~~~~~~~~ http.c:1116:21: warning: passing '_u8 *' (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] 1116 | if (!strcasecmp(line,"Date")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1117:26: warning: passing '_u8 *' (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] 1117 | dat_value = strdup(x); | ^ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:1117:17: warning: assigning to '_u8 *' (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] 1117 | dat_value = strdup(x); | ^ ~~~~~~~~~ http.c:1127:21: warning: passing '_u8 *' (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] 1127 | if (!strcasecmp(line,"Cache-Control")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1128:18: warning: passing '_u8 *' (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] 1128 | if (strstr(x,"no-cache") || strstr(x,"private") || | ^ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ http.c:1128:42: warning: passing '_u8 *' (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] 1128 | if (strstr(x,"no-cache") || strstr(x,"private") || | ^ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ http.c:1129:18: warning: passing '_u8 *' (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] 1129 | strstr(x,"max-age=0") || strstr(x,"no-store")) | ^ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ http.c:1129:43: warning: passing '_u8 *' (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] 1129 | strstr(x,"max-age=0") || strstr(x,"no-store")) | ^ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ http.c:1133:21: warning: passing '_u8 *' (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] 1133 | if (!strcasecmp(line,"Pragma")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1134:18: warning: passing '_u8 *' (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] 1134 | if (strstr(x,"no-cache")) ret->pr10intent = INTENT_PRIV; | ^ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ http.c:1138:21: warning: passing '_u8 *' (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] 1138 | if (!strcasecmp(line,"Connection")) continue; | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1139:21: warning: passing '_u8 *' (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] 1139 | if (!strcasecmp(line,"Keep-Alive")) continue; | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1140:21: warning: passing '_u8 *' (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] 1140 | if (!strcasecmp(line,"Content-Range")) continue; | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1142:21: warning: passing '_u8 *' (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] 1142 | if (!strcasecmp(line,"Content-Type")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1143:26: warning: passing '_u8 *' (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] 1143 | _u8 *copy = strdup(x), *y; | ^ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:1143:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1143 | _u8 *copy = strdup(x), *y; | ^ ~~~~~~~~~ http.c:1146:24: warning: passing '_u8 *' (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] 1146 | if ((y = strrchr(copy,';'))) { | ^~~~ /usr/include/string.h:117:27: note: passing argument to parameter here 117 | char *strrchr(const char *, int) __pure; | ^ http.c:1146:14: warning: assigning to '_u8 *' (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] 1146 | if ((y = strrchr(copy,';'))) { | ^ ~~~~~~~~~~~~~~~~~ http.c:1149:26: warning: passing '_u8 *' (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] 1149 | if (!strncasecmp(y,"charset=",8)) { | ^ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:1151:37: warning: passing '_u8 *' (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] 1151 | if (*y == '"' && y[strlen(y)-1] == '"') { | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:1152:22: warning: passing '_u8 *' (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] 1152 | y[strlen(y)-1]=0; | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:1163:21: warning: passing '_u8 *' (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] 1163 | if (!strcasecmp(line,"Content-Disposition")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1166:37: warning: passing '_u8 *' (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] 1166 | ret->is_attach = (strncasecmp(x,"attachment;",11) == 0) || | ^ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:1167:36: warning: passing '_u8 *' (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] 1167 | (strcasecmp(x,"attachment") == 0); | ^ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1172:17: warning: passing '_u8 *' (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] 1172 | y=strrchr(x,'.'); | ^ /usr/include/string.h:117:27: note: passing argument to parameter here 117 | char *strrchr(const char *, int) __pure; | ^ http.c:1172:8: warning: assigning to '_u8 *' (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] 1172 | y=strrchr(x,'.'); | ^~~~~~~~~~~~~~~ http.c:1174:27: warning: passing '_u8 *' (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] 1174 | ret->ext = strdup(y + 1); | ^~~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:1174:18: warning: assigning to '_u8 *' (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] 1174 | ret->ext = strdup(y + 1); | ^ ~~~~~~~~~~~~~ http.c:1176:20: warning: passing '_u8 *' (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] 1176 | y = strchr(y + 1,'"'); | ^~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:1176:11: warning: assigning to '_u8 *' (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] 1176 | y = strchr(y + 1,'"'); | ^ ~~~~~~~~~~~~~~~~~ http.c:1182:21: warning: passing '_u8 *' (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] 1182 | if (!strcasecmp(line,"Location")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1183:30: warning: passing '_u8 *' (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] 1183 | ret->location = strdup(x); | ^ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:1183:21: warning: assigning to '_u8 *' (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] 1183 | ret->location = strdup(x); | ^ ~~~~~~~~~ http.c:1187:21: warning: passing '_u8 *' (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] 1187 | if (!strcasecmp(line,"Set-Cookie")) parse_cookies(x,&ret->cookies); | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1189:21: warning: passing '_u8 *' (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] 1189 | if (!strcasecmp(line,"Content-Length")) { | ^~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1191:24: warning: passing '_u8 *' (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] 1191 | decl_clen = atoi(x); | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ http.c:1193:27: warning: passing 'char[41]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1193 | http_error(client,"Bogus content length returned by server.",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:1198:21: warning: passing '_u8 *' (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] 1198 | DYN_ADD2(ret->h,line,x); | ^~~~ ./nlist.h:83:23: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:1198:5: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1198 | DYN_ADD2(ret->h,line,x); | ^~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:10: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^ ~~~~~~~~~~~~ http.c:1198:26: warning: passing '_u8 *' (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] 1198 | DYN_ADD2(ret->h,line,x); | ^ ./nlist.h:83:44: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:1198:5: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1198 | DYN_ADD2(ret->h,line,x); | ^~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:31: note: expanded from macro 'DYN_ADD2' 83 | _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ | ^ ~~~~~~~~~~~~ http.c:1206:32: warning: passing '_u8 *' (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] 1206 | _u8* year = 0, *z = strchr(exp_value,','); | ^~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:1206:21: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1206 | _u8* year = 0, *z = strchr(exp_value,','); | ^ ~~~~~~~~~~~~~~~~~~~~~ http.c:1217:38: warning: passing '_u8 *' (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] 1217 | } else if (dat_value && (!strcmp(exp_value,dat_value) || !comp_dates(exp_value,dat_value))) { | ^~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ http.c:1217:48: warning: passing '_u8 *' (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] 1217 | } else if (dat_value && (!strcmp(exp_value,dat_value) || !comp_dates(exp_value,dat_value))) { | ^~~~~~~~~ /usr/include/string.h:85:39: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ http.c:1224:45: warning: passing '_u8 *' (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] 1224 | if (z && z == exp_value + 3 && strlen(exp_value) > 11) { | ^~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:1233:23: warning: passing '_u8 *' (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] 1233 | year = strchr(z,'-'); | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:1233:14: warning: assigning to '_u8 *' (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] 1233 | year = strchr(z,'-'); | ^ ~~~~~~~~~~~~~ http.c:1234:33: warning: passing '_u8 *' (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] 1234 | if (year) year = strchr(year + 1,'-'); | ^~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:1234:24: warning: assigning to '_u8 *' (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] 1234 | if (year) year = strchr(year + 1,'-'); | ^ ~~~~~~~~~~~~~~~~~~~~ http.c:1237:25: warning: passing '_u8 *' (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] 1237 | } else if (strlen(x) > 19) { | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:1246:26: warning: passing '_u8 *' (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] 1246 | _u32 yval = atoi(year); | ^~~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ http.c:1277:25: warning: passing 'char[29]' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1277 | http_error(client,"Response size limit exceeded",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 81 | static void http_error(FILE* client, _u8* message,_u8 sink) { | ^ http.c:1301:19: warning: passing '_u8[8192]' (aka 'unsigned char[8192]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1301 | setvbuf(client, cli_buf, _IOFBF, sizeof(cli_buf)); | ^~~~~~~ /usr/include/stdio.h:284:50: note: passing argument to parameter here 284 | int setvbuf(FILE * __restrict, char * __restrict, int, size_t); | ^ http.c:1351:13: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1351 | MD5_Final((char*)res, &ctx); | ^~~~~~~~~~ /usr/include/openssl/md5.h:42:30: note: passing argument to parameter 'md' here 42 | int MD5_Final(unsigned char *md, MD5_CTX *c); | ^ http.c:1375:22: warning: passing '_u8 *' (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] 1375 | if (!strncasecmp(r->payload+i,"http-equiv",10)) got_equiv = 1; | ^~~~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:1379:35: warning: passing '_u8 *' (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] 1379 | if (got_equiv && !strncasecmp(r->payload+i,"charset=",8)) { | ^~~~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ http.c:1390:34: warning: passing '_u8[33]' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1390 | if (r->charset && strcasecmp(sniffed,r->charset)) r->has_multiple = 1; | ^~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1390:42: warning: passing '_u8 *' (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] 1390 | if (r->charset && strcasecmp(sniffed,r->charset)) r->has_multiple = 1; | ^~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1391:25: warning: passing '_u8[33]' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1391 | r->charset = strdup(sniffed); | ^~~~~~~ /usr/include/string.h:90:26: note: passing argument to parameter here 90 | char *strdup(const char *) __malloc_like; | ^ http.c:1391:16: warning: assigning to '_u8 *' (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] 1391 | r->charset = strdup(sniffed); | ^ ~~~~~~~~~~~~~~~ http.c:1399:21: warning: passing '_u8 *' (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] 1399 | if (!strcasecmp(r->charset,valid_charsets[i])) return; | ^~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ http.c:1399:32: warning: passing '_u8 *' (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] 1399 | if (!strcasecmp(r->charset,valid_charsets[i])) return; | ^~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ 329 warnings generated. In file included from mime.c:41: ./config.h:99:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | "login", | ^~~~~~~ ./config.h:100:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 100 | "user", | ^~~~~~ ./config.h:101:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | "sess", | ^~~~~~ ./config.h:102:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 102 | "account", | ^~~~~~~~~ ./config.h:103:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | "pass", | ^~~~~~ ./config.h:112:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | "token", | ^~~~~~~ ./config.h:113:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 113 | "once", | ^~~~~~ ./config.h:114:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 114 | "secret", | ^~~~~~~~ ./config.h:115:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 115 | "secid", | ^~~~~~~ ./config.h:116:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | "auth", | ^~~~~~ ./config.h:117:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 117 | "=tok", | ^~~~~~ ./config.h:118:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | "=sig", | ^~~~~~ ./config.h:122:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | "=gb", | ^~~~~ ./config.h:123:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | "=usg", | ^~~~~~ ./config.h:124:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | "=at", | ^~~~~ ./config.h:125:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | "=bb", | ^~~~~ ./config.h:126:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | "=cid", | ^~~~~~ ./config.h:127:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | "=ids", | ^~~~~~ ./config.h:128:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 128 | "=et", | ^~~~~ ./config.h:138:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | "=ver", | ^~~~~~ ./config.h:139:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | "=id", | ^~~~~ ./config.h:140:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | "=zx", | ^~~~~ ./config.h:141:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | "=_", | ^~~~ ./config.h:150:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | "utf", | ^~~~~ ./config.h:151:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 151 | "html", | ^~~~~~ ./config.h:160:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 160 | "while(1);", /* Parser looping - common */ | ^~~~~~~~~~~ ./config.h:161:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 161 | "while (1);", /* ... */ | ^~~~~~~~~~~~ ./config.h:162:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 162 | "while(true);", /* ... */ | ^~~~~~~~~~~~~~ ./config.h:163:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 163 | "while (true);", /* ... */ | ^~~~~~~~~~~~~~~ ./config.h:164:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 164 | "&&&", /* Parser breaking - OpenSocial */ | ^~~~~ ./config.h:165:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 165 | "//OK[", /* Line commenting - GWT */ | ^~~~~~~ ./config.h:166:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 166 | "{\"", /* Serialized object - common */ | ^~~~~ ./config.h:167:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 167 | "{{\"", /* Serialized object - common */ | ^~~~~~ ./config.h:168:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | "throw 1;", /* Parser bailout - common */ | ^~~~~~~~~~ ./config.h:169:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | ")]}", /* A robust alternative */ | ^~~~~ ./config.h:184:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 184 | "utf-8", /* Valid Unicode */ | ^~~~~~~ ./config.h:185:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | "iso8859-1", /* Valid Western */ | ^~~~~~~~~~~ ./config.h:186:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | "iso-8859-1", /* Invalid but recognized */ | ^~~~~~~~~~~~ ./config.h:187:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 187 | "iso8859-2", /* Valid European */ | ^~~~~~~~~~~ ./config.h:188:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | "iso-8859-2", /* Invalid but recognized */ | ^~~~~~~~~~~~ ./config.h:189:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | "iso8859-15", /* ISO-8859-1, new and improved */ | ^~~~~~~~~~~~ ./config.h:190:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | "iso-8859-15", /* ISO-8859-1, new and improved */ | ^~~~~~~~~~~~~ ./config.h:191:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 191 | "windows-1252", /* Microsoft's Western */ | ^~~~~~~~~~~~~~ ./config.h:192:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | "windows-1250", /* Microsoft's European */ | ^~~~~~~~~~~~~~ ./config.h:193:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 193 | "us-ascii", /* Old school but generally safe */ | ^~~~~~~~~~ ./config.h:203:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 203 | "text/html", /* HTML */ | ^~~~~~~~~~~ ./config.h:204:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | "application/xhtml+xml", /* XHTML */ | ^~~~~~~~~~~~~~~~~~~~~~~ ./config.h:205:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | "application/java-vm", /* Java class */ | ^~~~~~~~~~~~~~~~~~~~~ ./config.h:206:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | "application/java-archive", /* Java JAR */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./config.h:207:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | "application/x-shockwave-flash", /* Flash */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./config.h:208:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | "video/flv", /* Flash */ | ^~~~~~~~~~~ ./config.h:209:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | "video/x-flv", /* Flash */ | ^~~~~~~~~~~~~ In file included from mime.c:47: ./string-inl.h:58:18: warning: passing 'const _u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 58 | len = strlen(needle); | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ In file included from mime.c:47: ./string-inl.h:64:26: warning: passing 'const _u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | } while (strncasecmp(haystack, needle, len)); | ^~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ In file included from mime.c:47: ./string-inl.h:64:36: warning: passing 'const _u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | } while (strncasecmp(haystack, needle, len)); | ^~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ mime.c:58:61: warning: passing '_u8 *' (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] 58 | if (json_safe[i][1] && !strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mime.c:58:37: warning: passing '_u8 *' (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] 58 | if (json_safe[i][1] && !strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; | ^~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:58:41: warning: passing '_u8 *' (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] 58 | if (json_safe[i][1] && !strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; | ^~~~~~~~~~~~ /usr/include/string.h:105:40: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:96:18: warning: passing '_u8[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | if (!strncmp(sniffbuf,"%!PS",4)) { | ^~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:97:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[23]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 97 | r->sniffed_mime = "application/postscript"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:101:18: warning: passing '_u8[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | if (!strncmp(sniffbuf,"{\\rtf",5)) { | ^~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:102:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 102 | r->sniffed_mime = "text/rtf"; | ^ ~~~~~~~~~~ mime.c:117:20: warning: passing '_u8 *' (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] 117 | if (!strncmp(sniffbuf+i,"//",2)) { | ^~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:118:25: warning: passing '_u8 *' (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] 118 | _u8* x = strchr(sniffbuf + i + 2, '\n'); | ^~~~~~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mime.c:118:14: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | _u8* x = strchr(sniffbuf + i + 2, '\n'); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:123:20: warning: passing '_u8 *' (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] 123 | if (!strncmp(sniffbuf+i,"/*",2)) { | ^~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:124:25: warning: passing '_u8 *' (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] 124 | _u8* x = strstr(sniffbuf + i + 2, "*/"); | ^~~~~~~~~~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:124:14: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | _u8* x = strstr(sniffbuf + i + 2, "*/"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:131:42: warning: passing '_u8 *' (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] 131 | if ((sniffbuf[i] == '<' || !strcmp(sniffbuf+i,"<"))) break; | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ mime.c:133:20: warning: passing '_u8 *' (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] 133 | if (!strncmp(sniffbuf+i,"try",3) && (isspace(sniffbuf[i+3]) || sniffbuf[i+3] == '{')) | ^~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:154:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 154 | r->sniffed_mime = "text/css"; | ^ ~~~~~~~~~~ mime.c:171:20: warning: passing '_u8 *' (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] 171 | !strncmp(sniffbuf + i, "function ",9) || | ^~~~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:172:20: warning: passing '_u8 *' (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] 172 | !strncmp(sniffbuf + i, "throw ",6) || | ^~~~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:173:20: warning: passing '_u8 *' (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] 173 | !strncmp(sniffbuf + i, "var ",4)) { | ^~~~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:177:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 177 | r->sniffed_mime = "application/x-javascript"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:185:27: warning: passing '_u8 *' (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] 185 | if (!strcasecmp(r->mime_type,"text/javascript")) | ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ mime.c:186:29: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | r->sniffed_mime = "text/javascript"; | ^ ~~~~~~~~~~~~~~~~~ mime.c:187:32: warning: passing '_u8 *' (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] 187 | else if (!strcasecmp(r->mime_type,"application/javascript")) | ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ mime.c:188:29: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[23]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | r->sniffed_mime = "application_javascript"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:189:32: warning: passing '_u8 *' (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] 189 | else if (!strcasecmp(r->mime_type,"application/json")) | ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ mime.c:190:29: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | r->sniffed_mime = "application/json"; | ^ ~~~~~~~~~~~~~~~~~~ mime.c:201:16: warning: passing '_u8[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 201 | if (strstr(sniffbuf,"<OpenSearch")) { | ^~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:202:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[38]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | r->sniffed_mime = "application/opensearchdescription+xml"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:208:16: warning: passing '_u8[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | if (strstr(sniffbuf,"<channel") || strstr(sniffbuf,"<description") || | ^~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:208:47: warning: passing '_u8[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | if (strstr(sniffbuf,"<channel") || strstr(sniffbuf,"<description") || | ^~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:209:16: warning: passing '_u8[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | strstr(sniffbuf,"<item") || strstr(sniffbuf,"<rdf:RDF") || | ^~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:209:47: warning: passing '_u8[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | strstr(sniffbuf,"<item") || strstr(sniffbuf,"<rdf:RDF") || | ^~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:210:16: warning: passing '_u8[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 210 | strstr(sniffbuf,"<rss")) { | ^~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:211:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 211 | r->sniffed_mime = "application/rss+xml"; | ^ ~~~~~~~~~~~~~~~~~~~~~ mime.c:217:16: warning: passing '_u8[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 217 | if (strstr(sniffbuf,"<feed ") || strstr(sniffbuf,"<updated>")) { | ^~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:217:45: warning: passing '_u8[1025]' (aka 'unsigned char[1025]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 217 | if (strstr(sniffbuf,"<feed ") || strstr(sniffbuf,"<updated>")) { | ^~~~~~~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:218:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[21]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 218 | r->sniffed_mime = "application/atom+xml"; | ^ ~~~~~~~~~~~~~~~~~~~~~~ mime.c:224:32: warning: passing 'char[5]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 224 | if (rp_strcasestr(sniffbuf,"<wml") || rp_strcasestr(sniffbuf,"<!DOCTYPE wml ")) { | ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:224:66: warning: passing 'char[15]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 224 | if (rp_strcasestr(sniffbuf,"<wml") || rp_strcasestr(sniffbuf,"<!DOCTYPE wml ")) { | ^~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:225:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | r->sniffed_mime = "text/vnd.wap.wml"; | ^ ~~~~~~~~~~~~~~~~~~ mime.c:232:32: warning: passing 'char[22]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 232 | if (rp_strcasestr(sniffbuf,"<cross-domain-policy>")) { | ^~~~~~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:233:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 233 | r->sniffed_mime = "text/x-cross-domain-policy"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:239:32: warning: passing 'char[6]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 239 | if (rp_strcasestr(sniffbuf,"<?xml")) { | ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:241:34: warning: passing 'char[5]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 241 | if (rp_strcasestr(sniffbuf,"<svg")) | ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:242:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 242 | r->sniffed_mime = "image/svg+xml"; | ^ ~~~~~~~~~~~~~~~ mime.c:243:39: warning: passing 'char[10]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 243 | else if (rp_strcasestr(sniffbuf,"<!doctype") && !rp_strcasestr(sniffbuf,"cross-domain-policy")) | ^~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:243:79: warning: passing 'char[20]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 243 | else if (rp_strcasestr(sniffbuf,"<!doctype") && !rp_strcasestr(sniffbuf,"cross-domain-policy")) | ^~~~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:244:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 244 | r->sniffed_mime = "application/xhtml+xml"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ mime.c:247:41: warning: passing '_u8 *' (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] 247 | if (r->mime_type && !strcasecmp(r->mime_type,"text/xml")) | ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ mime.c:248:27: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 248 | r->sniffed_mime = "text/xml"; | ^ ~~~~~~~~~~ mime.c:249:30: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 249 | else r->sniffed_mime = "application/xml"; | ^ ~~~~~~~~~~~~~~~~~ mime.c:257:32: warning: passing 'char[6]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | if (rp_strcasestr(sniffbuf,"<html") || rp_strcasestr(sniffbuf,"<meta") || | ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:257:71: warning: passing 'char[6]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | if (rp_strcasestr(sniffbuf,"<html") || rp_strcasestr(sniffbuf,"<meta") || | ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:258:32: warning: passing 'char[6]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 258 | rp_strcasestr(sniffbuf,"<head") || rp_strcasestr(sniffbuf,"<title") || | ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:258:71: warning: passing 'char[7]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 258 | rp_strcasestr(sniffbuf,"<head") || rp_strcasestr(sniffbuf,"<title") || | ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:259:32: warning: passing 'char[5]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 259 | rp_strcasestr(sniffbuf,"<!--") || | ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:260:32: warning: passing 'char[10]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 260 | rp_strcasestr(sniffbuf,"<!doctype") || rp_strcasestr(sniffbuf,"<body") || | ^~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:260:71: warning: passing 'char[6]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 260 | rp_strcasestr(sniffbuf,"<!doctype") || rp_strcasestr(sniffbuf,"<body") || | ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:261:32: warning: passing 'char[6]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 261 | rp_strcasestr(sniffbuf,"<font") || rp_strcasestr(sniffbuf,"<br") || | ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:261:71: warning: passing 'char[4]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 261 | rp_strcasestr(sniffbuf,"<font") || rp_strcasestr(sniffbuf,"<br") || | ^~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:262:32: warning: passing 'char[4]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 262 | rp_strcasestr(sniffbuf,"<td") || rp_strcasestr(sniffbuf,"<div") || | ^~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:262:71: warning: passing 'char[5]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 262 | rp_strcasestr(sniffbuf,"<td") || rp_strcasestr(sniffbuf,"<div") || | ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:263:32: warning: passing 'char[6]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 263 | rp_strcasestr(sniffbuf,"<span") || rp_strcasestr(sniffbuf,"<img") || | ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:263:71: warning: passing 'char[5]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 263 | rp_strcasestr(sniffbuf,"<span") || rp_strcasestr(sniffbuf,"<img") || | ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:264:32: warning: passing 'char[4]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 264 | rp_strcasestr(sniffbuf,"<li") || rp_strcasestr(sniffbuf,"href=") || | ^~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:264:71: warning: passing 'char[6]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 264 | rp_strcasestr(sniffbuf,"<li") || rp_strcasestr(sniffbuf,"href=") || | ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:265:32: warning: passing 'char[4]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | rp_strcasestr(sniffbuf,"<ol") || rp_strcasestr(sniffbuf,"<ul") || | ^~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:265:71: warning: passing 'char[4]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | rp_strcasestr(sniffbuf,"<ol") || rp_strcasestr(sniffbuf,"<ul") || | ^~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:266:32: warning: passing 'char[7]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | rp_strcasestr(sniffbuf,"<style") || rp_strcasestr(sniffbuf,"<script")) { | ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:266:71: warning: passing 'char[8]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | rp_strcasestr(sniffbuf,"<style") || rp_strcasestr(sniffbuf,"<script")) { | ^~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:268:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 268 | r->sniffed_mime = "text/html"; | ^ ~~~~~~~~~~~ mime.c:277:27: warning: passing 'char[10]' to parameter of type 'const _u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 277 | if (rp_strcasestr(xxx,"<![CDATA[") || (xxx[0] == '<' && (strstr(xxx,"</") || strstr(xxx,"/>") || strstr(xxx,"/ >")))) { | ^~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 49 | static inline _u8* rp_strcasestr(const _u8* haystack, const _u8* needle) { | ^ mime.c:277:69: warning: passing '_u8 *' (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] 277 | if (rp_strcasestr(xxx,"<![CDATA[") || (xxx[0] == '<' && (strstr(xxx,"</") || strstr(xxx,"/>") || strstr(xxx,"/ >")))) { | ^~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:277:89: warning: passing '_u8 *' (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] 277 | if (rp_strcasestr(xxx,"<![CDATA[") || (xxx[0] == '<' && (strstr(xxx,"</") || strstr(xxx,"/>") || strstr(xxx,"/ >")))) { | ^~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:277:109: warning: passing '_u8 *' (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] 277 | if (rp_strcasestr(xxx,"<![CDATA[") || (xxx[0] == '<' && (strstr(xxx,"</") || strstr(xxx,"/>") || strstr(xxx,"/ >")))) { | ^~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mime.c:279:41: warning: passing '_u8 *' (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] 279 | if (r->mime_type && !strcasecmp(r->mime_type,"text/xml")) | ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ mime.c:280:27: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 280 | r->sniffed_mime = "text/xml"; | ^ ~~~~~~~~~~ mime.c:281:30: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 281 | else r->sniffed_mime = "application/xml"; | ^ ~~~~~~~~~~~~~~~~~ mime.c:287:21: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 287 | r->sniffed_mime = "text/plain"; | ^ ~~~~~~~~~~~~ mime.c:295:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 295 | r->sniffed_mime = "image/jpeg"; | ^ ~~~~~~~~~~~~ mime.c:299:39: warning: passing '_u8 *' (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] 299 | if (r->mime_type && !strcasecmp(r->mime_type,"image/pjpeg")) | ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ mime.c:300:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 300 | r->sniffed_mime = "image/pjpeg"; | ^ ~~~~~~~~~~~~~ mime.c:307:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 307 | r->sniffed_mime = "image/gif"; | ^ ~~~~~~~~~~~ mime.c:313:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 313 | r->sniffed_mime = "image/png"; | ^ ~~~~~~~~~~~ mime.c:318:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 318 | r->sniffed_mime = "image/x-ms-bmp"; | ^ ~~~~~~~~~~~~~~~~ mime.c:323:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 323 | r->sniffed_mime = "image/tiff"; | ^ ~~~~~~~~~~~~ mime.c:328:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 328 | r->sniffed_mime = "audio/mpeg"; | ^ ~~~~~~~~~~~~ mime.c:334:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 334 | r->sniffed_mime = "video/mpeg"; | ^ ~~~~~~~~~~~~ mime.c:340:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 340 | r->sniffed_mime = "application/ogg"; | ^ ~~~~~~~~~~~~~~~~~ mime.c:349:28: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[29]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 349 | r->sniffed_mime = "application/x-navi-animation"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:351:28: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 351 | r->sniffed_mime = "video/avi"; | ^ ~~~~~~~~~~~ mime.c:353:31: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 353 | } else r->sniffed_mime = "audio/wav"; | ^ ~~~~~~~~~~~ mime.c:362:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[18]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 362 | r->sniffed_mime = "audio/x-realaudio"; | ^ ~~~~~~~~~~~~~~~~~~~ mime.c:370:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 370 | r->sniffed_mime = "video/x-ms-asf"; | ^ ~~~~~~~~~~~~~~~~ mime.c:375:18: warning: passing '_u8 *' (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] 375 | if (!strncmp(sniffbuf+4,"free",4) || !strncmp(sniffbuf+4,"mdat",4) || | ^~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:375:51: warning: passing '_u8 *' (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] 375 | if (!strncmp(sniffbuf+4,"free",4) || !strncmp(sniffbuf+4,"mdat",4) || | ^~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:376:18: warning: passing '_u8 *' (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] 376 | !strncmp(sniffbuf+4,"wide",4) || !strncmp(sniffbuf+4,"pnot",4) || | ^~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:376:51: warning: passing '_u8 *' (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] 376 | !strncmp(sniffbuf+4,"wide",4) || !strncmp(sniffbuf+4,"pnot",4) || | ^~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:377:18: warning: passing '_u8 *' (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] 377 | !strncmp(sniffbuf+4,"skip",4) || !strncmp(sniffbuf+4,"moov",4)) { | ^~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:377:51: warning: passing '_u8 *' (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] 377 | !strncmp(sniffbuf+4,"skip",4) || !strncmp(sniffbuf+4,"moov",4)) { | ^~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mime.c:379:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 379 | r->sniffed_mime = "video/quicktime"; | ^ ~~~~~~~~~~~~~~~~~ mime.c:388:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 388 | r->sniffed_mime = "application/x-shockwave-flash"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:397:39: warning: passing '_u8 *' (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] 397 | if (r->mime_type && !strcasecmp(r->mime_type,"video/flv")) | ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ mime.c:398:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 398 | r->sniffed_mime = "video/flv"; | ^ ~~~~~~~~~~~ mime.c:400:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 400 | r->sniffed_mime = "video/x-flv"; | ^ ~~~~~~~~~~~~~ mime.c:410:39: warning: passing '_u8 *' (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] 410 | if (r->mime_type && !strcasecmp(r->mime_type,"image/x-icon")) | ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ mime.c:411:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 411 | r->sniffed_mime = "image/x-icon"; | ^ ~~~~~~~~~~~~~~ mime.c:413:39: warning: passing '_u8 *' (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] 413 | if (r->mime_type && !strcasecmp(r->mime_type,"image/bmp")) | ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here 63 | int strcasecmp(const char *, const char *) __pure; | ^ mime.c:414:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 414 | r->sniffed_mime = "image/bmp"; | ^ ~~~~~~~~~~~ mime.c:415:30: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 415 | else r->sniffed_mime = "image/vnd.microsoft.icon"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:421:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 421 | r->sniffed_mime = "application/pdf"; | ^ ~~~~~~~~~~~~~~~~~ mime.c:428:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 428 | r->sniffed_mime = "application/java-archive"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:430:25: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 430 | r->sniffed_mime = "application/zip"; | ^ ~~~~~~~~~~~~~~~~~ mime.c:436:23: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 436 | r->sniffed_mime = "application/java-vm"; | ^ ~~~~~~~~~~~~~~~~~~~~~ mime.c:448:36: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[19]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 448 | case 0xEC: r->sniffed_mime = "application/msword"; break; | ^ ~~~~~~~~~~~~~~~~~~~~ mime.c:450:36: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | case 0x09: r->sniffed_mime = "application/vnd.ms-excel"; break; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:453:36: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char[30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 453 | case 0xA0: r->sniffed_mime = "application/vnd.ms-powerpoint"; break; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 warnings generated. In file included from ssl.c:42: ./config.h:99:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | "login", | ^~~~~~~ ./config.h:100:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 100 | "user", | ^~~~~~ ./config.h:101:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | "sess", | ^~~~~~ ./config.h:102:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 102 | "account", | ^~~~~~~~~ ./config.h:103:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | "pass", | ^~~~~~ ./config.h:112:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | "token", | ^~~~~~~ ./config.h:113:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 113 | "once", | ^~~~~~ ./config.h:114:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 114 | "secret", | ^~~~~~~~ ./config.h:115:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 115 | "secid", | ^~~~~~~ ./config.h:116:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | "auth", | ^~~~~~ ./config.h:117:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 117 | "=tok", | ^~~~~~ ./config.h:118:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | "=sig", | ^~~~~~ ./config.h:122:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | "=gb", | ^~~~~ ./config.h:123:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | "=usg", | ^~~~~~ ./config.h:124:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | "=at", | ^~~~~ ./config.h:125:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | "=bb", | ^~~~~ ./config.h:126:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | "=cid", | ^~~~~~ ./config.h:127:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | "=ids", | ^~~~~~ ./config.h:128:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 128 | "=et", | ^~~~~ ./config.h:138:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | "=ver", | ^~~~~~ ./config.h:139:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | "=id", | ^~~~~ ./config.h:140:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | "=zx", | ^~~~~ ./config.h:141:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | "=_", | ^~~~ ./config.h:150:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | "utf", | ^~~~~ ./config.h:151:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 151 | "html", | ^~~~~~ ./config.h:160:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 160 | "while(1);", /* Parser looping - common */ | ^~~~~~~~~~~ ./config.h:161:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 161 | "while (1);", /* ... */ | ^~~~~~~~~~~~ ./config.h:162:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 162 | "while(true);", /* ... */ | ^~~~~~~~~~~~~~ ./config.h:163:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 163 | "while (true);", /* ... */ | ^~~~~~~~~~~~~~~ ./config.h:164:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 164 | "&&&", /* Parser breaking - OpenSocial */ | ^~~~~ ./config.h:165:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 165 | "//OK[", /* Line commenting - GWT */ | ^~~~~~~ ./config.h:166:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 166 | "{\"", /* Serialized object - common */ | ^~~~~ ./config.h:167:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 167 | "{{\"", /* Serialized object - common */ | ^~~~~~ ./config.h:168:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | "throw 1;", /* Parser bailout - common */ | ^~~~~~~~~~ ./config.h:169:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | ")]}", /* A robust alternative */ | ^~~~~ ./config.h:184:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 184 | "utf-8", /* Valid Unicode */ | ^~~~~~~ ./config.h:185:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | "iso8859-1", /* Valid Western */ | ^~~~~~~~~~~ ./config.h:186:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | "iso-8859-1", /* Invalid but recognized */ | ^~~~~~~~~~~~ ./config.h:187:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 187 | "iso8859-2", /* Valid European */ | ^~~~~~~~~~~ ./config.h:188:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | "iso-8859-2", /* Invalid but recognized */ | ^~~~~~~~~~~~ ./config.h:189:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | "iso8859-15", /* ISO-8859-1, new and improved */ | ^~~~~~~~~~~~ ./config.h:190:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | "iso-8859-15", /* ISO-8859-1, new and improved */ | ^~~~~~~~~~~~~ ./config.h:191:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 191 | "windows-1252", /* Microsoft's Western */ | ^~~~~~~~~~~~~~ ./config.h:192:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | "windows-1250", /* Microsoft's European */ | ^~~~~~~~~~~~~~ ./config.h:193:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 193 | "us-ascii", /* Old school but generally safe */ | ^~~~~~~~~~ ./config.h:203:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 203 | "text/html", /* HTML */ | ^~~~~~~~~~~ ./config.h:204:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[22]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | "application/xhtml+xml", /* XHTML */ | ^~~~~~~~~~~~~~~~~~~~~~~ ./config.h:205:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | "application/java-vm", /* Java class */ | ^~~~~~~~~~~~~~~~~~~~~ ./config.h:206:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | "application/java-archive", /* Java JAR */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./config.h:207:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | "application/x-shockwave-flash", /* Flash */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./config.h:208:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | "video/flv", /* Flash */ | ^~~~~~~~~~~ ./config.h:209:3: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | "video/x-flv", /* Flash */ | ^~~~~~~~~~~~~ 52 warnings generated. =========================================================================== =======================<phase: run-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =======================<phase: stage >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ratproxy-1.58 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/security/ratproxy/work/ratproxy/ratproxy /wrkdirs/usr/ports/security/ratproxy/work/stage/usr/local/bin install -m 555 /wrkdirs/usr/ports/security/ratproxy/work/ratproxy/ratproxy-report.sh /wrkdirs/usr/ports/security/ratproxy/work/stage/usr/local/bin ====> Compressing man pages (compress-man) =========================================================================== =======================<phase: package >============================ ===== 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=2025-12-11T17:11:27+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ratproxy-1.58 ===> Building ratproxy-1.58 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ratproxy-1.58 build of security/ratproxy | ratproxy-1.58 ended at Thu Dec 11 12:11:36 EST 2025 build time: 00:00:11