=>> Building security/ratproxy build started at Wed Apr 3 07:32:04 BST 2024 port directory: /usr/ports/security/ratproxy package name: ratproxy-1.58 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: skreuzer@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 814 Mar 8 2023 /usr/ports/security/ratproxy/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 15 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/15/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- 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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/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=/ccache/libexec/ccache:/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/local/include -fcommon -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -fcommon -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/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--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ratproxy-1.58 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> 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/lib/libcrypto.so.12 - not found ===> Installing existing package /packages/All/openssl-3.0.13_1,1.pkg [pkg-builder.dan.net.uk] Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] Extracting openssl-3.0.13_1,1: .......... done ===> ratproxy-1.58 depends on file: /usr/local/lib/libcrypto.so.12 - 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 cc ratproxy.c -o ratproxy -O2 -pipe -I/usr/local/include -fcommon -fstack-protector-strong -fno-strict-aliasing http.c mime.c ssl.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=_", ^~~~ ./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] "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] "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] "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] "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] "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] "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] "&&&", /* 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] "//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] "{\"", /* 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] "{{\"", /* 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] "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] ")]}", /* 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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] len = strlen(needle); ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] } while (strncasecmp(haystack, needle, len)); ^~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] } while (strncasecmp(haystack, needle, len)); ^~~~~~ /usr/include/strings.h:66:44: note: passing argument to parameter here 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] hlen = strlen(hname); ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] _u32 dlen = strlen(domains.v[i]); ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (!strcmp(hname + (hlen - dlen), domains.v[i])) return 1; ^~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] if (!strcmp(hname + (hlen - dlen), domains.v[i])) return 1; ^~~~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here 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] if (strlen(value) < (head ? MIN_XSS_HEAD : MIN_XSS_LEN)) return 0; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (!strncasecmp(value,no_xss_text[c],strlen(no_xss_text[c]))) return 0; ^~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (!strncasecmp(value,no_xss_text[c],strlen(no_xss_text[c]))) return 0; ^~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (!strncasecmp(value,no_xss_text[c],strlen(no_xss_text[c]))) return 0; ^~~~~~~~~~~~~~ /usr/include/strings.h:66:44: note: passing argument to parameter here 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] if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i])) ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i])) ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] if (strstr(res->h.v2[j],req->p.v2[i])) { ret = MOD_ECHO; break; } ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (strstr(res->h.v2[j],req->p.v2[i])) { ret = MOD_ECHO; break; } ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] if (!strcasecmp(req->p.v1[i],auth_fields[fno] + 1)) return ret | MOD_AUTH; ^~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(req->p.v1[i],auth_fields[fno] + 1)) return ret | MOD_AUTH; ^~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here 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] 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] if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i]) ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i]) ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] 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] if (!strncasecmp(cur,"qg",2)) { ^~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (htmlstate == HS_IN_TAG && !strncasecmp(cur+2," qg=",4)) return 1; ^~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (htmlurl && !strncasecmp(cur+2,":qg",3)) return 1; ^~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (htmlstate == 0 && !strncasecmp(cur+2,"charset || not->bad_cset) && !strncasecmp(cur+2,"+qg",3)) return 1; ^~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (htmlstate == (HS_IN_TAG|HS_IN_DBLQ) && !strncasecmp(cur+2,"\"qg",3)) return 1; ^~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (htmlstate == (HS_IN_TAG|HS_IN_SNGQ) && !strncasecmp(cur+2,"'qg",3)) return 1; ^~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (htmlstate == 0 && !strncasecmp(cur,"",3)) { htmlstate = 0; cur += 3; continue; } ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (htmlstate == 0 && !strncmp(cur,"",3)) { htmlstate = 0; cur += 3; continue; } ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (htmlstate == HS_IN_TAG && isspace(cur[-1]) && !strncasecmp(cur,"href=",5)) { ^~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (htmlstate == HS_IN_TAG && isspace(cur[-1]) && !strncasecmp(cur,"src=",4)) { ^~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (strcmp(req->method,"GET")) return 0; /* Non-GET requests won't be cached. */ ^~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] if (strcmp(req->method,"GET")) return 0; /* Non-GET requests won't be cached. */ ^~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] 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] sprintf(dump_fn,"%.512s/%08x-%04x.trace",trace_dir,(_u32)time(0),getpid()); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] f = open(dump_fn, O_WRONLY | O_CREAT | O_EXCL, 0600); ^~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here 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] 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] sprintf(tmp,"%s.swf",dump_fn); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] f = open(tmp, O_WRONLY | O_CREAT | O_EXCL, 0600); ^~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here 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] unlink(tmp); ^~~ /usr/include/unistd.h:371:25: note: passing argument to parameter here 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] sprintf(tmp,"%s.flr",dump_fn); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] if (stat(tmp,&st) || !st.st_size) unlink(tmp); ^~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here 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] if (stat(tmp,&st) || !st.st_size) unlink(tmp); ^~~ /usr/include/unistd.h:371:25: note: passing argument to parameter here 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] if (!strcasecmp(resc->v1[i],reqc->v1[j]) && /* Same name */ ^~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(resc->v1[i],reqc->v1[j]) && /* Same name */ ^~~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here 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] strlen(resc->v2[i]) == strlen(reqc->v2[j])) /* Same length */ ^~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] strlen(resc->v2[i]) == strlen(reqc->v2[j])) /* Same length */ ^~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] 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] if (!strcasecmp(resc->v1[i],reqc->v1[j]) && /* Same name */ ^~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(resc->v1[i],reqc->v1[j]) && /* Same name */ ^~~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here 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] strlen(resc->v2[i]) == strlen(reqc->v2[j])) /* Same length */ ^~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] strlen(resc->v2[i]) == strlen(reqc->v2[j])) /* Same length */ ^~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (!had_some) had_some = 1; else ALLOC_STRCAT(ret,"; "); ^~~ ratproxy.c:677:28: note: expanded from macro 'ALLOC_STRCAT' if (dest) _dl = strlen(dest); \ ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (!had_some) had_some = 1; else ALLOC_STRCAT(ret,"; "); ~~~~~~~~~~~~~^~~~~~~~~ ratproxy.c:680:12: note: expanded from macro 'ALLOC_STRCAT' strcpy(dest + _dl, src); \ ^~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here 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] ALLOC_STRCAT(ret,resc->v1[i]); ^~~~~~~~~~~ ratproxy.c:675:23: note: expanded from macro 'ALLOC_STRCAT' _u32 _sl = strlen(src); \ ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] ALLOC_STRCAT(ret,resc->v1[i]); ^~~ ratproxy.c:677:28: note: expanded from macro 'ALLOC_STRCAT' if (dest) _dl = strlen(dest); \ ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] ALLOC_STRCAT(ret,resc->v1[i]); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ratproxy.c:680:12: note: expanded from macro 'ALLOC_STRCAT' strcpy(dest + _dl, src); \ ^~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here 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] ALLOC_STRCAT(ret,resc->v1[i]); ^~~~~~~~~~~ ratproxy.c:680:24: note: expanded from macro 'ALLOC_STRCAT' strcpy(dest + _dl, src); \ ^~~ /usr/include/string.h:88:56: note: passing argument to parameter here 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] ALLOC_STRCAT(ret,"="); ^~~ ratproxy.c:677:28: note: expanded from macro 'ALLOC_STRCAT' if (dest) _dl = strlen(dest); \ ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] ALLOC_STRCAT(ret,"="); ~~~~~~~~~~~~~^~~~~~~~ ratproxy.c:680:12: note: expanded from macro 'ALLOC_STRCAT' strcpy(dest + _dl, src); \ ^~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here 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] ALLOC_STRCAT(ret,resc->v2[i]); ^~~~~~~~~~~ ratproxy.c:675:23: note: expanded from macro 'ALLOC_STRCAT' _u32 _sl = strlen(src); \ ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] ALLOC_STRCAT(ret,resc->v2[i]); ^~~ ratproxy.c:677:28: note: expanded from macro 'ALLOC_STRCAT' if (dest) _dl = strlen(dest); \ ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] ALLOC_STRCAT(ret,resc->v2[i]); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ratproxy.c:680:12: note: expanded from macro 'ALLOC_STRCAT' strcpy(dest + _dl, src); \ ^~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here 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] ALLOC_STRCAT(ret,resc->v2[i]); ^~~~~~~~~~~ ratproxy.c:680:24: note: expanded from macro 'ALLOC_STRCAT' strcpy(dest + _dl, src); \ ^~~ /usr/include/string.h:88:56: note: passing argument to parameter here 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] if (!strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (!strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (!strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:40: note: passing argument to parameter here 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] if (!strncmp(str,"/*",2)) { ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] str = strstr(str+2, "*/"); ^~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] 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] if (!strncmp(str,"//",2)) { ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (!strncasecmp(str,"var",3) && isspace(str[3])) return 1; /* Script */ ^~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (!strncasecmp(str,"function",8) && isspace(str[8])) return 1; /* Script */ ^~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if ((refq=strchr(req->referer,'?'))) { ^~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] if (rp_strcasestr(BEST_MIME,"script") || ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] !strcasecmp(BEST_MIME,"application/json")|| !strcasecmp(BEST_MIME,"text/css")) ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] !strcasecmp(BEST_MIME,"application/json")|| !strcasecmp(BEST_MIME,"text/css")) ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (strcmp(req->method,"GET")) { ^~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] if (!strcasecmp(BEST_MIME,active_mime[i])) { ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(BEST_MIME,active_mime[i])) { ^~~~~~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here 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] if (!strcasecmp(BEST_MIME,"text/html") || rp_strcasestr(BEST_MIME,"script") || ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(BEST_MIME,"text/html") || rp_strcasestr(BEST_MIME,"script") || ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] !strcasecmp(BEST_MIME,"application/json") || ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] !strcasecmp(BEST_MIME,"text/css") || !strcasecmp(BEST_MIME,"application/xhtml+xml")) ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] !strcasecmp(BEST_MIME,"text/css") || !strcasecmp(BEST_MIME,"application/xhtml+xml")) ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] _u8* hname = strdup(res->location), *y; ^~~~~~~~~~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] _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] if (!strncasecmp(hname,"http://",7)) hname += 7; else ^~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (!strncasecmp(hname,"https://",8)) hname += 8; ^~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] _u8* mref=rp_strcasestr(res->payload,"HTTP-EQUIV=\"Refresh\""); ^~~~~~~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] _u8* hname = mref ? rp_strcasestr(mref + 20, ";URL=") : 0; ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] _u8* mrefend = strchr(mref + 20,'>'), *y; ^~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] _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] hname = strdup(hname + 5); ^~~~~~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] if (!strncasecmp(hname,"http://",7)) hname += 7; else ^~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (!strncasecmp(hname,"https://",8)) hname += 8; ^~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (all_post && req->payload && strcasecmp(req->method,"GET")) { ^~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(req->method,"GET")) { ^~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (strcasecmp(req->method,"GET")) ^~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (req->ref_host && strcmp(req->method,"GET") && ^~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] strcasecmp(req->host,req->ref_host)) { ^~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] strcasecmp(req->host,req->ref_host)) { ^~~~~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here 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] SHOW_MSG(1,"Bad caching headers","cacheable SetCookie",m); ^~~~~~~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' #define sayf(x...) fprintf(outfile,x) ^ ./http.h:116:13: note: passing argument to parameter 'string' here _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] SHOW_MSG(3,"Bad caching headers","cacheable SetCookie",m); ^~~~~~~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' #define sayf(x...) fprintf(outfile,x) ^ ./http.h:116:13: note: passing argument to parameter 'string' here _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] 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' warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' #define sayf(x...) fprintf(outfile,x) ^ ./http.h:116:13: note: passing argument to parameter 'string' here _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] 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' warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' #define sayf(x...) fprintf(outfile,x) ^ ./http.h:116:13: note: passing argument to parameter 'string' here _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] if ((strstr(req->path,"crossdomain.xml") || strstr(req->path,"clientaccesspolicy.xml")) && ^~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if ((strstr(req->path,"crossdomain.xml") || strstr(req->path,"clientaccesspolicy.xml")) && ^~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] (strstr(res->payload,"") || strstr(res->payload,""))) { ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] (strstr(res->payload,"") || strstr(res->payload,""))) { ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (strcasecmp(BEST_MIME,"text/css")) { ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (res->mime_type && !strcasecmp(res->mime_type,"text/plain")) { ^~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (strcasecmp(BEST_MIME,"text/css")) ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] strcasecmp(res->mime_type, res->sniffed_mime)) { ^~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] strcasecmp(res->mime_type, res->sniffed_mime)) { ^~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here 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] !strcasecmp(res->mime_type,"text/html") && ^~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] !strcasecmp(res->sniffed_mime,"application/xhtml+xml")) ^~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (strcasecmp(BEST_MIME,"text/css")) ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] } else if (!strncasecmp(BEST_MIME,"image/",6)) { ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (!strcasecmp(res->mime_type,"application/octet-stream")) { ^~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if ((rp_strcasestr(BEST_MIME,"script") || !strcasecmp(BEST_MIME,"application/json"))) { ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] if ((rp_strcasestr(BEST_MIME,"script") || !strcasecmp(BEST_MIME,"application/json"))) { ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(BEST_MIME,"image/png") && !res->is_attach) { ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!req->p.fn[i][0] && strchr(req->p.v2[i],'<') && strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] if (!req->p.fn[i][0] && strchr(req->p.v2[i],'<') && strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (!req->p.fn[i][0] && strchr(req->p.v2[i],'<') && strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] for (i=0;ip.c;i++) if (!req->p.fn[i][0] && strlen(req->p.v2[i]) < MAX_FPATH && ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] strcmp(req->p.v1[i],"utmp") /* Analytics-specific. */ ) { ^~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] _u8* x = strchr(req->p.v2[i],'/'); ^~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] _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] _u8* y = strchr(req->p.v2[i],'.'); ^~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] _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] if (strstr(res->payload,req->p.v2[i])) /* Text simply echoed back? */ ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (strstr(res->payload,req->p.v2[i])) /* Text simply echoed back? */ ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] for (i=0;ip.c;i++) if (!req->p.fn[i][0] && strlen(req->p.v2[i]) < MAX_FPATH && ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] strcmp(req->p.v1[i],"utmp") /* Analytics-specific again. */ ) { ^~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] if (*x == '.' && isalpha(x[1]) && isalpha(x[2]) && strlen(x+1) <= 5 && ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] !strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] !strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] _u8* x = strstr(req->p.v2[i],"com."); ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] _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] if (x && isalpha(x[4]) && strchr(x+4,'.') && !strstr(res->payload,req->p.v2[i]) && ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] if (x && isalpha(x[4]) && strchr(x+4,'.') && !strstr(res->payload,req->p.v2[i]) && ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (x && isalpha(x[4]) && strchr(x+4,'.') && !strstr(res->payload,req->p.v2[i]) && ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] !strchr(x,'/')) { ^ /usr/include/string.h:81:26: note: passing argument to parameter here 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] _u8* x = strchr(req->p.v2[i],'('); ^~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] _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] if (x && (x == req->p.v2[i] || isalpha(x[-1])) && strchr(x+1,')') && ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] !rp_strcasestr(req->p.v2[i],"alert(") && ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] _u8* x = rp_strcasestr(req->p.v2[i],"SELECT"); ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] 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 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] if (x && rp_strcasestr(x+1,"FROM") && !strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (x && rp_strcasestr(x+1,"FROM") && !strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] _u8* x = strchr(req->p.v1[i] + 1, '.'); // 'user.lname' ^~~~~~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] _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] _u8* x1 = x ? strchr(x + 1, '.') : 0; // 'user.lname.foo' ^~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] _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] _u8* y = strchr(req->p.v1[i] + 1, '['); // 'users[0].lname' ^~~~~~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] _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] if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (!req->p.fn[i][0] && xss_field(req->p.v2[i],0) && strstr(res->payload,req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] if (!rp_strcasestr(BEST_MIME,"script") && strcasecmp(BEST_MIME,"application/json")) ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] if (!rp_strcasestr(BEST_MIME,"script") && strcasecmp(BEST_MIME,"application/json")) ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (strstr(res->h.v2[j],req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (strstr(res->h.v2[j],req->p.v2[i])) { ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here 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] if ((rp_strcasestr(BEST_MIME,"script") || !strcasecmp(BEST_MIME,"application/json")) && ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] if ((rp_strcasestr(BEST_MIME,"script") || !strcasecmp(BEST_MIME,"application/json")) && ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (all_flash && !strcasecmp(BEST_MIME,"application/x-shockwave-flash")) { ^~~~~~~~~ ratproxy.c:766:19: note: expanded from macro 'BEST_MIME' #define BEST_MIME (res->sniffed_mime ? res->sniffed_mime : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (strstr(res->payload,">[To Parent Directory]<") || ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] strstr(res->payload,"Index of /")) { ^~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] rp_strcasestr(res->payload,".write(") || ^~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(res->payload,".writeln("))) { ^~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] SHOW_MSG(1,"Risky Javascript code","document.write",m); ^~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' #define sayf(x...) fprintf(outfile,x) ^ ./http.h:116:13: note: passing argument to parameter 'string' here _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] (rp_strcasestr(res->payload,".innerHtml") || ^~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(res->payload,".outerHtml"))) { ^~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] SHOW_MSG(1,"Risky Javascript code","innerHTML",m); ^~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' #define sayf(x...) fprintf(outfile,x) ^ ./http.h:116:13: note: passing argument to parameter 'string' here _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] rp_strcasestr(res->payload,"document.referrer")) { ^~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] SHOW_MSG(2,"Risky Javascript code","document.referrer",m); ^~~~~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' #define sayf(x...) fprintf(outfile,x) ^ ./http.h:116:13: note: passing argument to parameter 'string' here _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] rp_strcasestr(res->payload,"document.domain")) { ^~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] SHOW_MSG(2,"Risky Javascript code","document.domain",m); ^~~~~~~~~~~~~~~~~ ratproxy.c:783:36: note: expanded from macro 'SHOW_MSG' warn, mod ,mesg, off_par ? S(off_par,0) : (_u8*)"-", \ ^~~~~~~ ratproxy.c:123:36: note: expanded from macro 'sayf' #define sayf(x...) fprintf(outfile,x) ^ ./http.h:116:13: note: passing argument to parameter 'string' here _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] while (waitpid(-1,&x,WNOHANG) > 0); ^~ /usr/include/sys/wait.h:161:27: note: passing argument to parameter here 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] 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] mkdir(trace_dir,0700); /* Ignore errors */ ^~~~~~~~~ /usr/include/sys/stat.h:389:23: note: passing argument to parameter here 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] if (access(trace_dir,X_OK)) pfatal("cannot create -v directory"); ^~~~~~~~~ /usr/include/unistd.h:324:25: note: passing argument to parameter here 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] 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] 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] proxy_port = atoi(x); ^ /usr/include/stdlib.h:94:23: note: passing argument to parameter here 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] ADD(domains,optarg); ^~~~~~~~~~~~~~~~~~~ ./nlist.h:42:28: note: expanded from macro 'ADD' __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] usage(argv[0]); ^~~~~~~ ratproxy.c:84:24: note: passing argument to parameter 'argv0' here 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] if (optind != argc) usage(argv[0]); ^~~~~~~ ratproxy.c:84:24: note: passing argument to parameter 'argv0' here 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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=_", ^~~~ ./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] "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] "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] "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] "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] "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] "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] "&&&", /* 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] "//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] "{\"", /* 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] "{{\"", /* 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] "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] ")]}", /* 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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] len = strlen(needle); ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] } while (strncasecmp(haystack, needle, len)); ^~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] } while (strncasecmp(haystack, needle, len)); ^~~~~~ /usr/include/strings.h:66:44: note: passing argument to parameter here 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] if (!fgets(inbuf,MAXLINE,where)) return 0; ^~~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here 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] l = strlen(inbuf); ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] 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] if (!string[1] || !string[2] || !(a=strchr(BASE16,toupper(string[1]))) || ^~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] !(b=strchr(BASE16,toupper(string[2])))) { dec = '?'; break; } ^~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] !(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] DYN_ADDP(*p,name,val,""); ^~~~ ./nlist.h:152:23: note: expanded from macro 'DYN_ADDP' _u8 *_s1 = strdup(val1), *_s2 = strdup(val2), *_fn = strdup(fn); \ ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] DYN_ADDP(*p,name,val,""); ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:152:10: note: expanded from macro 'DYN_ADDP' _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] DYN_ADDP(*p,name,val,""); ^~~ ./nlist.h:152:44: note: expanded from macro 'DYN_ADDP' _u8 *_s1 = strdup(val1), *_s2 = strdup(val2), *_fn = strdup(fn); \ ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] DYN_ADDP(*p,name,val,""); ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:152:31: note: expanded from macro 'DYN_ADDP' _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] DYN_ADDP(*p,name,val,""); ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:152:52: note: expanded from macro 'DYN_ADDP' _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] x = strchr(*buf,'\r'); ^~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] _u32 l = strlen(*buf); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] strcpy(retbuf,*buf); ^~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here 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] strcpy(retbuf,*buf); ^~~~ /usr/include/string.h:88:56: note: passing argument to parameter here 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] if (!strncasecmp(l,"Content-Disposition:",20)) { ^ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] _u8* f = rp_strcasestr(l,"; name=\""); ^~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] c = strchr(++f,'"'); ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] field = strdup(f); ^ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] f = rp_strcasestr(c + 1,"; filename=\""); ^~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] c = strchr(++f,'"'); ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] fname = strdup(f); ^ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] DYN_ADDP_RAWMEM(*p,field,string,end-string,fname ? fname : (_u8*)""); ^~~~~ ./nlist.h:159:23: note: expanded from macro 'DYN_ADDP_RAWMEM' _u8 *_s1 = strdup(val1), *_s2 = malloc(_l2), *_fn = strdup(fn); \ ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] DYN_ADDP_RAWMEM(*p,field,string,end-string,fname ? fname : (_u8*)""); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:159:10: note: expanded from macro 'DYN_ADDP_RAWMEM' _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] DYN_ADDP_RAWMEM(*p,field,string,end-string,fname ? fname : (_u8*)""); ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:159:64: note: expanded from macro 'DYN_ADDP_RAWMEM' _u8 *_s1 = strdup(val1), *_s2 = malloc(_l2), *_fn = strdup(fn); \ ^~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] DYN_ADDP_RAWMEM(*p,field,string,end-string,fname ? fname : (_u8*)""); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:159:51: note: expanded from macro 'DYN_ADDP_RAWMEM' _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] if (!strcasecmp(name,no_xsrf_fields[fno] + 1)) return 0; ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(name,no_xsrf_fields[fno] + 1)) return 0; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here 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] if (!strcasecmp(name,xsrf_fields[fno] + 1)) return 1; ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(name,xsrf_fields[fno] + 1)) return 1; ^~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here 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] if (!strncmp(value,"http",4)) return 0; ^~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (*value && strchr(BASE16,toupper(*value))) { ^~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] strncpy(tmp,st,4); ^~~ /usr/include/string.h:107:32: note: passing argument to parameter here 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] strncpy(tmp,st,4); ^~ /usr/include/string.h:107:57: note: passing argument to parameter here 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] val = atoi(tmp); ^~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here 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] if (sscanf(str,"%127[^;=]=%127[^;]",name,val) == 2) { ^~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here 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] if (strcasecmp(name,"expires") && strcasecmp(name,"comment") && ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (strcasecmp(name,"expires") && strcasecmp(name,"comment") && ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] strcasecmp(name,"version") && strcasecmp(name,"max-age") && ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] strcasecmp(name,"version") && strcasecmp(name,"max-age") && ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] strcasecmp(name,"path") && strcasecmp(name,"domain") && name[0] != '$') ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] strcasecmp(name,"path") && strcasecmp(name,"domain") && name[0] != '$') ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] DYN_ADD2(*c,name,val); ^~~~ ./nlist.h:83:23: note: expanded from macro 'DYN_ADD2' _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] DYN_ADD2(*c,name,val); ^~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:10: note: expanded from macro 'DYN_ADD2' _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] DYN_ADD2(*c,name,val); ^~~ ./nlist.h:83:44: note: expanded from macro 'DYN_ADD2' _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] DYN_ADD2(*c,name,val); ^~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:31: note: expanded from macro 'DYN_ADD2' _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] str = strchr(str + 1 ,';'); ^~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] setvbuf(client, cli_buf, _IONBF, 0); ^~~~~~~ /usr/include/stdio.h:285:50: note: passing argument to parameter here 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] x = strchr(line,' '); ^~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] 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 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] ret->method = strdup(line); ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] if (strcmp(line,"CONNECT")) { ^~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] setvbuf(client, cli_buf, _IOFBF, sizeof(cli_buf)); ^~~~~~~ /usr/include/stdio.h:285:50: note: passing argument to parameter here 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] http_error(client, "Direct HTTP requests not allowed",1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] if (strncmp(x,"http://",7)) ^ /usr/include/string.h:106:26: note: passing argument to parameter here 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] http_error(client, "Unsupported protocol",1); ^~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] if (ssl_host) http_error(client,"Evil CONNECT nesting",1); ^~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] x = strchr(ret->host,' '); ^~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] if (!x) http_error(client,"Missing HTTP protocol version",1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] if (strcmp(x," HTTP/1.0") && strcmp(x," HTTP/1.1")) ^ /usr/include/string.h:86:25: note: passing argument to parameter here 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] if (strcmp(x," HTTP/1.0") && strcmp(x," HTTP/1.1")) ^ /usr/include/string.h:86:25: note: passing argument to parameter here 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] http_error(client,"unsupported HTTP protocol version",1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] ret->path = strchr(ret->host,'/'); ^~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] if (!ret->path) http_error(client,"Incomplete request URL",1); ^~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] x = strchr(ret->host,':'); ^~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] ret->port = atoi(x+1); ^~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here 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] http_error(client,"Illegal port specification",1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] http_error(client,"Access to this port denied",1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] http_error(client,"Host name is missing",1); ^~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] ret->host = strdup(ret->host); ^~~~~~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] if (!ret->is_connect && (x = strchr(ret->path,'?'))) { ^~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] ret->query = strdup(x); ^ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] ret->path = strdup(ret->path); ^~~~~~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] x = strrchr(ret->path,'.'); ^~~~~~~~~ /usr/include/string.h:116:27: note: passing argument to parameter here 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] 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] if (!line) http_error(client,"Incomplete or malformed request headers",1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] x = strchr(line,':'); ^~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] if (!x) http_error(client,"Invalid request header",1); ^~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] if (!strcasecmp(line,"Content-Length")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] ret->payload_len = atoi(x); ^ /usr/include/stdlib.h:94:23: note: passing argument to parameter here 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] http_error(client,"Payload size limit exceeded",1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] if (!strncasecmp(line,"Cookie",6)) ^~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (!strcasecmp(line,"Referer")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] ret->referer = strdup(x); ^ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] if ((rh = strstr(x,"://"))) { ^ /usr/include/string.h:124:26: note: passing argument to parameter here 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] 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] rh = strdup(rh + 3); ^~~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] if ((x = strchr(rh,'/'))) *x = 0; ^~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] if ((x = strchr(rh,':'))) *x = 0; ^~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] if (!strcasecmp(line,"X-Ratproxy-Loop")) ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] http_error(client,"Proxy loop detected",1); ^~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] if (!strcasecmp(line,"Authorization") && !strncasecmp(x,"GoogleLogin auth=",17)) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(line,"Authorization") && !strncasecmp(x,"GoogleLogin auth=",17)) { ^ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (!strcasecmp(line,"Content-Type")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] 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 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] if (rp_strcasestr(x,"multipart/form-data")) ret->multipart = 1; ^~~~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] 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 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] DYN_ADD2(ret->h,line,x); ^~~~ ./nlist.h:83:23: note: expanded from macro 'DYN_ADD2' _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] DYN_ADD2(ret->h,line,x); ^~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:10: note: expanded from macro 'DYN_ADD2' _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] DYN_ADD2(ret->h,line,x); ^ ./nlist.h:83:44: note: expanded from macro 'DYN_ADD2' _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] DYN_ADD2(ret->h,line,x); ^~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:31: note: expanded from macro 'DYN_ADD2' _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] http_error(client,"Premature end of payload data",0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] if (!(he = gethostbyname(host)) || !(he->h_addr_list[0])) ^~~~ /usr/include/netdb.h:236:43: note: passing argument to parameter here 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] http_error(client,"Unable to find target host",0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] http_error(client,"Connection to target failed",0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] setvbuf(ret, srv_buf, _IOFBF, sizeof(srv_buf)); ^~~~~~~ /usr/include/stdio.h:285:50: note: passing argument to parameter here 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] setvbuf(ret, srv_buf, _IONBF, 0); ^~~~~~~ /usr/include/stdio.h:285:50: note: passing argument to parameter here 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] sprintf(tmp,"%%%02X",c); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] STR_APPEND(q,tmp); ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] sprintf(tmp,"%%%02X",c); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] STR_APPEND(q,tmp); ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] sprintf(tmp,"ratproxybound%08x",rand()); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] r->use_boundary = strdup(tmp); ^~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] STR_APPEND(p,"--"); ^~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' _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] STR_APPEND(p,"--"); ^~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,r->use_boundary); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,"\r\nContent-Disposition: form-data; name=\""); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' _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] STR_APPEND(p,"\r\nContent-Disposition: form-data; name=\""); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,r->p.v1[cp]); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,"\"; filename=\""); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' _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] STR_APPEND(p,"\"; filename=\""); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,r->p.fn[cp]); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,"\"\r\n\r\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' _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] STR_APPEND(p,"\"\r\n\r\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,r->p.v2[cp]); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,"\r\n"); ^~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' _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] STR_APPEND(p,"\r\n"); ^~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,"--"); ^~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' _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] STR_APPEND(p,"--"); ^~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,r->use_boundary); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,"--\r\n"); ^~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' _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] STR_APPEND(p,"--\r\n"); ^~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] sprintf(tmp,"%%%02X",c); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] STR_APPEND(p,tmp); ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] sprintf(tmp,"%%%02X",c); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] STR_APPEND(p,tmp); ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (p.l) STR_APPEND(p,"\r\n"); ^~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' _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] if (p.l) STR_APPEND(p,"\r\n"); ^~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] _u32 l = strlen(str); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,"GWT_RPC["); ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' _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] STR_APPEND(p,"GWT_RPC["); ^~~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] while ((n = strstr(c,"\xEF\xBF\xBF"))) { ^ /usr/include/string.h:124:26: note: passing argument to parameter here 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] 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] if (!strncmp(c,"[L",2)) c += 2; ^ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (!strncmp(c,"com.google.",11) || !strncmp(c,"java.",5)) c = strrchr(c,'.') + 1; ^ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (!strncmp(c,"com.google.",11) || !strncmp(c,"java.",5)) c = strrchr(c,'.') + 1; ^ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (!strncmp(c,"com.google.",11) || !strncmp(c,"java.",5)) c = strrchr(c,'.') + 1; ^ /usr/include/string.h:116:27: note: passing argument to parameter here 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] 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] STR_APPEND(p,c); ^~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] sprintf(tmp,"%%%02X",c); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] STR_APPEND(p,tmp); ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] STR_APPEND(p,"FILE["); ^~~~~~~~~~~~~~~~~~~~~ ./nlist.h:176:10: note: expanded from macro 'STR_APPEND' _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] STR_APPEND(p,"FILE["); ^~~~~~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] sprintf(tmp,"%%%02X",c); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] STR_APPEND(p,tmp); ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] sprintf(tmp,"%%%02X",c); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] STR_APPEND(p,tmp); ^~~~~~~~~~~~~~~~~ ./nlist.h:177:24: note: expanded from macro 'STR_APPEND' _u32 _len = strlen(_data); \ ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] _s32 i = strlen(dat), dc = 0; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (i != strlen(exp)) return 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (r->port != 80) sprintf(port_spec,":%u",r->port); ^~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] if (r->port != 443) sprintf(port_spec,":%u",r->port); ^~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] if (!strcasecmp(r->h.v1[i],"Host")) continue; ^~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(r->h.v1[i],"Range")) continue; ^~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(r->h.v1[i],"Connection")) continue; ^~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(r->h.v1[i],"Keep-Alive")) continue; ^~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strncasecmp(r->h.v1[i],"Proxy-",6)) continue; ^~~~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (!strcasecmp(r->h.v1[i],"Accept-Encoding")) continue; ^~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(r->h.v1[i],"Content-Length")) continue; ^~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(r->h.v1[i],"Content-Type") && r->use_boundary) { ^~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!line || !line[0]) http_error(client,"Malformed HTTP response",0); ^~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] x = strchr(line,' '); ^~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] if (!x || x == line) http_error(client,"HTTP response code missing",0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] ret->code = atoi(x); ^ /usr/include/stdlib.h:94:23: note: passing argument to parameter here 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] http_error(client,"Invalid HTTP response code",0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] if (!line) http_error(client,"Premature end of server headers",0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] x = strchr(line,':'); ^~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] if (!x) http_error(client,"Invalid response header",0); ^~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] if (!strcasecmp(line,ret->h.v1[i]) && strcmp(x,ret->h.v2[i]) && ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(line,ret->h.v1[i]) && strcmp(x,ret->h.v2[i]) && ^~~~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here 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] if (!strcasecmp(line,ret->h.v1[i]) && strcmp(x,ret->h.v2[i]) && ^ /usr/include/string.h:86:25: note: passing argument to parameter here 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] if (!strcasecmp(line,ret->h.v1[i]) && strcmp(x,ret->h.v2[i]) && ^~~~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here 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] strncasecmp(line,"Set-Cookie",10) && strncasecmp(line,"X-Cache",7) && ^~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] strncasecmp(line,"Set-Cookie",10) && strncasecmp(line,"X-Cache",7) && ^~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] strncasecmp(line,"Server",7)) ^~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (!strcasecmp(line,"Expires")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] exp_value = strdup(x); ^ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] if (!strcasecmp(line,"Date")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] dat_value = strdup(x); ^ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] if (!strcasecmp(line,"Cache-Control")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (strstr(x,"no-cache") || strstr(x,"private") || ^ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (strstr(x,"no-cache") || strstr(x,"private") || ^ /usr/include/string.h:124:26: note: passing argument to parameter here 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] strstr(x,"max-age=0") || strstr(x,"no-store")) ^ /usr/include/string.h:124:26: note: passing argument to parameter here 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] strstr(x,"max-age=0") || strstr(x,"no-store")) ^ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (!strcasecmp(line,"Pragma")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (strstr(x,"no-cache")) ret->pr10intent = INTENT_PRIV; ^ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (!strcasecmp(line,"Connection")) continue; ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(line,"Keep-Alive")) continue; ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(line,"Content-Range")) continue; ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(line,"Content-Type")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] _u8 *copy = strdup(x), *y; ^ /usr/include/string.h:91:26: note: passing argument to parameter here 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] _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] if ((y = strrchr(copy,';'))) { ^~~~ /usr/include/string.h:116:27: note: passing argument to parameter here 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] 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] if (!strncasecmp(y,"charset=",8)) { ^ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (*y == '"' && y[strlen(y)-1] == '"') { ^ /usr/include/string.h:101:28: note: passing argument to parameter here 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] y[strlen(y)-1]=0; ^ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (!strcasecmp(line,"Content-Disposition")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] ret->is_attach = (strncasecmp(x,"attachment;",11) == 0) || ^ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] (strcasecmp(x,"attachment") == 0); ^ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] y=strrchr(x,'.'); ^ /usr/include/string.h:116:27: note: passing argument to parameter here 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] 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] ret->ext = strdup(y + 1); ^~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] y = strchr(y + 1,'"'); ^~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] if (!strcasecmp(line,"Location")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] ret->location = strdup(x); ^ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] if (!strcasecmp(line,"Set-Cookie")) parse_cookies(x,&ret->cookies); ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(line,"Content-Length")) { ^~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] decl_clen = atoi(x); ^ /usr/include/stdlib.h:94:23: note: passing argument to parameter here 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] http_error(client,"Bogus content length returned by server.",0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] DYN_ADD2(ret->h,line,x); ^~~~ ./nlist.h:83:23: note: expanded from macro 'DYN_ADD2' _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] DYN_ADD2(ret->h,line,x); ^~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:10: note: expanded from macro 'DYN_ADD2' _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] DYN_ADD2(ret->h,line,x); ^ ./nlist.h:83:44: note: expanded from macro 'DYN_ADD2' _u8 *_s1 = strdup(val1), *_s2 = strdup(val2); \ ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] DYN_ADD2(ret->h,line,x); ^~~~~~~~~~~~~~~~~~~~~~~ ./nlist.h:83:31: note: expanded from macro 'DYN_ADD2' _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] _u8* year = 0, *z = strchr(exp_value,','); ^~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] _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] } else if (dat_value && (!strcmp(exp_value,dat_value) || !comp_dates(exp_value,dat_value))) { ^~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] } else if (dat_value && (!strcmp(exp_value,dat_value) || !comp_dates(exp_value,dat_value))) { ^~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here 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] if (z && z == exp_value + 3 && strlen(exp_value) > 11) { ^~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] year = strchr(z,'-'); ^ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] if (year) year = strchr(year + 1,'-'); ^~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] 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] } else if (strlen(x) > 19) { ^ /usr/include/string.h:101:28: note: passing argument to parameter here 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] _u32 yval = atoi(year); ^~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here 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] http_error(client,"Response size limit exceeded",0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:81:43: note: passing argument to parameter 'message' here 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] setvbuf(client, cli_buf, _IOFBF, sizeof(cli_buf)); ^~~~~~~ /usr/include/stdio.h:285:50: note: passing argument to parameter here int setvbuf(FILE * __restrict, char * __restrict, int, size_t); ^ http.c:1349:3: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] MD5_Init(&ctx); ^ /usr/local/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ http.c:1350:3: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] MD5_Update(&ctx, r->payload, r->payload_len); ^ /usr/local/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ http.c:1351:3: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] MD5_Final((char*)res, &ctx); ^ /usr/local/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 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] MD5_Final((char*)res, &ctx); ^~~~~~~~~~ /usr/local/include/openssl/md5.h:51:52: note: passing argument to parameter 'md' here OSSL_DEPRECATEDIN_3_0 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] if (!strncasecmp(r->payload+i,"http-equiv",10)) got_equiv = 1; ^~~~~~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (got_equiv && !strncasecmp(r->payload+i,"charset=",8)) { ^~~~~~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (r->charset && strcasecmp(sniffed,r->charset)) r->has_multiple = 1; ^~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (r->charset && strcasecmp(sniffed,r->charset)) r->has_multiple = 1; ^~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here 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] r->charset = strdup(sniffed); ^~~~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here 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] 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] if (!strcasecmp(r->charset,valid_charsets[i])) return; ^~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] if (!strcasecmp(r->charset,valid_charsets[i])) return; ^~~~~~~~~~~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ 332 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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=_", ^~~~ ./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] "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] "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] "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] "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] "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] "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] "&&&", /* 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] "//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] "{\"", /* 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] "{{\"", /* 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] "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] ")]}", /* 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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] len = strlen(needle); ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] } while (strncasecmp(haystack, needle, len)); ^~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] } while (strncasecmp(haystack, needle, len)); ^~~~~~ /usr/include/strings.h:66:44: note: passing argument to parameter here 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] if (json_safe[i][1] && !strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (json_safe[i][1] && !strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (json_safe[i][1] && !strncmp(str,json_safe[i],strlen(json_safe[i]))) return 1; ^~~~~~~~~~~~ /usr/include/string.h:106:40: note: passing argument to parameter here 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] if (!strncmp(sniffbuf,"%!PS",4)) { ^~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] 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] if (!strncmp(sniffbuf,"{\\rtf",5)) { ^~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] 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] if (!strncmp(sniffbuf+i,"//",2)) { ^~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] _u8* x = strchr(sniffbuf + i + 2, '\n'); ^~~~~~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here 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] _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] if (!strncmp(sniffbuf+i,"/*",2)) { ^~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] _u8* x = strstr(sniffbuf + i + 2, "*/"); ^~~~~~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] _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] if ((sniffbuf[i] == '<' || !strcmp(sniffbuf+i,"<"))) break; ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] if (!strncmp(sniffbuf+i,"try",3) && (isspace(sniffbuf[i+3]) || sniffbuf[i+3] == '{')) ^~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] 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] !strncmp(sniffbuf + i, "function ",9) || ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] !strncmp(sniffbuf + i, "throw ",6) || ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] !strncmp(sniffbuf + i, "var ",4)) { ^~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] 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] if (!strcasecmp(r->mime_type,"text/javascript")) ^~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] 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] else if (!strcasecmp(r->mime_type,"application/javascript")) ^~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] 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] else if (!strcasecmp(r->mime_type,"application/json")) ^~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] 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] if (strstr(sniffbuf,"<OpenSearch")) { ^~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] 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] if (strstr(sniffbuf,"<channel") || strstr(sniffbuf,"<description") || ^~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (strstr(sniffbuf,"<channel") || strstr(sniffbuf,"<description") || ^~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] strstr(sniffbuf,"<item") || strstr(sniffbuf,"<rdf:RDF") || ^~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] strstr(sniffbuf,"<item") || strstr(sniffbuf,"<rdf:RDF") || ^~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] strstr(sniffbuf,"<rss")) { ^~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] 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] if (strstr(sniffbuf,"<feed ") || strstr(sniffbuf,"<updated>")) { ^~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (strstr(sniffbuf,"<feed ") || strstr(sniffbuf,"<updated>")) { ^~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] 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] if (rp_strcasestr(sniffbuf,"<wml") || rp_strcasestr(sniffbuf,"<!DOCTYPE wml ")) { ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] if (rp_strcasestr(sniffbuf,"<wml") || rp_strcasestr(sniffbuf,"<!DOCTYPE wml ")) { ^~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] 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] if (rp_strcasestr(sniffbuf,"<cross-domain-policy>")) { ^~~~~~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] 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] if (rp_strcasestr(sniffbuf,"<?xml")) { ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] if (rp_strcasestr(sniffbuf,"<svg")) ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] 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] else if (rp_strcasestr(sniffbuf,"<!doctype") && !rp_strcasestr(sniffbuf,"cross-domain-policy")) ^~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] else if (rp_strcasestr(sniffbuf,"<!doctype") && !rp_strcasestr(sniffbuf,"cross-domain-policy")) ^~~~~~~~~~~~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] 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] if (r->mime_type && !strcasecmp(r->mime_type,"text/xml")) ^~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] 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] 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] if (rp_strcasestr(sniffbuf,"<html") || rp_strcasestr(sniffbuf,"<meta") || ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] if (rp_strcasestr(sniffbuf,"<html") || rp_strcasestr(sniffbuf,"<meta") || ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<head") || rp_strcasestr(sniffbuf,"<title") || ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<head") || rp_strcasestr(sniffbuf,"<title") || ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<!--") || ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<!doctype") || rp_strcasestr(sniffbuf,"<body") || ^~~~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<!doctype") || rp_strcasestr(sniffbuf,"<body") || ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<font") || rp_strcasestr(sniffbuf,"<br") || ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<font") || rp_strcasestr(sniffbuf,"<br") || ^~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<td") || rp_strcasestr(sniffbuf,"<div") || ^~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<td") || rp_strcasestr(sniffbuf,"<div") || ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<span") || rp_strcasestr(sniffbuf,"<img") || ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<span") || rp_strcasestr(sniffbuf,"<img") || ^~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<li") || rp_strcasestr(sniffbuf,"href=") || ^~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<li") || rp_strcasestr(sniffbuf,"href=") || ^~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<ol") || rp_strcasestr(sniffbuf,"<ul") || ^~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<ol") || rp_strcasestr(sniffbuf,"<ul") || ^~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<style") || rp_strcasestr(sniffbuf,"<script")) { ^~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] rp_strcasestr(sniffbuf,"<style") || rp_strcasestr(sniffbuf,"<script")) { ^~~~~~~~~ ./string-inl.h:49:66: note: passing argument to parameter 'needle' here 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] 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] 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 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] if (rp_strcasestr(xxx,"<![CDATA[") || (xxx[0] == '<' && (strstr(xxx,"</") || strstr(xxx,"/>") || strstr(xxx,"/ >")))) { ^~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (rp_strcasestr(xxx,"<![CDATA[") || (xxx[0] == '<' && (strstr(xxx,"</") || strstr(xxx,"/>") || strstr(xxx,"/ >")))) { ^~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (rp_strcasestr(xxx,"<![CDATA[") || (xxx[0] == '<' && (strstr(xxx,"</") || strstr(xxx,"/>") || strstr(xxx,"/ >")))) { ^~~ /usr/include/string.h:124:26: note: passing argument to parameter here 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] if (r->mime_type && !strcasecmp(r->mime_type,"text/xml")) ^~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] 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] 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] 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] 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] if (r->mime_type && !strcasecmp(r->mime_type,"image/pjpeg")) ^~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] } 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] 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] 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] if (!strncmp(sniffbuf+4,"free",4) || !strncmp(sniffbuf+4,"mdat",4) || ^~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (!strncmp(sniffbuf+4,"free",4) || !strncmp(sniffbuf+4,"mdat",4) || ^~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] !strncmp(sniffbuf+4,"wide",4) || !strncmp(sniffbuf+4,"pnot",4) || ^~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] !strncmp(sniffbuf+4,"wide",4) || !strncmp(sniffbuf+4,"pnot",4) || ^~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] !strncmp(sniffbuf+4,"skip",4) || !strncmp(sniffbuf+4,"moov",4)) { ^~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] !strncmp(sniffbuf+4,"skip",4) || !strncmp(sniffbuf+4,"moov",4)) { ^~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] 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] 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] if (r->mime_type && !strcasecmp(r->mime_type,"video/flv")) ^~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] 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] 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] if (r->mime_type && !strcasecmp(r->mime_type,"image/x-icon")) ^~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] 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] if (r->mime_type && !strcasecmp(r->mime_type,"image/bmp")) ^~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=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] "=_", ^~~~ ./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] "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] "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] "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] "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] "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] "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] "&&&", /* 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] "//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] "{\"", /* 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] "{{\"", /* 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] "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] ")]}", /* 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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "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] "video/x-flv", /* Flash */ ^~~~~~~~~~~~~ 52 warnings generated. =========================================================================== =======================<phase: run-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ratproxy-1.58 depends on file: /usr/local/lib/libcrypto.so.12 - found =========================================================================== =======================<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=2024-04-03T06:32:04+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ratproxy-1.58 ===> Building ratproxy-1.58 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ratproxy-1.58 build of security/ratproxy | ratproxy-1.58 ended at Wed Apr 3 07:32:16 BST 2024 build time: 00:00:12