Sat Apr 20 19:34:28 UTC 2024 I: starting to build pyreadstat/trixie/armhf on jenkins on '2024-04-20 19:34' Sat Apr 20 19:34:28 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_3/2810/console.log Sat Apr 20 19:34:28 UTC 2024 I: Downloading source for trixie/pyreadstat=1.2.6-1 --2024-04-20 19:34:28-- http://deb.debian.org/debian/pool/main/p/pyreadstat/pyreadstat_1.2.6-1.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2080 (2.0K) [text/prs.lines.tag] Saving to: ‘pyreadstat_1.2.6-1.dsc’ 0K .. 100% 254M=0s 2024-04-20 19:34:28 (254 MB/s) - ‘pyreadstat_1.2.6-1.dsc’ saved [2080/2080] Sat Apr 20 19:34:28 UTC 2024 I: pyreadstat_1.2.6-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: pyreadstat Binary: python3-pyreadstat Architecture: any Version: 1.2.6-1 Maintainer: Joost van Baal-Ilić Uploaders: Debian Python Team Homepage: https://github.com/Roche/pyreadstat Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/python-team/packages/pyreadstat Vcs-Git: https://salsa.debian.org/python-team/packages/pyreadstat.git Build-Depends: debhelper-compat (= 13), dh-sequence-python3, python3-all, python3-all-dev, python3-setuptools, cython3 (>= 3.0.2), python3-pandas, zlib1g-dev Package-List: python3-pyreadstat deb python optional arch=any Checksums-Sha1: 758cbd2580db0a0c5998c6f76881942ba4343b02 539091 pyreadstat_1.2.6.orig.tar.gz f4c244398d4bcbcf559ae25e3580d2b9f941e17e 3060 pyreadstat_1.2.6-1.debian.tar.xz Checksums-Sha256: 84b4c1d0e4168f7d30533b2c136f25a66f55e0e0d2c81b4748878c10165a31b8 539091 pyreadstat_1.2.6.orig.tar.gz ef008db4f3b75f856fdee1d1a9dcd25529b899c078855bd576c601d76437e9bf 3060 pyreadstat_1.2.6-1.debian.tar.xz Files: c32198201e79b1e28eb41fcc3eb10af1 539091 pyreadstat_1.2.6.orig.tar.gz 285c9bc5c057bc02120c2d95ef41244e 3060 pyreadstat_1.2.6-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmWVpBoACgkQwpPntGGC Ws7HeBAAxAyFXePYN71atbJxyEcBpWqj2hdysbDom8gnhY4JjCKyabCMyDlL9igH eRJhEjpnT0zQCM5EUrxxex6M7hdlM3lfw43WZjCseOEXBy3XLj0CEy693izqI6A0 w36hCif9LmhPPtA30aPS2jnZGC8MEjsNBkATy4qUJfsoC8oTiPsf3GPpKARROzw8 kxMNINadfTYgfmOwS47F7sH4+zF/TnuelCpdTJvSGcONUo5yUjVLfLHaBNAbccpZ CBTxql8HR9ZZaSCw2X7Qtjb9fyUiOh9brPW95CPp+7Bp9yvYA5ENWOTlt/1e+gAp Z6pKNN/VuIliOYm/60WkaI8E0pRSGbzzhlGuqEpZncK0InBsyWTspP+XfLU72FLm Ux4wiH9QonH7tHmnRTFOt15whGoS7EfSZn3fns0CiqitkgDw6y8taNN6CQII9u3I UwEiiu5Cba1dStQK7NezLqpytk43cCsrs1wZvc9oaidUPuEQqiErI/DC7HsjZpM1 f+54p07md09gB6LORruJEBaHs9Pz9pt8c7uHzUglq9IJ0etD3OUwo3woH/25xomY MbzNRXOUL6j5080VnSAzVAL2erIYuYCMEC0x/ur9A8MFixfGuCddENjqZcCp7nii 4y6dpSzQkaExFVLJ7161yGzqK90qfsHXPvYswIVJF7Sg3qD/CDw= =J82y -----END PGP SIGNATURE----- Sat Apr 20 19:34:28 UTC 2024 I: Checking whether the package is not for us Sat Apr 20 19:34:28 UTC 2024 I: Starting 1st build on remote node ff4a-armhf-rb.debian.net. Sat Apr 20 19:34:28 UTC 2024 I: Preparing to do remote build '1' on ff4a-armhf-rb.debian.net. Sat Apr 20 19:55:37 UTC 2024 I: Deleting $TMPDIR on ff4a-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sat Apr 20 07:34:40 -12 2024 I: pbuilder-time-stamp: 1713641680 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [pyreadstat_1.2.6-1.dsc] I: copying [./pyreadstat_1.2.6.orig.tar.gz] I: copying [./pyreadstat_1.2.6-1.debian.tar.xz] I: Extracting source gpgv: Signature made Wed Jan 3 18:14:50 2024 gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./pyreadstat_1.2.6-1.dsc: no acceptable signature found dpkg-source: info: extracting pyreadstat in pyreadstat-1.2.6 dpkg-source: info: unpacking pyreadstat_1.2.6.orig.tar.gz dpkg-source: info: unpacking pyreadstat_1.2.6-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/7811/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='037cfae2e76848fdae17ddb51e642ec1' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='7811' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.v0gOQmgz/pbuilderrc_Et5V --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.v0gOQmgz/b1 --logfile b1/build.log pyreadstat_1.2.6-1.dsc' SUDO_GID='113' SUDO_UID='107' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:3142/' I: uname -a Linux ff4a 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 20 11:25 /bin -> usr/bin I: user script /srv/workspace/pbuilder/7811/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-sequence-python3, python3-all, python3-all-dev, python3-setuptools, cython3 (>= 3.0.2), python3-pandas, zlib1g-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19635 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-all-dev; however: Package python3-all-dev is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on cython3 (>= 3.0.2); however: Package cython3 is not installed. pbuilder-satisfydepends-dummy depends on python3-pandas; however: Package python3-pandas is not installed. pbuilder-satisfydepends-dummy depends on zlib1g-dev; however: Package zlib1g-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} cython3{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libblas3{a} libdebhelper-perl{a} libelf1{a} libexpat1{a} libexpat1-dev{a} libfile-stripnondeterminism-perl{a} libgfortran5{a} libicu72{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} liblapack3{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libpython3-all-dev{a} libpython3-dev{a} libpython3-stdlib{a} libpython3.11{a} libpython3.11-dev{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libpython3.12{a} libpython3.12-dev{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libreadline8{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} netbase{a} po-debconf{a} python3{a} python3-all{a} python3-all-dev{a} python3-dateutil{a} python3-dev{a} python3-distutils{a} python3-lib2to3{a} python3-minimal{a} python3-numpy{a} python3-pandas{a} python3-pandas-lib{a} python3-pkg-resources{a} python3-setuptools{a} python3-six{a} python3-tz{a} python3.11{a} python3.11-dev{a} python3.11-minimal{a} python3.12{a} python3.12-dev{a} python3.12-minimal{a} readline-common{a} sensible-utils{a} tzdata{a} zlib1g-dev{a} The following packages are RECOMMENDED but will NOT be installed: ca-certificates curl javascript-common libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx python3-bottleneck python3-bs4 python3-html5lib python3-jinja2 python3-lxml python3-matplotlib python3-numexpr python3-odf python3-openpyxl python3-scipy python3-tables wget 0 packages upgraded, 78 newly installed, 0 to remove and 0 not upgraded. Need to get 65.4 MB of archives. After unpacking 259 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main armhf libpython3.11-minimal armhf 3.11.8-1 [802 kB] Get: 2 http://deb.debian.org/debian trixie/main armhf libexpat1 armhf 2.6.2-1 [83.5 kB] Get: 3 http://deb.debian.org/debian trixie/main armhf python3.11-minimal armhf 3.11.8-1 [1707 kB] Get: 4 http://deb.debian.org/debian trixie/main armhf python3-minimal armhf 3.11.6-1 [26.2 kB] Get: 5 http://deb.debian.org/debian trixie/main armhf media-types all 10.1.0 [26.9 kB] Get: 6 http://deb.debian.org/debian trixie/main armhf netbase all 6.4 [12.8 kB] Get: 7 http://deb.debian.org/debian trixie/main armhf tzdata all 2024a-1 [255 kB] Get: 8 http://deb.debian.org/debian trixie/main armhf readline-common all 8.2-3 [69.1 kB] Get: 9 http://deb.debian.org/debian trixie/main armhf libreadline8 armhf 8.2-3+b1 [144 kB] Get: 10 http://deb.debian.org/debian trixie/main armhf libpython3.11-stdlib armhf 3.11.8-1 [1709 kB] Get: 11 http://deb.debian.org/debian trixie/main armhf python3.11 armhf 3.11.8-1 [597 kB] Get: 12 http://deb.debian.org/debian trixie/main armhf libpython3-stdlib armhf 3.11.6-1 [9224 B] Get: 13 http://deb.debian.org/debian trixie/main armhf python3 armhf 3.11.6-1 [26.2 kB] Get: 14 http://deb.debian.org/debian trixie/main armhf libpython3.12-minimal armhf 3.12.2-1 [793 kB] Get: 15 http://deb.debian.org/debian trixie/main armhf python3.12-minimal armhf 3.12.2-1 [1845 kB] Get: 16 http://deb.debian.org/debian trixie/main armhf sensible-utils all 0.0.22 [22.4 kB] Get: 17 http://deb.debian.org/debian trixie/main armhf libmagic-mgc armhf 1:5.45-2+b1 [314 kB] Get: 18 http://deb.debian.org/debian trixie/main armhf libmagic1 armhf 1:5.45-2+b1 [97.9 kB] Get: 19 http://deb.debian.org/debian trixie/main armhf file armhf 1:5.45-2+b1 [42.2 kB] Get: 20 http://deb.debian.org/debian trixie/main armhf gettext-base armhf 0.21-14+b1 [157 kB] Get: 21 http://deb.debian.org/debian trixie/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 22 http://deb.debian.org/debian trixie/main armhf groff-base armhf 1.23.0-3 [1088 kB] Get: 23 http://deb.debian.org/debian trixie/main armhf bsdextrautils armhf 2.39.3-6 [81.2 kB] Get: 24 http://deb.debian.org/debian trixie/main armhf libpipeline1 armhf 1.5.7-2 [33.3 kB] Get: 25 http://deb.debian.org/debian trixie/main armhf man-db armhf 2.12.0-3 [1367 kB] Get: 26 http://deb.debian.org/debian trixie/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 27 http://deb.debian.org/debian trixie/main armhf autoconf all 2.71-3 [332 kB] Get: 28 http://deb.debian.org/debian trixie/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 29 http://deb.debian.org/debian trixie/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 30 http://deb.debian.org/debian trixie/main armhf autopoint all 0.21-14 [496 kB] Get: 31 http://deb.debian.org/debian trixie/main armhf cython3 armhf 3.0.8-1 [5795 kB] Get: 32 http://deb.debian.org/debian trixie/main armhf libdebhelper-perl all 13.15.3 [88.0 kB] Get: 33 http://deb.debian.org/debian trixie/main armhf libtool all 2.4.7-7 [517 kB] Get: 34 http://deb.debian.org/debian trixie/main armhf dh-autoreconf all 20 [17.1 kB] Get: 35 http://deb.debian.org/debian trixie/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 36 http://deb.debian.org/debian trixie/main armhf libsub-override-perl all 0.10-1 [10.6 kB] Get: 37 http://deb.debian.org/debian trixie/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 38 http://deb.debian.org/debian trixie/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 39 http://deb.debian.org/debian trixie/main armhf libelf1 armhf 0.190-1+b1 [171 kB] Get: 40 http://deb.debian.org/debian trixie/main armhf dwz armhf 0.15-1 [101 kB] Get: 41 http://deb.debian.org/debian trixie/main armhf libicu72 armhf 72.1-4+b1 [9070 kB] Get: 42 http://deb.debian.org/debian trixie/main armhf libxml2 armhf 2.9.14+dfsg-1.3+b2 [599 kB] Get: 43 http://deb.debian.org/debian trixie/main armhf gettext armhf 0.21-14+b1 [1230 kB] Get: 44 http://deb.debian.org/debian trixie/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 45 http://deb.debian.org/debian trixie/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 46 http://deb.debian.org/debian trixie/main armhf debhelper all 13.15.3 [901 kB] Get: 47 http://deb.debian.org/debian trixie/main armhf python3-pkg-resources all 68.1.2-2 [241 kB] Get: 48 http://deb.debian.org/debian trixie/main armhf python3-lib2to3 all 3.11.5-1 [77.5 kB] Get: 49 http://deb.debian.org/debian trixie/main armhf python3-distutils all 3.11.5-1 [131 kB] Get: 50 http://deb.debian.org/debian trixie/main armhf python3-setuptools all 68.1.2-2 [468 kB] Get: 51 http://deb.debian.org/debian trixie/main armhf dh-python all 6.20240401 [107 kB] Get: 52 http://deb.debian.org/debian trixie/main armhf libblas3 armhf 3.12.0-3 [108 kB] Get: 53 http://deb.debian.org/debian trixie/main armhf libexpat1-dev armhf 2.6.2-1 [140 kB] Get: 54 http://deb.debian.org/debian trixie/main armhf libgfortran5 armhf 14-20240201-3 [263 kB] Get: 55 http://deb.debian.org/debian trixie/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 56 http://deb.debian.org/debian trixie/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 57 http://deb.debian.org/debian trixie/main armhf libjs-sphinxdoc all 7.2.6-6 [150 kB] Get: 58 http://deb.debian.org/debian trixie/main armhf liblapack3 armhf 3.12.0-3 [1803 kB] Get: 59 http://deb.debian.org/debian trixie/main armhf libpython3.11 armhf 3.11.8-1 [1710 kB] Get: 60 http://deb.debian.org/debian trixie/main armhf zlib1g-dev armhf 1:1.3.dfsg-3+b1 [904 kB] Get: 61 http://deb.debian.org/debian trixie/main armhf libpython3.11-dev armhf 3.11.8-1 [3420 kB] Get: 62 http://deb.debian.org/debian trixie/main armhf libpython3-dev armhf 3.11.6-1 [9456 B] Get: 63 http://deb.debian.org/debian trixie/main armhf libpython3.12-stdlib armhf 3.12.2-1 [1800 kB] Get: 64 http://deb.debian.org/debian trixie/main armhf libpython3.12 armhf 3.12.2-1 [1850 kB] Get: 65 http://deb.debian.org/debian trixie/main armhf libpython3.12-dev armhf 3.12.2-1 [3659 kB] Get: 66 http://deb.debian.org/debian trixie/main armhf libpython3-all-dev armhf 3.11.6-1 [1072 B] Get: 67 http://deb.debian.org/debian trixie/main armhf python3.12 armhf 3.12.2-1 [653 kB] Get: 68 http://deb.debian.org/debian trixie/main armhf python3-all armhf 3.11.6-1 [1060 B] Get: 69 http://deb.debian.org/debian trixie/main armhf python3.11-dev armhf 3.11.8-1 [509 kB] Get: 70 http://deb.debian.org/debian trixie/main armhf python3-dev armhf 3.11.6-1 [26.1 kB] Get: 71 http://deb.debian.org/debian trixie/main armhf python3.12-dev armhf 3.12.2-1 [507 kB] Get: 72 http://deb.debian.org/debian trixie/main armhf python3-all-dev armhf 3.11.6-1 [1076 B] Get: 73 http://deb.debian.org/debian trixie/main armhf python3-six all 1.16.0-6 [16.3 kB] Get: 74 http://deb.debian.org/debian trixie/main armhf python3-dateutil all 2.9.0-2 [79.4 kB] Get: 75 http://deb.debian.org/debian trixie/main armhf python3-numpy armhf 1:1.24.2-2 [4016 kB] Get: 76 http://deb.debian.org/debian trixie/main armhf python3-tz all 2024.1-2 [30.9 kB] Get: 77 http://deb.debian.org/debian trixie/main armhf python3-pandas-lib armhf 2.1.4+dfsg-5 [7000 kB] Get: 78 http://deb.debian.org/debian trixie/main armhf python3-pandas all 2.1.4+dfsg-5 [3015 kB] Fetched 65.4 MB in 8s (8038 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19635 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.8-1_armhf.deb ... Unpacking libpython3.11-minimal:armhf (3.11.8-1) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../libexpat1_2.6.2-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.2-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.8-1_armhf.deb ... Unpacking python3.11-minimal (3.11.8-1) ... Setting up libpython3.11-minimal:armhf (3.11.8-1) ... Setting up libexpat1:armhf (2.6.2-1) ... Setting up python3.11-minimal (3.11.8-1) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19951 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.6-1_armhf.deb ... Unpacking python3-minimal (3.11.6-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2024a-1_all.deb ... Unpacking tzdata (2024a-1) ... Selecting previously unselected package readline-common. Preparing to unpack .../4-readline-common_8.2-3_all.deb ... Unpacking readline-common (8.2-3) ... Selecting previously unselected package libreadline8:armhf. Preparing to unpack .../5-libreadline8_8.2-3+b1_armhf.deb ... Unpacking libreadline8:armhf (8.2-3+b1) ... Selecting previously unselected package libpython3.11-stdlib:armhf. Preparing to unpack .../6-libpython3.11-stdlib_3.11.8-1_armhf.deb ... Unpacking libpython3.11-stdlib:armhf (3.11.8-1) ... Selecting previously unselected package python3.11. Preparing to unpack .../7-python3.11_3.11.8-1_armhf.deb ... Unpacking python3.11 (3.11.8-1) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../8-libpython3-stdlib_3.11.6-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.11.6-1) ... Setting up python3-minimal (3.11.6-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20939 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.6-1_armhf.deb ... Unpacking python3 (3.11.6-1) ... Selecting previously unselected package libpython3.12-minimal:armhf. Preparing to unpack .../01-libpython3.12-minimal_3.12.2-1_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.2-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../02-python3.12-minimal_3.12.2-1_armhf.deb ... Unpacking python3.12-minimal (3.12.2-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../03-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.45-2+b1_armhf.deb ... Unpacking libmagic-mgc (1:5.45-2+b1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../05-libmagic1_1%3a5.45-2+b1_armhf.deb ... Unpacking libmagic1:armhf (1:5.45-2+b1) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.45-2+b1_armhf.deb ... Unpacking file (1:5.45-2+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.21-14+b1_armhf.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../08-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.23.0-3_armhf.deb ... Unpacking groff-base (1.23.0-3) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../10-bsdextrautils_2.39.3-6_armhf.deb ... Unpacking bsdextrautils (2.39.3-6) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../11-libpipeline1_1.5.7-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.12.0-3_armhf.deb ... Unpacking man-db (2.12.0-3) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.19-4_armhf.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package cython3. Preparing to unpack .../18-cython3_3.0.8-1_armhf.deb ... Unpacking cython3 (3.0.8-1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../19-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../20-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../21-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../22-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../23-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../24-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../25-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../26-libelf1_0.190-1+b1_armhf.deb ... Unpacking libelf1:armhf (0.190-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../27-dwz_0.15-1_armhf.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../28-libicu72_72.1-4+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-4+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../29-libxml2_2.9.14+dfsg-1.3+b2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.21-14+b1_armhf.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../31-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../32-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../33-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../34-python3-pkg-resources_68.1.2-2_all.deb ... Unpacking python3-pkg-resources (68.1.2-2) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../35-python3-lib2to3_3.11.5-1_all.deb ... Unpacking python3-lib2to3 (3.11.5-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../36-python3-distutils_3.11.5-1_all.deb ... Unpacking python3-distutils (3.11.5-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../37-python3-setuptools_68.1.2-2_all.deb ... Unpacking python3-setuptools (68.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../38-dh-python_6.20240401_all.deb ... Unpacking dh-python (6.20240401) ... Selecting previously unselected package libblas3:armhf. Preparing to unpack .../39-libblas3_3.12.0-3_armhf.deb ... Unpacking libblas3:armhf (3.12.0-3) ... Selecting previously unselected package libexpat1-dev:armhf. Preparing to unpack .../40-libexpat1-dev_2.6.2-1_armhf.deb ... Unpacking libexpat1-dev:armhf (2.6.2-1) ... Selecting previously unselected package libgfortran5:armhf. Preparing to unpack .../41-libgfortran5_14-20240201-3_armhf.deb ... Unpacking libgfortran5:armhf (14-20240201-3) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../42-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../43-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../44-libjs-sphinxdoc_7.2.6-6_all.deb ... Unpacking libjs-sphinxdoc (7.2.6-6) ... Selecting previously unselected package liblapack3:armhf. Preparing to unpack .../45-liblapack3_3.12.0-3_armhf.deb ... Unpacking liblapack3:armhf (3.12.0-3) ... Selecting previously unselected package libpython3.11:armhf. Preparing to unpack .../46-libpython3.11_3.11.8-1_armhf.deb ... Unpacking libpython3.11:armhf (3.11.8-1) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../47-zlib1g-dev_1%3a1.3.dfsg-3+b1_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.3.dfsg-3+b1) ... Selecting previously unselected package libpython3.11-dev:armhf. Preparing to unpack .../48-libpython3.11-dev_3.11.8-1_armhf.deb ... Unpacking libpython3.11-dev:armhf (3.11.8-1) ... Selecting previously unselected package libpython3-dev:armhf. Preparing to unpack .../49-libpython3-dev_3.11.6-1_armhf.deb ... Unpacking libpython3-dev:armhf (3.11.6-1) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../50-libpython3.12-stdlib_3.12.2-1_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.2-1) ... Selecting previously unselected package libpython3.12:armhf. Preparing to unpack .../51-libpython3.12_3.12.2-1_armhf.deb ... Unpacking libpython3.12:armhf (3.12.2-1) ... Selecting previously unselected package libpython3.12-dev:armhf. Preparing to unpack .../52-libpython3.12-dev_3.12.2-1_armhf.deb ... Unpacking libpython3.12-dev:armhf (3.12.2-1) ... Selecting previously unselected package libpython3-all-dev:armhf. Preparing to unpack .../53-libpython3-all-dev_3.11.6-1_armhf.deb ... Unpacking libpython3-all-dev:armhf (3.11.6-1) ... Selecting previously unselected package python3.12. Preparing to unpack .../54-python3.12_3.12.2-1_armhf.deb ... Unpacking python3.12 (3.12.2-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../55-python3-all_3.11.6-1_armhf.deb ... Unpacking python3-all (3.11.6-1) ... Selecting previously unselected package python3.11-dev. Preparing to unpack .../56-python3.11-dev_3.11.8-1_armhf.deb ... Unpacking python3.11-dev (3.11.8-1) ... Selecting previously unselected package python3-dev. Preparing to unpack .../57-python3-dev_3.11.6-1_armhf.deb ... Unpacking python3-dev (3.11.6-1) ... Selecting previously unselected package python3.12-dev. Preparing to unpack .../58-python3.12-dev_3.12.2-1_armhf.deb ... Unpacking python3.12-dev (3.12.2-1) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../59-python3-all-dev_3.11.6-1_armhf.deb ... Unpacking python3-all-dev (3.11.6-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../60-python3-six_1.16.0-6_all.deb ... Unpacking python3-six (1.16.0-6) ... Selecting previously unselected package python3-dateutil. Preparing to unpack .../61-python3-dateutil_2.9.0-2_all.deb ... Unpacking python3-dateutil (2.9.0-2) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../62-python3-numpy_1%3a1.24.2-2_armhf.deb ... Unpacking python3-numpy (1:1.24.2-2) ... Selecting previously unselected package python3-tz. Preparing to unpack .../63-python3-tz_2024.1-2_all.deb ... Unpacking python3-tz (2024.1-2) ... Selecting previously unselected package python3-pandas-lib:armhf. Preparing to unpack .../64-python3-pandas-lib_2.1.4+dfsg-5_armhf.deb ... Unpacking python3-pandas-lib:armhf (2.1.4+dfsg-5) ... Selecting previously unselected package python3-pandas. Preparing to unpack .../65-python3-pandas_2.1.4+dfsg-5_all.deb ... Unpacking python3-pandas (2.1.4+dfsg-5) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:armhf (1.5.7-2) ... Setting up libicu72:armhf (72.1-4+b1) ... Setting up bsdextrautils (2.39.3-6) ... Setting up libmagic-mgc (1:5.45-2+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libpython3.12-minimal:armhf (3.12.2-1) ... Setting up libmagic1:armhf (1:5.45-2+b1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-2+b1) ... Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' Local time is now: Sat Apr 20 19:36:31 UTC 2024. Universal Time is now: Sat Apr 20 19:36:31 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... Setting up libblas3:armhf (3.12.0-3) ... update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode Setting up libexpat1-dev:armhf (2.6.2-1) ... Setting up autopoint (0.21-14) ... Setting up libgfortran5:armhf (14-20240201-3) ... Setting up autoconf (2.71-3) ... Setting up zlib1g-dev:armhf (1:1.3.dfsg-3+b1) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up netbase (6.4) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libelf1:armhf (0.190-1+b1) ... Setting up readline-common (8.2-3) ... Setting up libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up python3.12-minimal (3.12.2-1) ... Setting up liblapack3:armhf (3.12.0-3) ... update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up libreadline8:armhf (8.2-3+b1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libjs-sphinxdoc (7.2.6-6) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.23.0-3) ... Setting up libpython3.12-stdlib:armhf (3.12.2-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:armhf (3.11.8-1) ... Setting up python3.12 (3.12.2-1) ... Setting up man-db (2.12.0-3) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3.12:armhf (3.12.2-1) ... Setting up libpython3-stdlib:armhf (3.11.6-1) ... Setting up python3.11 (3.11.8-1) ... Setting up libpython3.11:armhf (3.11.8-1) ... Setting up debhelper (13.15.3) ... Setting up python3 (3.11.6-1) ... Setting up libpython3.12-dev:armhf (3.12.2-1) ... Setting up python3-tz (2024.1-2) ... Setting up python3-six (1.16.0-6) ... Setting up libpython3.11-dev:armhf (3.11.8-1) ... Setting up python3.12-dev (3.12.2-1) ... Setting up cython3 (3.0.8-1) ... Setting up python3-dateutil (2.9.0-2) ... Setting up python3-lib2to3 (3.11.5-1) ... Setting up python3-pkg-resources (68.1.2-2) ... Setting up python3-distutils (3.11.5-1) ... python3.12: can't get files for byte-compilation Setting up libpython3-dev:armhf (3.11.6-1) ... Setting up python3-setuptools (68.1.2-2) ... Setting up python3.11-dev (3.11.8-1) ... Setting up python3-all (3.11.6-1) ... Setting up libpython3-all-dev:armhf (3.11.6-1) ... Setting up python3-dev (3.11.6-1) ... Setting up python3-numpy (1:1.24.2-2) ... Setting up dh-python (6.20240401) ... Setting up python3-all-dev (3.11.6-1) ... Setting up python3-pandas-lib:armhf (2.1.4+dfsg-5) ... Setting up python3-pandas (2.1.4+dfsg-5) ... Processing triggers for libc-bin (2.37-15) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/reproducible-path/pyreadstat-1.2.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../pyreadstat_1.2.6-1_source.changes dpkg-buildpackage: info: source package pyreadstat dpkg-buildpackage: info: source version 1.2.6-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Boyuan Yang dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf dpkg-source: info: using options from pyreadstat-1.2.6/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/ fakeroot debian/rules clean dh clean --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/pyreadstat-1.2.6' # pass make[1]: Leaving directory '/build/reproducible-path/pyreadstat-1.2.6' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules build dh build --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.12 setup.py config [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx I: pybuild base:311: python3.11 setup.py config [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3.12 setup.py build [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value': pyreadstat/_readstat_parser.c:8741:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8741 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_metadata': pyreadstat/_readstat_parser.c:9645:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9645 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9654:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9654 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9801:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9801 | __pyx_v_table = readstat_get_table_name(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_variable': pyreadstat/_readstat_parser.c:9978:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10354:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10354 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10424:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10424 | __pyx_v_var_format = readstat_variable_get_format(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_value_label': pyreadstat/_readstat_parser.c:12535:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12535 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status': pyreadstat/_readstat_parser.c:13275:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13275 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser': pyreadstat/_readstat_parser.c:13848:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 13848 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 882, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13366:20: note: '__pyx_v_error' was declared here 13366 | readstat_error_t __pyx_v_error; | ^~~~~~~~~~~~~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status': pyreadstat/_readstat_writer.c:10982:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10982 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:10951:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 10951 | static void __pyx_f_10pyreadstat_16_readstat_writer__check_exit_status(readstat_error_t __pyx_v_retcode) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer_convert_datetimelike_to_number': pyreadstat/_readstat_writer.c:3974:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 3974 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3509:10: note: '__pyx_v_tstamp' was declared here 3509 | double __pyx_v_tstamp; | ^~~~~~~~~~~~~~ I: pybuild base:311: /usr/bin/python3 setup.py build [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value': pyreadstat/_readstat_parser.c:8741:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8741 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_metadata': pyreadstat/_readstat_parser.c:9645:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9645 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9654:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9654 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9801:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9801 | __pyx_v_table = readstat_get_table_name(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_variable': pyreadstat/_readstat_parser.c:9978:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10354:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10354 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10424:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10424 | __pyx_v_var_format = readstat_variable_get_format(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_value_label': pyreadstat/_readstat_parser.c:12535:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12535 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status': pyreadstat/_readstat_parser.c:13275:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13275 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ In function '__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status', inlined from '__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser' at pyreadstat/_readstat_parser.c:13848:5: pyreadstat/_readstat_parser.c:13266:6: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 13266 | if (unlikely(__pyx_t_1)) { | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser': pyreadstat/_readstat_parser.c:13366:20: note: '__pyx_v_error' was declared here 13366 | readstat_error_t __pyx_v_error; | ^~~~~~~~~~~~~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status': pyreadstat/_readstat_writer.c:10982:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10982 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:10951:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 10951 | static void __pyx_f_10pyreadstat_16_readstat_writer__check_exit_status(readstat_error_t __pyx_v_retcode) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer_convert_datetimelike_to_number': pyreadstat/_readstat_writer.c:3974:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 3974 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3509:10: note: '__pyx_v_tstamp' was declared here 3509 | double __pyx_v_tstamp; | ^~~~~~~~~~~~~~ dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /build/reproducible-path/pyreadstat-1.2.6/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN I: pybuild base:311: cd /build/reproducible-path/pyreadstat-1.2.6/.pybuild/cpython3_3.11/build; python3.11 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=pybuild dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild dh_auto_install --destdir=debian/python3-pyreadstat/ -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3.12 setup.py install --root /build/reproducible-path/pyreadstat-1.2.6/debian/python3-pyreadstat [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value': pyreadstat/_readstat_parser.c:8741:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8741 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_metadata': pyreadstat/_readstat_parser.c:9645:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9645 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9654:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9654 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9801:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9801 | __pyx_v_table = readstat_get_table_name(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_variable': pyreadstat/_readstat_parser.c:9978:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10354:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10354 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10424:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10424 | __pyx_v_var_format = readstat_variable_get_format(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_value_label': pyreadstat/_readstat_parser.c:12535:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12535 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status': pyreadstat/_readstat_parser.c:13275:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13275 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser': pyreadstat/_readstat_parser.c:13848:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 13848 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 882, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13366:20: note: '__pyx_v_error' was declared here 13366 | readstat_error_t __pyx_v_error; | ^~~~~~~~~~~~~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status': pyreadstat/_readstat_writer.c:10982:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10982 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:10951:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 10951 | static void __pyx_f_10pyreadstat_16_readstat_writer__check_exit_status(readstat_error_t __pyx_v_retcode) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer_convert_datetimelike_to_number': pyreadstat/_readstat_writer.c:3974:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 3974 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3509:10: note: '__pyx_v_tstamp' was declared here 3509 | double __pyx_v_tstamp; | ^~~~~~~~~~~~~~ warning: no files found matching '*.h' warning: no files found matching '*.pyx' warning: no files found matching '*.pxd' I: pybuild base:311: /usr/bin/python3 setup.py install --root /build/reproducible-path/pyreadstat-1.2.6/debian/python3-pyreadstat [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value': pyreadstat/_readstat_parser.c:8741:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8741 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_metadata': pyreadstat/_readstat_parser.c:9645:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9645 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9654:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9654 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9801:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9801 | __pyx_v_table = readstat_get_table_name(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_variable': pyreadstat/_readstat_parser.c:9978:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10354:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10354 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10424:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10424 | __pyx_v_var_format = readstat_variable_get_format(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_handle_value_label': pyreadstat/_readstat_parser.c:12535:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12535 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value); | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status': pyreadstat/_readstat_parser.c:13275:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13275 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ In function '__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status', inlined from '__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser' at pyreadstat/_readstat_parser.c:13848:5: pyreadstat/_readstat_parser.c:13266:6: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 13266 | if (unlikely(__pyx_t_1)) { | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser': pyreadstat/_readstat_parser.c:13366:20: note: '__pyx_v_error' was declared here 13366 | readstat_error_t __pyx_v_error; | ^~~~~~~~~~~~~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1261 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status': pyreadstat/_readstat_writer.c:10982:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10982 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:10951:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 10951 | static void __pyx_f_10pyreadstat_16_readstat_writer__check_exit_status(readstat_error_t __pyx_v_retcode) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer_convert_datetimelike_to_number': pyreadstat/_readstat_writer.c:3974:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 3974 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3509:10: note: '__pyx_v_tstamp' was declared here 3509 | double __pyx_v_tstamp; | ^~~~~~~~~~~~~~ warning: no files found matching '*.h' warning: no files found matching '*.pyx' warning: no files found matching '*.pxd' dh_installdocs -O--buildsystem=pybuild dh_installchangelogs -O--buildsystem=pybuild dh_python3 -O--buildsystem=pybuild dh_installsystemduser -O--buildsystem=pybuild dh_perl -O--buildsystem=pybuild dh_link -O--buildsystem=pybuild dh_strip_nondeterminism -O--buildsystem=pybuild dh_compress -O--buildsystem=pybuild dh_fixperms -O--buildsystem=pybuild dh_missing -O--buildsystem=pybuild dh_dwz -a -O--buildsystem=pybuild dh_strip -a -O--buildsystem=pybuild dh_makeshlibs -a -O--buildsystem=pybuild dh_shlibdeps -a -O--buildsystem=pybuild dh_installdeb -O--buildsystem=pybuild dh_gencontrol -O--buildsystem=pybuild dpkg-gencontrol: warning: Recommends field of package python3-pyreadstat: substitution variable ${python3:Recommends} used, but is not defined dpkg-gencontrol: warning: Suggests field of package python3-pyreadstat: substitution variable ${python3:Suggests} used, but is not defined dpkg-gencontrol: warning: Recommends field of package python3-pyreadstat: substitution variable ${python3:Recommends} used, but is not defined dpkg-gencontrol: warning: Suggests field of package python3-pyreadstat: substitution variable ${python3:Suggests} used, but is not defined dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild dpkg-deb: building package 'python3-pyreadstat-dbgsym' in '../python3-pyreadstat-dbgsym_1.2.6-1_armhf.deb'. dpkg-deb: building package 'python3-pyreadstat' in '../python3-pyreadstat_1.2.6-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../pyreadstat_1.2.6-1_armhf.buildinfo dpkg-genchanges --build=binary -O../pyreadstat_1.2.6-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-source: info: using options from pyreadstat-1.2.6/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/7811 and its subdirectories I: Current time: Sat Apr 20 07:55:25 -12 2024 I: pbuilder-time-stamp: 1713642925 Sat Apr 20 19:55:39 UTC 2024 I: 1st build successful. Starting 2nd build on remote node virt64z-armhf-rb.debian.net. Sat Apr 20 19:55:39 UTC 2024 I: Preparing to do remote build '2' on virt64z-armhf-rb.debian.net. Sat Apr 20 20:30:55 UTC 2024 I: Deleting $TMPDIR on virt64z-armhf-rb.debian.net. Sat Apr 20 20:30:59 UTC 2024 I: pyreadstat_1.2.6-1_armhf.changes: Format: 1.8 Date: Wed, 03 Jan 2024 13:09:56 -0500 Source: pyreadstat Binary: python3-pyreadstat python3-pyreadstat-dbgsym Architecture: armhf Version: 1.2.6-1 Distribution: unstable Urgency: medium Maintainer: Joost van Baal-Ilić Changed-By: Boyuan Yang Description: python3-pyreadstat - read/write data sets from SAS, Stata, and SPSS from/to Python pan Changes: pyreadstat (1.2.6-1) unstable; urgency=medium . * Team upload. * New upstream release. * Upload to unstable. * debian/rules: + Drop --with python3 parameter, use dh-sequence-python3 instead. + Drop incorrect PYBUILD_NAME override. Checksums-Sha1: cd837474b6f831c99211741044161467f9ffb72d 6919 pyreadstat_1.2.6-1_armhf.buildinfo e84687f2fbe6db7178fd55c6e0499651c318c13f 3641580 python3-pyreadstat-dbgsym_1.2.6-1_armhf.deb bad9e1125bd470168840eaa40d4a52b7b1adfdb3 454156 python3-pyreadstat_1.2.6-1_armhf.deb Checksums-Sha256: 12af69ead57d4f459a3943a35675077bf325e97f6bd9bafc15d59ad581595719 6919 pyreadstat_1.2.6-1_armhf.buildinfo 9a7d1a25166b06d4bdc5a6b54766cf6091fca08c47b3e9dcd304e00c7c334178 3641580 python3-pyreadstat-dbgsym_1.2.6-1_armhf.deb 34058acbcc421dcea2081f24f3b6013b79c1fea5b66b69beb1742df302939671 454156 python3-pyreadstat_1.2.6-1_armhf.deb Files: a80586e9fa4fb686db1ec84e9fde9f1d 6919 python optional pyreadstat_1.2.6-1_armhf.buildinfo 63e5f520edd28464d64428bf0b4a5190 3641580 debug optional python3-pyreadstat-dbgsym_1.2.6-1_armhf.deb d27b391a310edb515945b96f87ffd238 454156 python optional python3-pyreadstat_1.2.6-1_armhf.deb Sat Apr 20 20:31:01 UTC 2024 I: diffoscope 265 will be used to compare the two builds: Running as unit: rb-diffoscope-armhf_3-2810.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.v0gOQmgz/pyreadstat_1.2.6-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.v0gOQmgz/pyreadstat_1.2.6-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.v0gOQmgz/pyreadstat_1.2.6-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.v0gOQmgz/b1/pyreadstat_1.2.6-1_armhf.changes /srv/reproducible-results/rbuild-debian/r-b-build.v0gOQmgz/b2/pyreadstat_1.2.6-1_armhf.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.472s) 0.472s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.069s) 0.069s 12 calls diffoscope.comparators.binary.FilesystemFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 824ms CPU time consumed: 820ms Sat Apr 20 20:31:02 UTC 2024 I: diffoscope 265 found no differences in the changes files, and a .buildinfo file also exists. Sat Apr 20 20:31:02 UTC 2024 I: pyreadstat from trixie built successfully and reproducibly on armhf. Sat Apr 20 20:31:03 UTC 2024 I: Submitting .buildinfo files to external archives: Sat Apr 20 20:31:03 UTC 2024 I: Submitting 8.0K b1/pyreadstat_1.2.6-1_armhf.buildinfo.asc Sat Apr 20 20:31:06 UTC 2024 I: Submitting 8.0K b2/pyreadstat_1.2.6-1_armhf.buildinfo.asc Sat Apr 20 20:31:08 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sat Apr 20 20:31:08 UTC 2024 I: Done submitting .buildinfo files. Sat Apr 20 20:31:08 UTC 2024 I: Removing signed pyreadstat_1.2.6-1_armhf.buildinfo.asc files: removed './b1/pyreadstat_1.2.6-1_armhf.buildinfo.asc' removed './b2/pyreadstat_1.2.6-1_armhf.buildinfo.asc'