Running as unit: rb-build-armhf_32-20254.service ==================================================================================== Mon Nov 25 22:03:49 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_armhf_32) on jenkins, called using "virt64c-armhf-rb virt32c-armhf-rb" as arguments. Mon Nov 25 22:03:49 UTC 2024 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-bQbl66DX" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Mon Nov 25 22:03:49 UTC 2024 - checking /var/lib/jenkins/offline_nodes if virt64c-armhf-rb.debian.net is marked as down. Mon Nov 25 22:03:49 UTC 2024 - checking via ssh if virt64c-armhf-rb.debian.net is up. removed '/tmp/read-only-fs-test-8XuTIn' Mon Nov 25 22:03:54 UTC 2024 - checking /var/lib/jenkins/offline_nodes if virt32c-armhf-rb.debian.net is marked as down. Mon Nov 25 22:03:54 UTC 2024 - checking via ssh if virt32c-armhf-rb.debian.net is up. removed '/tmp/read-only-fs-test-jz0qbK' ok, let's check if pyreadstat is building anywhere yet… ok, pyreadstat is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of pyreadstat in unstable on armhf on jenkins now. 1st build will be done on virt64c-armhf-rb.debian.net. 2nd build will be done on virt32c-armhf-rb.debian.net. ============================================================================= Mon Nov 25 22:04:18 UTC 2024 I: starting to build pyreadstat/unstable/armhf on jenkins on '2024-11-25 22:03' Mon Nov 25 22:04:18 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_32/20254/console.log 1732572258 armhf unstable pyreadstat Mon Nov 25 22:04:18 UTC 2024 I: Downloading source for unstable/pyreadstat=1.2.8-1 --2024-11-25 22:04:18-- http://deb.debian.org/debian/pool/main/p/pyreadstat/pyreadstat_1.2.8-1.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2080 (2.0K) [text/prs.lines.tag] Saving to: ‘pyreadstat_1.2.8-1.dsc’ 0K .. 100% 257M=0s 2024-11-25 22:04:18 (257 MB/s) - ‘pyreadstat_1.2.8-1.dsc’ saved [2080/2080] --2024-11-25 22:04:18-- http://deb.debian.org/debian/pool/main/p/pyreadstat/pyreadstat_1.2.8-1.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2080 (2.0K) [text/prs.lines.tag] Saving to: ‘pyreadstat_1.2.8-1.dsc’ 0K .. 100% 257M=0s 2024-11-25 22:04:18 (257 MB/s) - ‘pyreadstat_1.2.8-1.dsc’ saved [2080/2080] Mon Nov 25 22:04:18 UTC 2024 I: pyreadstat_1.2.8-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: pyreadstat Binary: python3-pyreadstat Architecture: any Version: 1.2.8-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: 5c239623bef0be169518d8989da0e1e7b1497294 560144 pyreadstat_1.2.8.orig.tar.gz 808315dedb643c64c174468352657589368e4dc5 3108 pyreadstat_1.2.8-1.debian.tar.xz Checksums-Sha256: ced3f261659f10d23843e36ec3ad6699fcac9a863820e53c6fb4b6c1abcf9e94 560144 pyreadstat_1.2.8.orig.tar.gz 87cd18b05a8d6b5444595e3fbbb783be34a67a56ba992fa5d07e9c24b9bf12b2 3108 pyreadstat_1.2.8-1.debian.tar.xz Files: 64cea22acc51ebdc9d67b6167517ec02 560144 pyreadstat_1.2.8.orig.tar.gz 6e673f64d3398d0d09eb9371eb6928d2 3108 pyreadstat_1.2.8-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmc4+LUACgkQwpPntGGC Ws4R/Q//Qe5yakPRTQEbrej5oUhGT2PIbLHd43Rh+ELYLnKmI/s6b/BjNN/ARvwW 0uwBxUYGvJL8YHHzRcIxgMjjeDHPtOFOYDUTtQYyiby5EiGV6QnyINStUaETVLY8 Pcrik+JqHlVz7lcLl6FNO2jet5nDdya7++ltB29R3MPxar4IquX2UiohKk8iq2z6 upWgWDFZIR+aLAk0BK+TcoEMVHMVheV0fkCplhbWALXu+QoJVxiXbWy8yZY3EWSz TxIa++0gOmnk9D23XEDA2t9YomybMAkLZ2EVlMH3GMLauPM+1XD6Ms/pus9nfmSn fOrVY3iA5A1wBjhVLdWxjEXo3stoqGQYUAZsQxEFQwWeE3nN7fTAbwtynU/Gyzkl gZexlGIdsj8Y+CZuGVke/6AA8TwJji/I8SdtR1wqB4eCzZpbfePv1zMFC4VncYlr YS+Vp+9awGZdpj+owTSf+x+Qe7ysxtdnX24F1lJbuJBni69cVwDBkY80h2PAYO+6 +V/FI6mSuYIEcK/QoKlpAa5ac8CG7ej2NxVAE/VC3XCX0AlL4dJk/yA1ncbhvIYW qSKfk2yn7whZjFq2vGnKUTLW/aBuaOzOj4w9fkvfhb75/SFsZcP+pNyq2QtL+tdT tvd22D5HL8fg7MzSzZNpfE7kwMjkondyo730nvtNRgRakawqkzU= =7G0B -----END PGP SIGNATURE----- Mon Nov 25 22:04:18 UTC 2024 I: Checking whether the package is not for us Mon Nov 25 22:04:18 UTC 2024 I: Starting 1st build on remote node virt64c-armhf-rb.debian.net. Mon Nov 25 22:04:18 UTC 2024 I: Preparing to do remote build '1' on virt64c-armhf-rb.debian.net. Mon Nov 25 22:04:18 UTC 2024 - checking /var/lib/jenkins/offline_nodes if virt64c-armhf-rb.debian.net is marked as down. Mon Nov 25 22:04:18 UTC 2024 - checking via ssh if virt64c-armhf-rb.debian.net is up. removed '/tmp/read-only-fs-test-b2vvGR' ==================================================================================== Mon Nov 25 22:04:28 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on virt64c, called using "1 pyreadstat unstable /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6 1.2.8-1" as arguments. Mon Nov 25 22:04:28 UTC 2024 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-QFXsZK1U" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Mon Nov 25 22:04:28 UTC 2024 I: Downloading source for unstable/pyreadstat=1.2.8-1 Reading package lists... NOTICE: 'pyreadstat' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/python-team/packages/pyreadstat.git Please use: git clone https://salsa.debian.org/python-team/packages/pyreadstat.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 565 kB of source archives. Get:1 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (dsc) [2080 B] Get:2 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (tar) [560 kB] Get:3 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (diff) [3108 B] Fetched 565 kB in 1s (386 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'pyreadstat' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/python-team/packages/pyreadstat.git Please use: git clone https://salsa.debian.org/python-team/packages/pyreadstat.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 565 kB of source archives. Get:1 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (dsc) [2080 B] Get:2 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (tar) [560 kB] Get:3 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (diff) [3108 B] Fetched 565 kB in 1s (386 kB/s) Download complete and in download only mode ============================================================================= Building pyreadstat in unstable on armhf on virt64c now. Date: Mon Nov 25 14:04:30 PST 2024 Date UTC: Mon Nov 25 22:04:30 UTC 2024 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Mon Nov 25 10:04:30 -12 2024 I: pbuilder-time-stamp: 1732572270 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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.8-1.dsc] I: copying [./pyreadstat_1.2.8.orig.tar.gz] I: copying [./pyreadstat_1.2.8-1.debian.tar.xz] I: Extracting source gpgv: Signature made Sat Nov 16 19:55:33 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.8-1.dsc: no acceptable signature found dpkg-source: info: extracting pyreadstat in pyreadstat-1.2.8 dpkg-source: info: unpacking pyreadstat_1.2.8.orig.tar.gz dpkg-source: info: unpacking pyreadstat_1.2.8-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/10958/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='unstable' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='edf7654aadab492e9eeaec19c4087d64' 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='10958' 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.PUMFKWq6/pbuilderrc_aNEk --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b1 --logfile b1/build.log pyreadstat_1.2.8-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 virt64c 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin I: user script /srv/workspace/pbuilder/10958/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 ... 19685 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} libcom-err2{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libexpat1-dev{a} libfile-stripnondeterminism-perl{a} libgfortran5{a} libgssapi-krb5-2{a} libicu72{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} liblapack3{a} libmagic-mgc{a} libmagic1t64{a} libnsl2{a} libpipeline1{a} libpython3-all-dev{a} libpython3-dev{a} libpython3-stdlib{a} libpython3.12-dev{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libpython3.12t64{a} libpython3.13{a} libpython3.13-dev{a} libpython3.13-minimal{a} libpython3.13-stdlib{a} libreadline8t64{a} libtirpc-common{a} libtirpc3t64{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-autocommand{a} python3-dateutil{a} python3-dev{a} python3-inflect{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-jaraco.text{a} python3-minimal{a} python3-more-itertools{a} python3-numpy{a} python3-pandas{a} python3-pandas-lib{a} python3-pkg-resources{a} python3-setuptools{a} python3-typeguard{a} python3-typing-extensions{a} python3-tz{a} python3-zipp{a} python3.12{a} python3.12-dev{a} python3.12-minimal{a} python3.13{a} python3.13-dev{a} python3.13-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 krb5-locales 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, 92 newly installed, 0 to remove and 0 not upgraded. Need to get 64.2 MB of archives. After unpacking 262 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libpython3.12-minimal armhf 3.12.7-3 [800 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.4-1 [83.5 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf python3.12-minimal armhf 3.12.7-3 [1808 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.12.7-1 [26.8 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf tzdata all 2024b-3 [255 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf libkrb5support0 armhf 1.21.3-3 [30.0 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf libcom-err2 armhf 1.47.1-1+b1 [22.3 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf libk5crypto3 armhf 1.21.3-3 [75.8 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf libkeyutils1 armhf 1.6.3-4 [8096 B] Get: 12 http://deb.debian.org/debian unstable/main armhf libkrb5-3 armhf 1.21.3-3 [283 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf libgssapi-krb5-2 armhf 1.21.3-3 [114 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf libtirpc3t64 armhf 1.3.4+ds-1.3+b1 [71.3 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf libnsl2 armhf 1.3.0-3+b3 [35.0 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-5 [69.3 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-5 [146 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf libpython3.12-stdlib armhf 3.12.7-3 [1819 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf python3.12 armhf 3.12.7-3 [671 kB] Get: 21 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.12.7-1 [9712 B] Get: 22 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.12.7-1 [27.8 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf libpython3.13-minimal armhf 3.13.0-2 [843 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf python3.13-minimal armhf 3.13.0-2 [1691 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.24 [24.8 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3+b1 [314 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3+b1 [98.5 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3+b1 [42.3 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.22.5-2 [195 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b2 [65.6 kB] Get: 31 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-5 [1091 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40.2-11 [83.6 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.8-1 [35.0 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.13.0-1 [1382 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf autoconf all 2.72-3 [493 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf autopoint all 0.22.5-2 [723 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf cython3 armhf 3.0.11+dfsg-1+b1 [2812 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.20 [89.7 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-8 [517 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 47 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.192-4 [184 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-5+b1 [9088 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2+b1 [605 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.22.5-2 [1485 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf debhelper all 13.20 [915 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf python3-autocommand all 2.2.2-3 [13.6 kB] Get: 56 http://deb.debian.org/debian unstable/main armhf python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf python3-typeguard all 4.4.1-1 [37.0 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf python3-inflect all 7.3.1-2 [32.4 kB] Get: 60 http://deb.debian.org/debian unstable/main armhf python3-jaraco.context all 6.0.0-1 [7984 B] Get: 61 http://deb.debian.org/debian unstable/main armhf python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 75.2.0-1 [213 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf python3-zipp all 3.21.0-1 [10.6 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 75.2.0-1 [731 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20241024 [109 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf libblas3 armhf 3.12.0-4 [111 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf libexpat1-dev armhf 2.6.4-1 [140 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf libgfortran5 armhf 14.2.0-8 [263 kB] Get: 70 http://deb.debian.org/debian unstable/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf liblapack3 armhf 3.12.0-4 [1828 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf libpython3.12t64 armhf 3.12.7-3 [1848 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1+b1 [905 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf libpython3.12-dev armhf 3.12.7-3 [3808 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf libpython3-dev armhf 3.12.7-1 [9976 B] Get: 78 http://deb.debian.org/debian unstable/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1850 kB] Get: 79 http://deb.debian.org/debian unstable/main armhf libpython3.13 armhf 3.13.0-2 [1843 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf libpython3.13-dev armhf 3.13.0-2 [3781 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf libpython3-all-dev armhf 3.12.7-1 [1072 B] Get: 82 http://deb.debian.org/debian unstable/main armhf python3.13 armhf 3.13.0-2 [730 kB] Get: 83 http://deb.debian.org/debian unstable/main armhf python3-all armhf 3.12.7-1 [1052 B] Get: 84 http://deb.debian.org/debian unstable/main armhf python3.12-dev armhf 3.12.7-3 [505 kB] Get: 85 http://deb.debian.org/debian unstable/main armhf python3-dev armhf 3.12.7-1 [26.1 kB] Get: 86 http://deb.debian.org/debian unstable/main armhf python3.13-dev armhf 3.13.0-2 [504 kB] Get: 87 http://deb.debian.org/debian unstable/main armhf python3-all-dev armhf 3.12.7-1 [1076 B] Get: 88 http://deb.debian.org/debian unstable/main armhf python3-dateutil all 2.9.0-3 [79.3 kB] Get: 89 http://deb.debian.org/debian unstable/main armhf python3-numpy armhf 1:1.26.4+ds-12 [3676 kB] Get: 90 http://deb.debian.org/debian unstable/main armhf python3-tz all 2024.1-2 [30.9 kB] Get: 91 http://deb.debian.org/debian unstable/main armhf python3-pandas-lib armhf 2.2.3+dfsg-5+b1 [6440 kB] Get: 92 http://deb.debian.org/debian unstable/main armhf python3-pandas all 2.2.3+dfsg-5 [3096 kB] Fetched 64.2 MB in 2s (32.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-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 ... 19685 files and directories currently installed.) Preparing to unpack .../libpython3.12-minimal_3.12.7-3_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.7-3) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../libexpat1_2.6.4-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.4-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../python3.12-minimal_3.12.7-3_armhf.deb ... Unpacking python3.12-minimal (3.12.7-3) ... Setting up libpython3.12-minimal:armhf (3.12.7-3) ... Setting up libexpat1:armhf (2.6.4-1) ... Setting up python3.12-minimal (3.12.7-3) ... 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 ... 20005 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_armhf.deb ... Unpacking python3-minimal (3.12.7-1) ... Selecting previously unselected package media-types. Preparing to unpack .../01-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../02-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../03-tzdata_2024b-3_all.deb ... Unpacking tzdata (2024b-3) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../04-libkrb5support0_1.21.3-3_armhf.deb ... Unpacking libkrb5support0:armhf (1.21.3-3) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../05-libcom-err2_1.47.1-1+b1_armhf.deb ... Unpacking libcom-err2:armhf (1.47.1-1+b1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../06-libk5crypto3_1.21.3-3_armhf.deb ... Unpacking libk5crypto3:armhf (1.21.3-3) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../07-libkeyutils1_1.6.3-4_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-4) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../08-libkrb5-3_1.21.3-3_armhf.deb ... Unpacking libkrb5-3:armhf (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../09-libgssapi-krb5-2_1.21.3-3_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.21.3-3) ... Selecting previously unselected package libtirpc-common. Preparing to unpack .../10-libtirpc-common_1.3.4+ds-1.3_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.3) ... Selecting previously unselected package libtirpc3t64:armhf. Preparing to unpack .../11-libtirpc3t64_1.3.4+ds-1.3+b1_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:armhf (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:armhf. Preparing to unpack .../12-libnsl2_1.3.0-3+b3_armhf.deb ... Unpacking libnsl2:armhf (1.3.0-3+b3) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_8.2-5_all.deb ... Unpacking readline-common (8.2-5) ... Selecting previously unselected package libreadline8t64:armhf. Preparing to unpack .../14-libreadline8t64_8.2-5_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:armhf (8.2-5) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../15-libpython3.12-stdlib_3.12.7-3_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.7-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../16-python3.12_3.12.7-3_armhf.deb ... Unpacking python3.12 (3.12.7-3) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../17-libpython3-stdlib_3.12.7-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.12.7-1) ... Setting up python3-minimal (3.12.7-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 ... 21067 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.7-1_armhf.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package libpython3.13-minimal:armhf. Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_armhf.deb ... Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../02-python3.13-minimal_3.13.0-2_armhf.deb ... Unpacking python3.13-minimal (3.13.0-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../03-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.45-3+b1_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../05-libmagic1t64_1%3a5.45-3+b1_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.45-3+b1_armhf.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.22.5-2_armhf.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../08-libuchardet0_0.0.8-1+b2_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.23.0-5_armhf.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../10-bsdextrautils_2.40.2-11_armhf.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../11-libpipeline1_1.5.8-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.13.0-1_armhf.deb ... Unpacking man-db (2.13.0-1) ... 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.72-3_all.deb ... Unpacking autoconf (2.72-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.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package cython3. Preparing to unpack .../18-cython3_3.0.11+dfsg-1+b1_armhf.deb ... Unpacking cython3 (3.0.11+dfsg-1+b1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../19-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../20-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:armhf. Preparing to unpack .../25-libelf1t64_0.192-4_armhf.deb ... Unpacking libelf1t64:armhf (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../27-libicu72_72.1-5+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-5+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../28-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_armhf.deb ... Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.22.5-2_armhf.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-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 .../31-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../33-python3-autocommand_2.2.2-3_all.deb ... Unpacking python3-autocommand (2.2.2-3) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../34-python3-more-itertools_10.5.0-1_all.deb ... Unpacking python3-more-itertools (10.5.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../35-python3-typing-extensions_4.12.2-2_all.deb ... Unpacking python3-typing-extensions (4.12.2-2) ... Selecting previously unselected package python3-typeguard. Preparing to unpack .../36-python3-typeguard_4.4.1-1_all.deb ... Unpacking python3-typeguard (4.4.1-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../37-python3-inflect_7.3.1-2_all.deb ... Unpacking python3-inflect (7.3.1-2) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../38-python3-jaraco.context_6.0.0-1_all.deb ... Unpacking python3-jaraco.context (6.0.0-1) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../39-python3-jaraco.functools_4.1.0-1_all.deb ... Unpacking python3-jaraco.functools (4.1.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../40-python3-pkg-resources_75.2.0-1_all.deb ... Unpacking python3-pkg-resources (75.2.0-1) ... Selecting previously unselected package python3-jaraco.text. Preparing to unpack .../41-python3-jaraco.text_4.0.0-1_all.deb ... Unpacking python3-jaraco.text (4.0.0-1) ... Selecting previously unselected package python3-zipp. Preparing to unpack .../42-python3-zipp_3.21.0-1_all.deb ... Unpacking python3-zipp (3.21.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../43-python3-setuptools_75.2.0-1_all.deb ... Unpacking python3-setuptools (75.2.0-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../44-dh-python_6.20241024_all.deb ... Unpacking dh-python (6.20241024) ... Selecting previously unselected package libblas3:armhf. Preparing to unpack .../45-libblas3_3.12.0-4_armhf.deb ... Unpacking libblas3:armhf (3.12.0-4) ... Selecting previously unselected package libexpat1-dev:armhf. Preparing to unpack .../46-libexpat1-dev_2.6.4-1_armhf.deb ... Unpacking libexpat1-dev:armhf (2.6.4-1) ... Selecting previously unselected package libgfortran5:armhf. Preparing to unpack .../47-libgfortran5_14.2.0-8_armhf.deb ... Unpacking libgfortran5:armhf (14.2.0-8) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../48-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 .../49-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 .../50-libjs-sphinxdoc_7.4.7-4_all.deb ... Unpacking libjs-sphinxdoc (7.4.7-4) ... Selecting previously unselected package liblapack3:armhf. Preparing to unpack .../51-liblapack3_3.12.0-4_armhf.deb ... Unpacking liblapack3:armhf (3.12.0-4) ... Selecting previously unselected package libpython3.12t64:armhf. Preparing to unpack .../52-libpython3.12t64_3.12.7-3_armhf.deb ... Unpacking libpython3.12t64:armhf (3.12.7-3) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../53-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1+b1) ... Selecting previously unselected package libpython3.12-dev:armhf. Preparing to unpack .../54-libpython3.12-dev_3.12.7-3_armhf.deb ... Unpacking libpython3.12-dev:armhf (3.12.7-3) ... Selecting previously unselected package libpython3-dev:armhf. Preparing to unpack .../55-libpython3-dev_3.12.7-1_armhf.deb ... Unpacking libpython3-dev:armhf (3.12.7-1) ... Selecting previously unselected package libpython3.13-stdlib:armhf. Preparing to unpack .../56-libpython3.13-stdlib_3.13.0-2_armhf.deb ... Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... Selecting previously unselected package libpython3.13:armhf. Preparing to unpack .../57-libpython3.13_3.13.0-2_armhf.deb ... Unpacking libpython3.13:armhf (3.13.0-2) ... Selecting previously unselected package libpython3.13-dev:armhf. Preparing to unpack .../58-libpython3.13-dev_3.13.0-2_armhf.deb ... Unpacking libpython3.13-dev:armhf (3.13.0-2) ... Selecting previously unselected package libpython3-all-dev:armhf. Preparing to unpack .../59-libpython3-all-dev_3.12.7-1_armhf.deb ... Unpacking libpython3-all-dev:armhf (3.12.7-1) ... Selecting previously unselected package python3.13. Preparing to unpack .../60-python3.13_3.13.0-2_armhf.deb ... Unpacking python3.13 (3.13.0-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../61-python3-all_3.12.7-1_armhf.deb ... Unpacking python3-all (3.12.7-1) ... Selecting previously unselected package python3.12-dev. Preparing to unpack .../62-python3.12-dev_3.12.7-3_armhf.deb ... Unpacking python3.12-dev (3.12.7-3) ... Selecting previously unselected package python3-dev. Preparing to unpack .../63-python3-dev_3.12.7-1_armhf.deb ... Unpacking python3-dev (3.12.7-1) ... Selecting previously unselected package python3.13-dev. Preparing to unpack .../64-python3.13-dev_3.13.0-2_armhf.deb ... Unpacking python3.13-dev (3.13.0-2) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../65-python3-all-dev_3.12.7-1_armhf.deb ... Unpacking python3-all-dev (3.12.7-1) ... Selecting previously unselected package python3-dateutil. Preparing to unpack .../66-python3-dateutil_2.9.0-3_all.deb ... Unpacking python3-dateutil (2.9.0-3) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../67-python3-numpy_1%3a1.26.4+ds-12_armhf.deb ... Unpacking python3-numpy (1:1.26.4+ds-12) ... Selecting previously unselected package python3-tz. Preparing to unpack .../68-python3-tz_2024.1-2_all.deb ... Unpacking python3-tz (2024.1-2) ... Selecting previously unselected package python3-pandas-lib:armhf. Preparing to unpack .../69-python3-pandas-lib_2.2.3+dfsg-5+b1_armhf.deb ... Unpacking python3-pandas-lib:armhf (2.2.3+dfsg-5+b1) ... Selecting previously unselected package python3-pandas. Preparing to unpack .../70-python3-pandas_2.2.3+dfsg-5_all.deb ... Unpacking python3-pandas (2.2.3+dfsg-5) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:armhf (1.5.8-1) ... Setting up libkeyutils1:armhf (1.6.3-4) ... Setting up libicu72:armhf (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libtirpc-common (1.3.4+ds-1.3) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:armhf (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:armhf (1.47.1-1+b1) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:armhf (0.192-4) ... Setting up libkrb5support0:armhf (1.21.3-3) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Mon Nov 25 22:05:22 UTC 2024. Universal Time is now: Mon Nov 25 22:05:22 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:armhf (3.13.0-2) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:armhf (3.12.0-4) ... 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.4-1) ... Setting up autopoint (0.22.5-2) ... Setting up libk5crypto3:armhf (1.21.3-3) ... Setting up libgfortran5:armhf (14.2.0-8) ... Setting up autoconf (2.72-3) ... Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1+b1) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:armhf (0.0.8-1+b2) ... Setting up python3.13-minimal (3.13.0-2) ... Setting up netbase (6.4) ... Setting up libkrb5-3:armhf (1.21.3-3) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up readline-common (8.2-5) ... Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ... 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.14.0-1) ... Setting up liblapack3:armhf (3.12.0-4) ... 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.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libgssapi-krb5-2:armhf (1.21.3-3) ... Setting up libjs-sphinxdoc (7.4.7-4) ... Setting up libreadline8t64:armhf (8.2-5) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... Setting up libpython3.13:armhf (3.13.0-2) ... Setting up libtirpc3t64:armhf (1.3.4+ds-1.3+b1) ... Setting up python3.13 (3.13.0-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3.13-dev:armhf (3.13.0-2) ... Setting up libnsl2:armhf (1.3.0-3+b3) ... Setting up libpython3.12-stdlib:armhf (3.12.7-3) ... Setting up python3.13-dev (3.13.0-2) ... Setting up python3.12 (3.12.7-3) ... Setting up debhelper (13.20) ... Setting up libpython3.12t64:armhf (3.12.7-3) ... Setting up libpython3-stdlib:armhf (3.12.7-1) ... Setting up python3 (3.12.7-1) ... Setting up libpython3.12-dev:armhf (3.12.7-3) ... Setting up python3-zipp (3.21.0-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up python3-tz (2024.1-2) ... Setting up python3.12-dev (3.12.7-3) ... Setting up cython3 (3.0.11+dfsg-1+b1) ... Setting up python3-typing-extensions (4.12.2-2) ... Setting up python3-dateutil (2.9.0-3) ... Setting up python3-more-itertools (10.5.0-1) ... Setting up libpython3-dev:armhf (3.12.7-1) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up python3-jaraco.context (6.0.0-1) ... Setting up python3-typeguard (4.4.1-1) ... Setting up python3-all (3.12.7-1) ... Setting up python3-inflect (7.3.1-2) ... Setting up libpython3-all-dev:armhf (3.12.7-1) ... Setting up python3-jaraco.text (4.0.0-1) ... Setting up python3-dev (3.12.7-1) ... Setting up python3-pkg-resources (75.2.0-1) ... Setting up python3-all-dev (3.12.7-1) ... Setting up python3-setuptools (75.2.0-1) ... Setting up python3-numpy (1:1.26.4+ds-12) ... Setting up dh-python (6.20241024) ... Setting up python3-pandas-lib:armhf (2.2.3+dfsg-5+b1) ... Setting up python3-pandas (2.2.3+dfsg-5) ... Processing triggers for libc-bin (2.40-4) ... 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.36-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.8/ && 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.8-1_source.changes dpkg-buildpackage: info: source package pyreadstat dpkg-buildpackage: info: source version 1.2.8-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.8/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.8' # pass make[1]: Leaving directory '/build/reproducible-path/pyreadstat-1.2.8' 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.13 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.12 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.13 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | double __pyx_v_tstamp; | ^~~~~~~~~~~~~~ dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /build/reproducible-path/pyreadstat-1.2.8/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN I: pybuild base:311: cd /build/reproducible-path/pyreadstat-1.2.8/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN 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.13 setup.py install --root /build/reproducible-path/pyreadstat-1.2.8/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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | 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.8/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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | 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 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged 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.8-1_armhf.deb'. dpkg-deb: building package 'python3-pyreadstat' in '../python3-pyreadstat_1.2.8-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../pyreadstat_1.2.8-1_armhf.buildinfo dpkg-genchanges --build=binary -O../pyreadstat_1.2.8-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.8/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/10958 and its subdirectories I: Current time: Mon Nov 25 10:22:06 -12 2024 I: pbuilder-time-stamp: 1732573326 Mon Nov 25 22:22:06 UTC 2024 I: Signing ./b1/pyreadstat_1.2.8-1_armhf.buildinfo as pyreadstat_1.2.8-1_armhf.buildinfo.asc Mon Nov 25 22:22:06 UTC 2024 I: Signed ./b1/pyreadstat_1.2.8-1_armhf.buildinfo as ./b1/pyreadstat_1.2.8-1_armhf.buildinfo.asc Mon Nov 25 22:22:06 UTC 2024 - build #1 for pyreadstat/unstable/armhf on virt64c done. Starting cleanup. All cleanup done. Mon Nov 25 22:22:06 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-QFXsZK1U, removing. /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6: total 16 drwxr-xr-x 2 jenkins jenkins 4096 Nov 25 22:22 b1 drwxr-xr-x 2 jenkins jenkins 4096 Nov 25 22:04 b2 -rw-r--r-- 1 jenkins jenkins 2080 Nov 16 20:14 pyreadstat_1.2.8-1.dsc -rw------- 1 jenkins jenkins 3209 Nov 25 22:04 rbuildlog.BrCTsDv /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b1: total 5260 -rw-r--r-- 1 jenkins jenkins 630052 Nov 25 22:22 build.log -rw-r--r-- 1 jenkins jenkins 3108 Nov 25 22:22 pyreadstat_1.2.8-1.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2080 Nov 25 22:22 pyreadstat_1.2.8-1.dsc -rw-r--r-- 1 jenkins jenkins 6940 Nov 25 22:22 pyreadstat_1.2.8-1_armhf.buildinfo -rw-r--r-- 1 jenkins jenkins 7822 Nov 25 22:22 pyreadstat_1.2.8-1_armhf.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1471 Nov 25 22:22 pyreadstat_1.2.8-1_armhf.changes -rw-r--r-- 1 jenkins jenkins 1495 Nov 25 22:22 pyreadstat_1.2.8-1_source.changes -rw-r--r-- 1 jenkins jenkins 560144 Nov 25 22:22 pyreadstat_1.2.8.orig.tar.gz -rw-r--r-- 1 jenkins jenkins 3741108 Nov 25 22:22 python3-pyreadstat-dbgsym_1.2.8-1_armhf.deb -rw-r--r-- 1 jenkins jenkins 401276 Nov 25 22:22 python3-pyreadstat_1.2.8-1_armhf.deb /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b2: total 0 Mon Nov 25 22:22:47 UTC 2024 I: Deleting $TMPDIR on virt64c-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Mon Nov 25 10:04:30 -12 2024 I: pbuilder-time-stamp: 1732572270 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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.8-1.dsc] I: copying [./pyreadstat_1.2.8.orig.tar.gz] I: copying [./pyreadstat_1.2.8-1.debian.tar.xz] I: Extracting source gpgv: Signature made Sat Nov 16 19:55:33 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.8-1.dsc: no acceptable signature found dpkg-source: info: extracting pyreadstat in pyreadstat-1.2.8 dpkg-source: info: unpacking pyreadstat_1.2.8.orig.tar.gz dpkg-source: info: unpacking pyreadstat_1.2.8-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/10958/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='unstable' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='edf7654aadab492e9eeaec19c4087d64' 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='10958' 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.PUMFKWq6/pbuilderrc_aNEk --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b1 --logfile b1/build.log pyreadstat_1.2.8-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 virt64c 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin I: user script /srv/workspace/pbuilder/10958/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 ... 19685 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} libcom-err2{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libexpat1-dev{a} libfile-stripnondeterminism-perl{a} libgfortran5{a} libgssapi-krb5-2{a} libicu72{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} liblapack3{a} libmagic-mgc{a} libmagic1t64{a} libnsl2{a} libpipeline1{a} libpython3-all-dev{a} libpython3-dev{a} libpython3-stdlib{a} libpython3.12-dev{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libpython3.12t64{a} libpython3.13{a} libpython3.13-dev{a} libpython3.13-minimal{a} libpython3.13-stdlib{a} libreadline8t64{a} libtirpc-common{a} libtirpc3t64{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-autocommand{a} python3-dateutil{a} python3-dev{a} python3-inflect{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-jaraco.text{a} python3-minimal{a} python3-more-itertools{a} python3-numpy{a} python3-pandas{a} python3-pandas-lib{a} python3-pkg-resources{a} python3-setuptools{a} python3-typeguard{a} python3-typing-extensions{a} python3-tz{a} python3-zipp{a} python3.12{a} python3.12-dev{a} python3.12-minimal{a} python3.13{a} python3.13-dev{a} python3.13-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 krb5-locales 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, 92 newly installed, 0 to remove and 0 not upgraded. Need to get 64.2 MB of archives. After unpacking 262 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libpython3.12-minimal armhf 3.12.7-3 [800 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.4-1 [83.5 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf python3.12-minimal armhf 3.12.7-3 [1808 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.12.7-1 [26.8 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf tzdata all 2024b-3 [255 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf libkrb5support0 armhf 1.21.3-3 [30.0 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf libcom-err2 armhf 1.47.1-1+b1 [22.3 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf libk5crypto3 armhf 1.21.3-3 [75.8 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf libkeyutils1 armhf 1.6.3-4 [8096 B] Get: 12 http://deb.debian.org/debian unstable/main armhf libkrb5-3 armhf 1.21.3-3 [283 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf libgssapi-krb5-2 armhf 1.21.3-3 [114 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf libtirpc3t64 armhf 1.3.4+ds-1.3+b1 [71.3 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf libnsl2 armhf 1.3.0-3+b3 [35.0 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-5 [69.3 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-5 [146 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf libpython3.12-stdlib armhf 3.12.7-3 [1819 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf python3.12 armhf 3.12.7-3 [671 kB] Get: 21 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.12.7-1 [9712 B] Get: 22 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.12.7-1 [27.8 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf libpython3.13-minimal armhf 3.13.0-2 [843 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf python3.13-minimal armhf 3.13.0-2 [1691 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.24 [24.8 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3+b1 [314 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3+b1 [98.5 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3+b1 [42.3 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.22.5-2 [195 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b2 [65.6 kB] Get: 31 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-5 [1091 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40.2-11 [83.6 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.8-1 [35.0 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.13.0-1 [1382 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf autoconf all 2.72-3 [493 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf autopoint all 0.22.5-2 [723 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf cython3 armhf 3.0.11+dfsg-1+b1 [2812 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.20 [89.7 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-8 [517 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 47 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.192-4 [184 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-5+b1 [9088 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2+b1 [605 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.22.5-2 [1485 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf debhelper all 13.20 [915 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf python3-autocommand all 2.2.2-3 [13.6 kB] Get: 56 http://deb.debian.org/debian unstable/main armhf python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf python3-typeguard all 4.4.1-1 [37.0 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf python3-inflect all 7.3.1-2 [32.4 kB] Get: 60 http://deb.debian.org/debian unstable/main armhf python3-jaraco.context all 6.0.0-1 [7984 B] Get: 61 http://deb.debian.org/debian unstable/main armhf python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 75.2.0-1 [213 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf python3-zipp all 3.21.0-1 [10.6 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 75.2.0-1 [731 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20241024 [109 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf libblas3 armhf 3.12.0-4 [111 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf libexpat1-dev armhf 2.6.4-1 [140 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf libgfortran5 armhf 14.2.0-8 [263 kB] Get: 70 http://deb.debian.org/debian unstable/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf liblapack3 armhf 3.12.0-4 [1828 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf libpython3.12t64 armhf 3.12.7-3 [1848 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1+b1 [905 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf libpython3.12-dev armhf 3.12.7-3 [3808 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf libpython3-dev armhf 3.12.7-1 [9976 B] Get: 78 http://deb.debian.org/debian unstable/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1850 kB] Get: 79 http://deb.debian.org/debian unstable/main armhf libpython3.13 armhf 3.13.0-2 [1843 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf libpython3.13-dev armhf 3.13.0-2 [3781 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf libpython3-all-dev armhf 3.12.7-1 [1072 B] Get: 82 http://deb.debian.org/debian unstable/main armhf python3.13 armhf 3.13.0-2 [730 kB] Get: 83 http://deb.debian.org/debian unstable/main armhf python3-all armhf 3.12.7-1 [1052 B] Get: 84 http://deb.debian.org/debian unstable/main armhf python3.12-dev armhf 3.12.7-3 [505 kB] Get: 85 http://deb.debian.org/debian unstable/main armhf python3-dev armhf 3.12.7-1 [26.1 kB] Get: 86 http://deb.debian.org/debian unstable/main armhf python3.13-dev armhf 3.13.0-2 [504 kB] Get: 87 http://deb.debian.org/debian unstable/main armhf python3-all-dev armhf 3.12.7-1 [1076 B] Get: 88 http://deb.debian.org/debian unstable/main armhf python3-dateutil all 2.9.0-3 [79.3 kB] Get: 89 http://deb.debian.org/debian unstable/main armhf python3-numpy armhf 1:1.26.4+ds-12 [3676 kB] Get: 90 http://deb.debian.org/debian unstable/main armhf python3-tz all 2024.1-2 [30.9 kB] Get: 91 http://deb.debian.org/debian unstable/main armhf python3-pandas-lib armhf 2.2.3+dfsg-5+b1 [6440 kB] Get: 92 http://deb.debian.org/debian unstable/main armhf python3-pandas all 2.2.3+dfsg-5 [3096 kB] Fetched 64.2 MB in 2s (32.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-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 ... 19685 files and directories currently installed.) Preparing to unpack .../libpython3.12-minimal_3.12.7-3_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.7-3) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../libexpat1_2.6.4-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.4-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../python3.12-minimal_3.12.7-3_armhf.deb ... Unpacking python3.12-minimal (3.12.7-3) ... Setting up libpython3.12-minimal:armhf (3.12.7-3) ... Setting up libexpat1:armhf (2.6.4-1) ... Setting up python3.12-minimal (3.12.7-3) ... 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 ... 20005 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_armhf.deb ... Unpacking python3-minimal (3.12.7-1) ... Selecting previously unselected package media-types. Preparing to unpack .../01-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../02-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../03-tzdata_2024b-3_all.deb ... Unpacking tzdata (2024b-3) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../04-libkrb5support0_1.21.3-3_armhf.deb ... Unpacking libkrb5support0:armhf (1.21.3-3) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../05-libcom-err2_1.47.1-1+b1_armhf.deb ... Unpacking libcom-err2:armhf (1.47.1-1+b1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../06-libk5crypto3_1.21.3-3_armhf.deb ... Unpacking libk5crypto3:armhf (1.21.3-3) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../07-libkeyutils1_1.6.3-4_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-4) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../08-libkrb5-3_1.21.3-3_armhf.deb ... Unpacking libkrb5-3:armhf (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../09-libgssapi-krb5-2_1.21.3-3_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.21.3-3) ... Selecting previously unselected package libtirpc-common. Preparing to unpack .../10-libtirpc-common_1.3.4+ds-1.3_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.3) ... Selecting previously unselected package libtirpc3t64:armhf. Preparing to unpack .../11-libtirpc3t64_1.3.4+ds-1.3+b1_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:armhf (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:armhf. Preparing to unpack .../12-libnsl2_1.3.0-3+b3_armhf.deb ... Unpacking libnsl2:armhf (1.3.0-3+b3) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_8.2-5_all.deb ... Unpacking readline-common (8.2-5) ... Selecting previously unselected package libreadline8t64:armhf. Preparing to unpack .../14-libreadline8t64_8.2-5_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:armhf (8.2-5) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../15-libpython3.12-stdlib_3.12.7-3_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.7-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../16-python3.12_3.12.7-3_armhf.deb ... Unpacking python3.12 (3.12.7-3) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../17-libpython3-stdlib_3.12.7-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.12.7-1) ... Setting up python3-minimal (3.12.7-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 ... 21067 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.7-1_armhf.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package libpython3.13-minimal:armhf. Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_armhf.deb ... Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../02-python3.13-minimal_3.13.0-2_armhf.deb ... Unpacking python3.13-minimal (3.13.0-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../03-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.45-3+b1_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../05-libmagic1t64_1%3a5.45-3+b1_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.45-3+b1_armhf.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.22.5-2_armhf.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../08-libuchardet0_0.0.8-1+b2_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.23.0-5_armhf.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../10-bsdextrautils_2.40.2-11_armhf.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../11-libpipeline1_1.5.8-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.13.0-1_armhf.deb ... Unpacking man-db (2.13.0-1) ... 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.72-3_all.deb ... Unpacking autoconf (2.72-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.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package cython3. Preparing to unpack .../18-cython3_3.0.11+dfsg-1+b1_armhf.deb ... Unpacking cython3 (3.0.11+dfsg-1+b1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../19-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../20-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:armhf. Preparing to unpack .../25-libelf1t64_0.192-4_armhf.deb ... Unpacking libelf1t64:armhf (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../27-libicu72_72.1-5+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-5+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../28-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_armhf.deb ... Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.22.5-2_armhf.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-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 .../31-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../33-python3-autocommand_2.2.2-3_all.deb ... Unpacking python3-autocommand (2.2.2-3) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../34-python3-more-itertools_10.5.0-1_all.deb ... Unpacking python3-more-itertools (10.5.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../35-python3-typing-extensions_4.12.2-2_all.deb ... Unpacking python3-typing-extensions (4.12.2-2) ... Selecting previously unselected package python3-typeguard. Preparing to unpack .../36-python3-typeguard_4.4.1-1_all.deb ... Unpacking python3-typeguard (4.4.1-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../37-python3-inflect_7.3.1-2_all.deb ... Unpacking python3-inflect (7.3.1-2) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../38-python3-jaraco.context_6.0.0-1_all.deb ... Unpacking python3-jaraco.context (6.0.0-1) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../39-python3-jaraco.functools_4.1.0-1_all.deb ... Unpacking python3-jaraco.functools (4.1.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../40-python3-pkg-resources_75.2.0-1_all.deb ... Unpacking python3-pkg-resources (75.2.0-1) ... Selecting previously unselected package python3-jaraco.text. Preparing to unpack .../41-python3-jaraco.text_4.0.0-1_all.deb ... Unpacking python3-jaraco.text (4.0.0-1) ... Selecting previously unselected package python3-zipp. Preparing to unpack .../42-python3-zipp_3.21.0-1_all.deb ... Unpacking python3-zipp (3.21.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../43-python3-setuptools_75.2.0-1_all.deb ... Unpacking python3-setuptools (75.2.0-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../44-dh-python_6.20241024_all.deb ... Unpacking dh-python (6.20241024) ... Selecting previously unselected package libblas3:armhf. Preparing to unpack .../45-libblas3_3.12.0-4_armhf.deb ... Unpacking libblas3:armhf (3.12.0-4) ... Selecting previously unselected package libexpat1-dev:armhf. Preparing to unpack .../46-libexpat1-dev_2.6.4-1_armhf.deb ... Unpacking libexpat1-dev:armhf (2.6.4-1) ... Selecting previously unselected package libgfortran5:armhf. Preparing to unpack .../47-libgfortran5_14.2.0-8_armhf.deb ... Unpacking libgfortran5:armhf (14.2.0-8) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../48-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 .../49-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 .../50-libjs-sphinxdoc_7.4.7-4_all.deb ... Unpacking libjs-sphinxdoc (7.4.7-4) ... Selecting previously unselected package liblapack3:armhf. Preparing to unpack .../51-liblapack3_3.12.0-4_armhf.deb ... Unpacking liblapack3:armhf (3.12.0-4) ... Selecting previously unselected package libpython3.12t64:armhf. Preparing to unpack .../52-libpython3.12t64_3.12.7-3_armhf.deb ... Unpacking libpython3.12t64:armhf (3.12.7-3) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../53-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1+b1) ... Selecting previously unselected package libpython3.12-dev:armhf. Preparing to unpack .../54-libpython3.12-dev_3.12.7-3_armhf.deb ... Unpacking libpython3.12-dev:armhf (3.12.7-3) ... Selecting previously unselected package libpython3-dev:armhf. Preparing to unpack .../55-libpython3-dev_3.12.7-1_armhf.deb ... Unpacking libpython3-dev:armhf (3.12.7-1) ... Selecting previously unselected package libpython3.13-stdlib:armhf. Preparing to unpack .../56-libpython3.13-stdlib_3.13.0-2_armhf.deb ... Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... Selecting previously unselected package libpython3.13:armhf. Preparing to unpack .../57-libpython3.13_3.13.0-2_armhf.deb ... Unpacking libpython3.13:armhf (3.13.0-2) ... Selecting previously unselected package libpython3.13-dev:armhf. Preparing to unpack .../58-libpython3.13-dev_3.13.0-2_armhf.deb ... Unpacking libpython3.13-dev:armhf (3.13.0-2) ... Selecting previously unselected package libpython3-all-dev:armhf. Preparing to unpack .../59-libpython3-all-dev_3.12.7-1_armhf.deb ... Unpacking libpython3-all-dev:armhf (3.12.7-1) ... Selecting previously unselected package python3.13. Preparing to unpack .../60-python3.13_3.13.0-2_armhf.deb ... Unpacking python3.13 (3.13.0-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../61-python3-all_3.12.7-1_armhf.deb ... Unpacking python3-all (3.12.7-1) ... Selecting previously unselected package python3.12-dev. Preparing to unpack .../62-python3.12-dev_3.12.7-3_armhf.deb ... Unpacking python3.12-dev (3.12.7-3) ... Selecting previously unselected package python3-dev. Preparing to unpack .../63-python3-dev_3.12.7-1_armhf.deb ... Unpacking python3-dev (3.12.7-1) ... Selecting previously unselected package python3.13-dev. Preparing to unpack .../64-python3.13-dev_3.13.0-2_armhf.deb ... Unpacking python3.13-dev (3.13.0-2) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../65-python3-all-dev_3.12.7-1_armhf.deb ... Unpacking python3-all-dev (3.12.7-1) ... Selecting previously unselected package python3-dateutil. Preparing to unpack .../66-python3-dateutil_2.9.0-3_all.deb ... Unpacking python3-dateutil (2.9.0-3) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../67-python3-numpy_1%3a1.26.4+ds-12_armhf.deb ... Unpacking python3-numpy (1:1.26.4+ds-12) ... Selecting previously unselected package python3-tz. Preparing to unpack .../68-python3-tz_2024.1-2_all.deb ... Unpacking python3-tz (2024.1-2) ... Selecting previously unselected package python3-pandas-lib:armhf. Preparing to unpack .../69-python3-pandas-lib_2.2.3+dfsg-5+b1_armhf.deb ... Unpacking python3-pandas-lib:armhf (2.2.3+dfsg-5+b1) ... Selecting previously unselected package python3-pandas. Preparing to unpack .../70-python3-pandas_2.2.3+dfsg-5_all.deb ... Unpacking python3-pandas (2.2.3+dfsg-5) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:armhf (1.5.8-1) ... Setting up libkeyutils1:armhf (1.6.3-4) ... Setting up libicu72:armhf (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libtirpc-common (1.3.4+ds-1.3) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:armhf (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:armhf (1.47.1-1+b1) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:armhf (0.192-4) ... Setting up libkrb5support0:armhf (1.21.3-3) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Mon Nov 25 22:05:22 UTC 2024. Universal Time is now: Mon Nov 25 22:05:22 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:armhf (3.13.0-2) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:armhf (3.12.0-4) ... 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.4-1) ... Setting up autopoint (0.22.5-2) ... Setting up libk5crypto3:armhf (1.21.3-3) ... Setting up libgfortran5:armhf (14.2.0-8) ... Setting up autoconf (2.72-3) ... Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1+b1) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:armhf (0.0.8-1+b2) ... Setting up python3.13-minimal (3.13.0-2) ... Setting up netbase (6.4) ... Setting up libkrb5-3:armhf (1.21.3-3) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up readline-common (8.2-5) ... Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ... 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.14.0-1) ... Setting up liblapack3:armhf (3.12.0-4) ... 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.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libgssapi-krb5-2:armhf (1.21.3-3) ... Setting up libjs-sphinxdoc (7.4.7-4) ... Setting up libreadline8t64:armhf (8.2-5) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... Setting up libpython3.13:armhf (3.13.0-2) ... Setting up libtirpc3t64:armhf (1.3.4+ds-1.3+b1) ... Setting up python3.13 (3.13.0-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3.13-dev:armhf (3.13.0-2) ... Setting up libnsl2:armhf (1.3.0-3+b3) ... Setting up libpython3.12-stdlib:armhf (3.12.7-3) ... Setting up python3.13-dev (3.13.0-2) ... Setting up python3.12 (3.12.7-3) ... Setting up debhelper (13.20) ... Setting up libpython3.12t64:armhf (3.12.7-3) ... Setting up libpython3-stdlib:armhf (3.12.7-1) ... Setting up python3 (3.12.7-1) ... Setting up libpython3.12-dev:armhf (3.12.7-3) ... Setting up python3-zipp (3.21.0-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up python3-tz (2024.1-2) ... Setting up python3.12-dev (3.12.7-3) ... Setting up cython3 (3.0.11+dfsg-1+b1) ... Setting up python3-typing-extensions (4.12.2-2) ... Setting up python3-dateutil (2.9.0-3) ... Setting up python3-more-itertools (10.5.0-1) ... Setting up libpython3-dev:armhf (3.12.7-1) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up python3-jaraco.context (6.0.0-1) ... Setting up python3-typeguard (4.4.1-1) ... Setting up python3-all (3.12.7-1) ... Setting up python3-inflect (7.3.1-2) ... Setting up libpython3-all-dev:armhf (3.12.7-1) ... Setting up python3-jaraco.text (4.0.0-1) ... Setting up python3-dev (3.12.7-1) ... Setting up python3-pkg-resources (75.2.0-1) ... Setting up python3-all-dev (3.12.7-1) ... Setting up python3-setuptools (75.2.0-1) ... Setting up python3-numpy (1:1.26.4+ds-12) ... Setting up dh-python (6.20241024) ... Setting up python3-pandas-lib:armhf (2.2.3+dfsg-5+b1) ... Setting up python3-pandas (2.2.3+dfsg-5) ... Processing triggers for libc-bin (2.40-4) ... 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.36-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.8/ && 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.8-1_source.changes dpkg-buildpackage: info: source package pyreadstat dpkg-buildpackage: info: source version 1.2.8-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.8/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.8' # pass make[1]: Leaving directory '/build/reproducible-path/pyreadstat-1.2.8' 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.13 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.12 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.13 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | double __pyx_v_tstamp; | ^~~~~~~~~~~~~~ dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /build/reproducible-path/pyreadstat-1.2.8/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN I: pybuild base:311: cd /build/reproducible-path/pyreadstat-1.2.8/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN 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.13 setup.py install --root /build/reproducible-path/pyreadstat-1.2.8/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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | 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.8/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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | 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 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged 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.8-1_armhf.deb'. dpkg-deb: building package 'python3-pyreadstat' in '../python3-pyreadstat_1.2.8-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../pyreadstat_1.2.8-1_armhf.buildinfo dpkg-genchanges --build=binary -O../pyreadstat_1.2.8-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.8/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/10958 and its subdirectories I: Current time: Mon Nov 25 10:22:06 -12 2024 I: pbuilder-time-stamp: 1732573326 Mon Nov 25 22:22:51 UTC 2024 I: 1st build successful. Starting 2nd build on remote node virt32c-armhf-rb.debian.net. Mon Nov 25 22:22:51 UTC 2024 I: Preparing to do remote build '2' on virt32c-armhf-rb.debian.net. Mon Nov 25 22:22:51 UTC 2024 - checking /var/lib/jenkins/offline_nodes if virt32c-armhf-rb.debian.net is marked as down. Mon Nov 25 22:22:51 UTC 2024 - checking via ssh if virt32c-armhf-rb.debian.net is up. removed '/tmp/read-only-fs-test-w4bt5p' ==================================================================================== Mon Nov 25 22:23:00 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on virt32c, called using "2 pyreadstat unstable /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6 1.2.8-1" as arguments. Mon Nov 25 22:23:00 UTC 2024 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-RmQyT0Xz" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Mon Nov 25 22:23:00 UTC 2024 I: Downloading source for unstable/pyreadstat=1.2.8-1 Reading package lists... NOTICE: 'pyreadstat' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/python-team/packages/pyreadstat.git Please use: git clone https://salsa.debian.org/python-team/packages/pyreadstat.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 565 kB of source archives. Get:1 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (dsc) [2080 B] Get:2 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (tar) [560 kB] Get:3 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (diff) [3108 B] Fetched 565 kB in 0s (18.3 MB/s) Download complete and in download only mode Reading package lists... NOTICE: 'pyreadstat' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/python-team/packages/pyreadstat.git Please use: git clone https://salsa.debian.org/python-team/packages/pyreadstat.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 565 kB of source archives. Get:1 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (dsc) [2080 B] Get:2 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (tar) [560 kB] Get:3 http://cdn-fastly.deb.debian.org/debian unstable/main pyreadstat 1.2.8-1 (diff) [3108 B] Fetched 565 kB in 0s (18.3 MB/s) Download complete and in download only mode ============================================================================= Re-Building pyreadstat in unstable on armhf on virt32c now. Date: Mon Nov 25 14:23:01 PST 2024 Date UTC: Mon Nov 25 22:23:01 UTC 2024 ============================================================================= ++ mktemp -t pbuilderrc_XXXX --tmpdir=/srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6 + local TMPCFG=/srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/pbuilderrc_WWbd + case ${ARCH} in + case $NUM_CPU in + case $ARCH in + locale=it_CH + language=it + case "${SUITE}" in + reproducible_buildflags=+all + extra_deb_build_options= + case "${SRCPACKAGE}" in + cat + echo BUILDDIR=/build/reproducible-path + '[' pyreadstat = debian-installer -o pyreadstat = debian-installer-netboot-images ']' + pbuilder_options=() + local pbuilder_options + DEBBUILDOPTS=-b + BINARYTARGET= + '[' pyreadstat = u-boot ']' + case "${SRCPACKAGE}" in + PBUILDERTIMEOUT=24 + local PRESULT=0 + sudo timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/pbuilderrc_WWbd --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b2 --logfile b2/build.log pyreadstat_1.2.8-1.dsc W: /root/.pbuilderrc does not exist I: Logging to b2/build.log I: pbuilder: network access will be disabled during build I: Current time: Tue Nov 26 12:23:01 +14 2024 I: pbuilder-time-stamp: 1732573381 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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.8-1.dsc] I: copying [./pyreadstat_1.2.8.orig.tar.gz] I: copying [./pyreadstat_1.2.8-1.debian.tar.xz] I: Extracting source gpgv: Signature made Sat Nov 16 19:55:33 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.8-1.dsc: no acceptable signature found dpkg-source: info: extracting pyreadstat in pyreadstat-1.2.8 dpkg-source: info: unpacking pyreadstat_1.2.8.orig.tar.gz dpkg-source: info: unpacking pyreadstat_1.2.8-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/5873/tmp/hooks/D01_modify_environment starting debug: Running on virt32c. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Nov 25 22:23 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/5873/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/5873/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.2.32(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' DIRSTACK=() DISTRIBUTION=unstable EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=257c6d27381e4e0eab89186e20792648 LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=5873 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/pbuilderrc_WWbd --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b2 --logfile b2/build.log pyreadstat_1.2.8-1.dsc' SUDO_GID=113 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:3142/ I: uname -a Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin I: user script /srv/workspace/pbuilder/5873/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 ... 19685 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} libcom-err2{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libexpat1-dev{a} libfile-stripnondeterminism-perl{a} libgfortran5{a} libgssapi-krb5-2{a} libicu72{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} liblapack3{a} libmagic-mgc{a} libmagic1t64{a} libnsl2{a} libpipeline1{a} libpython3-all-dev{a} libpython3-dev{a} libpython3-stdlib{a} libpython3.12-dev{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libpython3.12t64{a} libpython3.13{a} libpython3.13-dev{a} libpython3.13-minimal{a} libpython3.13-stdlib{a} libreadline8t64{a} libtirpc-common{a} libtirpc3t64{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-autocommand{a} python3-dateutil{a} python3-dev{a} python3-inflect{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-jaraco.text{a} python3-minimal{a} python3-more-itertools{a} python3-numpy{a} python3-pandas{a} python3-pandas-lib{a} python3-pkg-resources{a} python3-setuptools{a} python3-typeguard{a} python3-typing-extensions{a} python3-tz{a} python3-zipp{a} python3.12{a} python3.12-dev{a} python3.12-minimal{a} python3.13{a} python3.13-dev{a} python3.13-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 krb5-locales 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, 92 newly installed, 0 to remove and 0 not upgraded. Need to get 64.2 MB of archives. After unpacking 262 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libpython3.12-minimal armhf 3.12.7-3 [800 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.4-1 [83.5 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf python3.12-minimal armhf 3.12.7-3 [1808 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.12.7-1 [26.8 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf tzdata all 2024b-3 [255 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf libkrb5support0 armhf 1.21.3-3 [30.0 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf libcom-err2 armhf 1.47.1-1+b1 [22.3 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf libk5crypto3 armhf 1.21.3-3 [75.8 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf libkeyutils1 armhf 1.6.3-4 [8096 B] Get: 12 http://deb.debian.org/debian unstable/main armhf libkrb5-3 armhf 1.21.3-3 [283 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf libgssapi-krb5-2 armhf 1.21.3-3 [114 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf libtirpc3t64 armhf 1.3.4+ds-1.3+b1 [71.3 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf libnsl2 armhf 1.3.0-3+b3 [35.0 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-5 [69.3 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-5 [146 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf libpython3.12-stdlib armhf 3.12.7-3 [1819 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf python3.12 armhf 3.12.7-3 [671 kB] Get: 21 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.12.7-1 [9712 B] Get: 22 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.12.7-1 [27.8 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf libpython3.13-minimal armhf 3.13.0-2 [843 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf python3.13-minimal armhf 3.13.0-2 [1691 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.24 [24.8 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3+b1 [314 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3+b1 [98.5 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3+b1 [42.3 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.22.5-2 [195 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b2 [65.6 kB] Get: 31 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-5 [1091 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40.2-11 [83.6 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.8-1 [35.0 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.13.0-1 [1382 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf autoconf all 2.72-3 [493 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf autopoint all 0.22.5-2 [723 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf cython3 armhf 3.0.11+dfsg-1+b1 [2812 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.20 [89.7 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-8 [517 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 47 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.192-4 [184 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-5+b1 [9088 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2+b1 [605 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.22.5-2 [1485 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf debhelper all 13.20 [915 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf python3-autocommand all 2.2.2-3 [13.6 kB] Get: 56 http://deb.debian.org/debian unstable/main armhf python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf python3-typeguard all 4.4.1-1 [37.0 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf python3-inflect all 7.3.1-2 [32.4 kB] Get: 60 http://deb.debian.org/debian unstable/main armhf python3-jaraco.context all 6.0.0-1 [7984 B] Get: 61 http://deb.debian.org/debian unstable/main armhf python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 75.2.0-1 [213 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf python3-zipp all 3.21.0-1 [10.6 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 75.2.0-1 [731 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20241024 [109 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf libblas3 armhf 3.12.0-4 [111 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf libexpat1-dev armhf 2.6.4-1 [140 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf libgfortran5 armhf 14.2.0-8 [263 kB] Get: 70 http://deb.debian.org/debian unstable/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf liblapack3 armhf 3.12.0-4 [1828 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf libpython3.12t64 armhf 3.12.7-3 [1848 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1+b1 [905 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf libpython3.12-dev armhf 3.12.7-3 [3808 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf libpython3-dev armhf 3.12.7-1 [9976 B] Get: 78 http://deb.debian.org/debian unstable/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1850 kB] Get: 79 http://deb.debian.org/debian unstable/main armhf libpython3.13 armhf 3.13.0-2 [1843 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf libpython3.13-dev armhf 3.13.0-2 [3781 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf libpython3-all-dev armhf 3.12.7-1 [1072 B] Get: 82 http://deb.debian.org/debian unstable/main armhf python3.13 armhf 3.13.0-2 [730 kB] Get: 83 http://deb.debian.org/debian unstable/main armhf python3-all armhf 3.12.7-1 [1052 B] Get: 84 http://deb.debian.org/debian unstable/main armhf python3.12-dev armhf 3.12.7-3 [505 kB] Get: 85 http://deb.debian.org/debian unstable/main armhf python3-dev armhf 3.12.7-1 [26.1 kB] Get: 86 http://deb.debian.org/debian unstable/main armhf python3.13-dev armhf 3.13.0-2 [504 kB] Get: 87 http://deb.debian.org/debian unstable/main armhf python3-all-dev armhf 3.12.7-1 [1076 B] Get: 88 http://deb.debian.org/debian unstable/main armhf python3-dateutil all 2.9.0-3 [79.3 kB] Get: 89 http://deb.debian.org/debian unstable/main armhf python3-numpy armhf 1:1.26.4+ds-12 [3676 kB] Get: 90 http://deb.debian.org/debian unstable/main armhf python3-tz all 2024.1-2 [30.9 kB] Get: 91 http://deb.debian.org/debian unstable/main armhf python3-pandas-lib armhf 2.2.3+dfsg-5+b1 [6440 kB] Get: 92 http://deb.debian.org/debian unstable/main armhf python3-pandas all 2.2.3+dfsg-5 [3096 kB] Fetched 64.2 MB in 1s (51.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-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 ... 19685 files and directories currently installed.) Preparing to unpack .../libpython3.12-minimal_3.12.7-3_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.7-3) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../libexpat1_2.6.4-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.4-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../python3.12-minimal_3.12.7-3_armhf.deb ... Unpacking python3.12-minimal (3.12.7-3) ... Setting up libpython3.12-minimal:armhf (3.12.7-3) ... Setting up libexpat1:armhf (2.6.4-1) ... Setting up python3.12-minimal (3.12.7-3) ... 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 ... 20005 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_armhf.deb ... Unpacking python3-minimal (3.12.7-1) ... Selecting previously unselected package media-types. Preparing to unpack .../01-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../02-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../03-tzdata_2024b-3_all.deb ... Unpacking tzdata (2024b-3) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../04-libkrb5support0_1.21.3-3_armhf.deb ... Unpacking libkrb5support0:armhf (1.21.3-3) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../05-libcom-err2_1.47.1-1+b1_armhf.deb ... Unpacking libcom-err2:armhf (1.47.1-1+b1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../06-libk5crypto3_1.21.3-3_armhf.deb ... Unpacking libk5crypto3:armhf (1.21.3-3) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../07-libkeyutils1_1.6.3-4_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-4) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../08-libkrb5-3_1.21.3-3_armhf.deb ... Unpacking libkrb5-3:armhf (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../09-libgssapi-krb5-2_1.21.3-3_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.21.3-3) ... Selecting previously unselected package libtirpc-common. Preparing to unpack .../10-libtirpc-common_1.3.4+ds-1.3_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.3) ... Selecting previously unselected package libtirpc3t64:armhf. Preparing to unpack .../11-libtirpc3t64_1.3.4+ds-1.3+b1_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:armhf (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:armhf. Preparing to unpack .../12-libnsl2_1.3.0-3+b3_armhf.deb ... Unpacking libnsl2:armhf (1.3.0-3+b3) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_8.2-5_all.deb ... Unpacking readline-common (8.2-5) ... Selecting previously unselected package libreadline8t64:armhf. Preparing to unpack .../14-libreadline8t64_8.2-5_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:armhf (8.2-5) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../15-libpython3.12-stdlib_3.12.7-3_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.7-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../16-python3.12_3.12.7-3_armhf.deb ... Unpacking python3.12 (3.12.7-3) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../17-libpython3-stdlib_3.12.7-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.12.7-1) ... Setting up python3-minimal (3.12.7-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 ... 21067 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.7-1_armhf.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package libpython3.13-minimal:armhf. Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_armhf.deb ... Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../02-python3.13-minimal_3.13.0-2_armhf.deb ... Unpacking python3.13-minimal (3.13.0-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../03-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.45-3+b1_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../05-libmagic1t64_1%3a5.45-3+b1_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.45-3+b1_armhf.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.22.5-2_armhf.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../08-libuchardet0_0.0.8-1+b2_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.23.0-5_armhf.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../10-bsdextrautils_2.40.2-11_armhf.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../11-libpipeline1_1.5.8-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.13.0-1_armhf.deb ... Unpacking man-db (2.13.0-1) ... 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.72-3_all.deb ... Unpacking autoconf (2.72-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.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package cython3. Preparing to unpack .../18-cython3_3.0.11+dfsg-1+b1_armhf.deb ... Unpacking cython3 (3.0.11+dfsg-1+b1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../19-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../20-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:armhf. Preparing to unpack .../25-libelf1t64_0.192-4_armhf.deb ... Unpacking libelf1t64:armhf (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../27-libicu72_72.1-5+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-5+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../28-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_armhf.deb ... Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.22.5-2_armhf.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-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 .../31-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../33-python3-autocommand_2.2.2-3_all.deb ... Unpacking python3-autocommand (2.2.2-3) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../34-python3-more-itertools_10.5.0-1_all.deb ... Unpacking python3-more-itertools (10.5.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../35-python3-typing-extensions_4.12.2-2_all.deb ... Unpacking python3-typing-extensions (4.12.2-2) ... Selecting previously unselected package python3-typeguard. Preparing to unpack .../36-python3-typeguard_4.4.1-1_all.deb ... Unpacking python3-typeguard (4.4.1-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../37-python3-inflect_7.3.1-2_all.deb ... Unpacking python3-inflect (7.3.1-2) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../38-python3-jaraco.context_6.0.0-1_all.deb ... Unpacking python3-jaraco.context (6.0.0-1) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../39-python3-jaraco.functools_4.1.0-1_all.deb ... Unpacking python3-jaraco.functools (4.1.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../40-python3-pkg-resources_75.2.0-1_all.deb ... Unpacking python3-pkg-resources (75.2.0-1) ... Selecting previously unselected package python3-jaraco.text. Preparing to unpack .../41-python3-jaraco.text_4.0.0-1_all.deb ... Unpacking python3-jaraco.text (4.0.0-1) ... Selecting previously unselected package python3-zipp. Preparing to unpack .../42-python3-zipp_3.21.0-1_all.deb ... Unpacking python3-zipp (3.21.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../43-python3-setuptools_75.2.0-1_all.deb ... Unpacking python3-setuptools (75.2.0-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../44-dh-python_6.20241024_all.deb ... Unpacking dh-python (6.20241024) ... Selecting previously unselected package libblas3:armhf. Preparing to unpack .../45-libblas3_3.12.0-4_armhf.deb ... Unpacking libblas3:armhf (3.12.0-4) ... Selecting previously unselected package libexpat1-dev:armhf. Preparing to unpack .../46-libexpat1-dev_2.6.4-1_armhf.deb ... Unpacking libexpat1-dev:armhf (2.6.4-1) ... Selecting previously unselected package libgfortran5:armhf. Preparing to unpack .../47-libgfortran5_14.2.0-8_armhf.deb ... Unpacking libgfortran5:armhf (14.2.0-8) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../48-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 .../49-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 .../50-libjs-sphinxdoc_7.4.7-4_all.deb ... Unpacking libjs-sphinxdoc (7.4.7-4) ... Selecting previously unselected package liblapack3:armhf. Preparing to unpack .../51-liblapack3_3.12.0-4_armhf.deb ... Unpacking liblapack3:armhf (3.12.0-4) ... Selecting previously unselected package libpython3.12t64:armhf. Preparing to unpack .../52-libpython3.12t64_3.12.7-3_armhf.deb ... Unpacking libpython3.12t64:armhf (3.12.7-3) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../53-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1+b1) ... Selecting previously unselected package libpython3.12-dev:armhf. Preparing to unpack .../54-libpython3.12-dev_3.12.7-3_armhf.deb ... Unpacking libpython3.12-dev:armhf (3.12.7-3) ... Selecting previously unselected package libpython3-dev:armhf. Preparing to unpack .../55-libpython3-dev_3.12.7-1_armhf.deb ... Unpacking libpython3-dev:armhf (3.12.7-1) ... Selecting previously unselected package libpython3.13-stdlib:armhf. Preparing to unpack .../56-libpython3.13-stdlib_3.13.0-2_armhf.deb ... Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... Selecting previously unselected package libpython3.13:armhf. Preparing to unpack .../57-libpython3.13_3.13.0-2_armhf.deb ... Unpacking libpython3.13:armhf (3.13.0-2) ... Selecting previously unselected package libpython3.13-dev:armhf. Preparing to unpack .../58-libpython3.13-dev_3.13.0-2_armhf.deb ... Unpacking libpython3.13-dev:armhf (3.13.0-2) ... Selecting previously unselected package libpython3-all-dev:armhf. Preparing to unpack .../59-libpython3-all-dev_3.12.7-1_armhf.deb ... Unpacking libpython3-all-dev:armhf (3.12.7-1) ... Selecting previously unselected package python3.13. Preparing to unpack .../60-python3.13_3.13.0-2_armhf.deb ... Unpacking python3.13 (3.13.0-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../61-python3-all_3.12.7-1_armhf.deb ... Unpacking python3-all (3.12.7-1) ... Selecting previously unselected package python3.12-dev. Preparing to unpack .../62-python3.12-dev_3.12.7-3_armhf.deb ... Unpacking python3.12-dev (3.12.7-3) ... Selecting previously unselected package python3-dev. Preparing to unpack .../63-python3-dev_3.12.7-1_armhf.deb ... Unpacking python3-dev (3.12.7-1) ... Selecting previously unselected package python3.13-dev. Preparing to unpack .../64-python3.13-dev_3.13.0-2_armhf.deb ... Unpacking python3.13-dev (3.13.0-2) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../65-python3-all-dev_3.12.7-1_armhf.deb ... Unpacking python3-all-dev (3.12.7-1) ... Selecting previously unselected package python3-dateutil. Preparing to unpack .../66-python3-dateutil_2.9.0-3_all.deb ... Unpacking python3-dateutil (2.9.0-3) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../67-python3-numpy_1%3a1.26.4+ds-12_armhf.deb ... Unpacking python3-numpy (1:1.26.4+ds-12) ... Selecting previously unselected package python3-tz. Preparing to unpack .../68-python3-tz_2024.1-2_all.deb ... Unpacking python3-tz (2024.1-2) ... Selecting previously unselected package python3-pandas-lib:armhf. Preparing to unpack .../69-python3-pandas-lib_2.2.3+dfsg-5+b1_armhf.deb ... Unpacking python3-pandas-lib:armhf (2.2.3+dfsg-5+b1) ... Selecting previously unselected package python3-pandas. Preparing to unpack .../70-python3-pandas_2.2.3+dfsg-5_all.deb ... Unpacking python3-pandas (2.2.3+dfsg-5) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:armhf (1.5.8-1) ... Setting up libkeyutils1:armhf (1.6.3-4) ... Setting up libicu72:armhf (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libtirpc-common (1.3.4+ds-1.3) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:armhf (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:armhf (1.47.1-1+b1) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:armhf (0.192-4) ... Setting up libkrb5support0:armhf (1.21.3-3) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Mon Nov 25 22:23:50 UTC 2024. Universal Time is now: Mon Nov 25 22:23:50 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:armhf (3.13.0-2) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:armhf (3.12.0-4) ... 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.4-1) ... Setting up autopoint (0.22.5-2) ... Setting up libk5crypto3:armhf (1.21.3-3) ... Setting up libgfortran5:armhf (14.2.0-8) ... Setting up autoconf (2.72-3) ... Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1+b1) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:armhf (0.0.8-1+b2) ... Setting up python3.13-minimal (3.13.0-2) ... Setting up netbase (6.4) ... Setting up libkrb5-3:armhf (1.21.3-3) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up readline-common (8.2-5) ... Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ... 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.14.0-1) ... Setting up liblapack3:armhf (3.12.0-4) ... 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.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libgssapi-krb5-2:armhf (1.21.3-3) ... Setting up libjs-sphinxdoc (7.4.7-4) ... Setting up libreadline8t64:armhf (8.2-5) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... Setting up libpython3.13:armhf (3.13.0-2) ... Setting up libtirpc3t64:armhf (1.3.4+ds-1.3+b1) ... Setting up python3.13 (3.13.0-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3.13-dev:armhf (3.13.0-2) ... Setting up libnsl2:armhf (1.3.0-3+b3) ... Setting up libpython3.12-stdlib:armhf (3.12.7-3) ... Setting up python3.13-dev (3.13.0-2) ... Setting up python3.12 (3.12.7-3) ... Setting up debhelper (13.20) ... Setting up libpython3.12t64:armhf (3.12.7-3) ... Setting up libpython3-stdlib:armhf (3.12.7-1) ... Setting up python3 (3.12.7-1) ... Setting up libpython3.12-dev:armhf (3.12.7-3) ... Setting up python3-zipp (3.21.0-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up python3-tz (2024.1-2) ... Setting up python3.12-dev (3.12.7-3) ... Setting up cython3 (3.0.11+dfsg-1+b1) ... Setting up python3-typing-extensions (4.12.2-2) ... Setting up python3-dateutil (2.9.0-3) ... Setting up python3-more-itertools (10.5.0-1) ... Setting up libpython3-dev:armhf (3.12.7-1) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up python3-jaraco.context (6.0.0-1) ... Setting up python3-typeguard (4.4.1-1) ... Setting up python3-all (3.12.7-1) ... Setting up python3-inflect (7.3.1-2) ... Setting up libpython3-all-dev:armhf (3.12.7-1) ... Setting up python3-jaraco.text (4.0.0-1) ... Setting up python3-dev (3.12.7-1) ... Setting up python3-pkg-resources (75.2.0-1) ... Setting up python3-all-dev (3.12.7-1) ... Setting up python3-setuptools (75.2.0-1) ... Setting up python3-numpy (1:1.26.4+ds-12) ... Setting up dh-python (6.20241024) ... Setting up python3-pandas-lib:armhf (2.2.3+dfsg-5+b1) ... Setting up python3-pandas (2.2.3+dfsg-5) ... Processing triggers for libc-bin (2.40-4) ... 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.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/5873/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for unstable I: user script /srv/workspace/pbuilder/5873/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/pyreadstat-1.2.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../pyreadstat_1.2.8-1_source.changes dpkg-buildpackage: info: source package pyreadstat dpkg-buildpackage: info: source version 1.2.8-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.8/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.8' # pass make[1]: Leaving directory '/build/reproducible-path/pyreadstat-1.2.8' 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.13 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.12 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.13 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | double __pyx_v_tstamp; | ^~~~~~~~~~~~~~ dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /build/reproducible-path/pyreadstat-1.2.8/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN I: pybuild base:311: cd /build/reproducible-path/pyreadstat-1.2.8/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN 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.13 setup.py install --root /build/reproducible-path/pyreadstat-1.2.8/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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | 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.8/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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:8814:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8814 | __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:9680:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9680 | __pyx_v_mr_sets_orig = readstat_get_multiple_response_sets(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9978:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9978 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9987:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9987 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:10134:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10134 | __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:10315:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10315 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10691:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10691 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10761:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10761 | __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:12873:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12873 | __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:13613:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13613 | __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:14186:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 14186 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 908, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13704:20: note: '__pyx_v_error' was declared here 13704 | 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:169:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 169 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 196 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:225:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 225 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:232:67: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 232 | if (io->read(&creation_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:239:71: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 239 | if (io->read(&modification_time_diff, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:251:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 251 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:255:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:282:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 282 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:289:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 289 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:308:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 308 | 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[4] - 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: 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.c: In function 'sav_ctx_free': ./src/spss/readstat_sav.c:103:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 103 | for (size_t j = 0; j < ctx->mr_sets[i].num_subvars; j++) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_multiple_response_sets': ./src/spss/readstat_sav_read.c:161:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 161 | if (ctx->io->read(mr_string, data_len, ctx->io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:200:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 200 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:206:64: 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:218: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] 218 | 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:234:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 234 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:255:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 255 | 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:283:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 283 | < 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:313:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 313 | 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:348:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 348 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:354:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 354 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:358: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] 358 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:359: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] 359 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:361: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] 361 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:412: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] 412 | 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:437:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 437 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:444:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 444 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:473:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 473 | 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:519:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 519 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:532:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 532 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:563:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 563 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:574:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 574 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:585:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 585 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:589:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 589 | 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:669:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 669 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 679 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:964:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 964 | 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:1257:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1257 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1293:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1293 | if (i == ctx->var_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1317:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1317 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1346:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1346 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1363:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1363 | 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:1414:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1414 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1442:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1442 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1460:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1460 | 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:1622:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1622 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1632:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1632 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_sav_read.c:1707:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1707 | for (size_t i = 0; i < ctx->var_index; i++) { | ^ ./src/spss/readstat_sav_read.c:1715:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1715 | for (size_t j = 0; j < mr.num_subvars; j++) { | ^ ./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:66:29: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'readstat_off_t' {aka 'long long int'} [-Wsign-compare] 66 | if (zheader.zheader_ofs != io->seek(0, READSTAT_SEEK_CUR, 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:11044:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11044 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:11013:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 11013 | 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:4036:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 4036 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3571:10: note: '__pyx_v_tstamp' was declared here 3571 | 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 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged 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' in '../python3-pyreadstat_1.2.8-1_armhf.deb'. dpkg-deb: building package 'python3-pyreadstat-dbgsym' in '../python3-pyreadstat-dbgsym_1.2.8-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../pyreadstat_1.2.8-1_armhf.buildinfo dpkg-genchanges --build=binary -O../pyreadstat_1.2.8-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.8/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: user script /srv/workspace/pbuilder/5873/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/5873/tmp/hooks/B01_cleanup finished 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/5873 and its subdirectories I: Current time: Tue Nov 26 12:41:29 +14 2024 I: pbuilder-time-stamp: 1732574489 + false + set +x Mon Nov 25 22:41:29 UTC 2024 I: Signing ./b2/pyreadstat_1.2.8-1_armhf.buildinfo as pyreadstat_1.2.8-1_armhf.buildinfo.asc Mon Nov 25 22:41:29 UTC 2024 I: Signed ./b2/pyreadstat_1.2.8-1_armhf.buildinfo as ./b2/pyreadstat_1.2.8-1_armhf.buildinfo.asc Mon Nov 25 22:41:29 UTC 2024 - build #2 for pyreadstat/unstable/armhf on virt32c done. Starting cleanup. All cleanup done. Mon Nov 25 22:41:29 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-RmQyT0Xz, removing. /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6: total 636 drwxr-xr-x 2 jenkins jenkins 4096 Nov 25 22:22 b1 drwxr-xr-x 2 jenkins jenkins 4096 Nov 25 22:42 b2 -rw-r--r-- 1 jenkins jenkins 2080 Nov 16 20:14 pyreadstat_1.2.8-1.dsc -rw------- 1 jenkins jenkins 633559 Nov 25 22:22 rbuildlog.BrCTsDv /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b1: total 5260 -rw-r--r-- 1 jenkins jenkins 630052 Nov 25 22:22 build.log -rw-r--r-- 1 jenkins jenkins 3108 Nov 25 22:22 pyreadstat_1.2.8-1.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2080 Nov 25 22:22 pyreadstat_1.2.8-1.dsc -rw-r--r-- 1 jenkins jenkins 6940 Nov 25 22:22 pyreadstat_1.2.8-1_armhf.buildinfo -rw-r--r-- 1 jenkins jenkins 7822 Nov 25 22:22 pyreadstat_1.2.8-1_armhf.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1471 Nov 25 22:22 pyreadstat_1.2.8-1_armhf.changes -rw-r--r-- 1 jenkins jenkins 1495 Nov 25 22:22 pyreadstat_1.2.8-1_source.changes -rw-r--r-- 1 jenkins jenkins 560144 Nov 25 22:22 pyreadstat_1.2.8.orig.tar.gz -rw-r--r-- 1 jenkins jenkins 3741108 Nov 25 22:22 python3-pyreadstat-dbgsym_1.2.8-1_armhf.deb -rw-r--r-- 1 jenkins jenkins 401276 Nov 25 22:22 python3-pyreadstat_1.2.8-1_armhf.deb /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b2: total 5264 -rw-r--r-- 1 jenkins jenkins 631985 Nov 25 22:41 build.log -rw-r--r-- 1 jenkins jenkins 3108 Nov 25 22:41 pyreadstat_1.2.8-1.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2080 Nov 25 22:41 pyreadstat_1.2.8-1.dsc -rw-r--r-- 1 jenkins jenkins 6945 Nov 25 22:41 pyreadstat_1.2.8-1_armhf.buildinfo -rw-r--r-- 1 jenkins jenkins 7827 Nov 25 22:41 pyreadstat_1.2.8-1_armhf.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1471 Nov 25 22:41 pyreadstat_1.2.8-1_armhf.changes -rw-r--r-- 1 jenkins jenkins 1495 Nov 25 22:41 pyreadstat_1.2.8-1_source.changes -rw-r--r-- 1 jenkins jenkins 560144 Nov 25 22:41 pyreadstat_1.2.8.orig.tar.gz -rw-r--r-- 1 jenkins jenkins 3741108 Nov 25 22:42 python3-pyreadstat-dbgsym_1.2.8-1_armhf.deb -rw-r--r-- 1 jenkins jenkins 401276 Nov 25 22:42 python3-pyreadstat_1.2.8-1_armhf.deb Mon Nov 25 22:42:06 UTC 2024 I: Deleting $TMPDIR on virt32c-armhf-rb.debian.net. Mon Nov 25 22:42:10 UTC 2024 I: pyreadstat_1.2.8-1_armhf.changes: Format: 1.8 Date: Sat, 16 Nov 2024 14:50:20 -0500 Source: pyreadstat Binary: python3-pyreadstat python3-pyreadstat-dbgsym Architecture: armhf Version: 1.2.8-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.8-1) unstable; urgency=medium . * Team upload. * New upstream release. + Further fix compatibility with numpy 2.x. Checksums-Sha1: 81b0f24011fb59f0ca99a0926d8cbc8a58bdf405 6940 pyreadstat_1.2.8-1_armhf.buildinfo 5d42b8628dc566703fb82cb0d7b48a3df804d13e 3741108 python3-pyreadstat-dbgsym_1.2.8-1_armhf.deb 7e56693f24c891c5cf278dcdbebe22f60ac660ac 401276 python3-pyreadstat_1.2.8-1_armhf.deb Checksums-Sha256: 41b9323dde2c70b4821c874f63f58ab50af3a1446f78e2a8a2814a44ca2c9be0 6940 pyreadstat_1.2.8-1_armhf.buildinfo 4f358f29506ecd495676a7e538e6e954524ca1d38296b710b84af4cce3e7e640 3741108 python3-pyreadstat-dbgsym_1.2.8-1_armhf.deb 4fa15567a31b2e68d050c17a6f826473c34187f8dc914c505e4f5dc35c206259 401276 python3-pyreadstat_1.2.8-1_armhf.deb Files: 23c50690830a7de205eec00cd421ecd9 6940 python optional pyreadstat_1.2.8-1_armhf.buildinfo 7eaa507f5cfc84b1fa3c7fefb4e84810 3741108 debug optional python3-pyreadstat-dbgsym_1.2.8-1_armhf.deb f4f6cafb7d5ccd395c36d9c464825386 401276 python optional python3-pyreadstat_1.2.8-1_armhf.deb removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/pyreadstat_1.2.7-1.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/pyreadstat_1.2.7-1.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/armhf/pyreadstat_1.2.7-1.build1.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/armhf/pyreadstat_1.2.7-1.build2.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/buildinfo/unstable/armhf/pyreadstat_1.2.7-1_armhf.buildinfo' removed '/var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/armhf/pyreadstat_1.2.7-1.diff.gz' Diff of the two buildlogs: -- --- b1/build.log 2024-11-25 22:22:23.517677540 +0000 +++ b2/build.log 2024-11-25 22:41:44.385300203 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Nov 25 10:04:30 -12 2024 -I: pbuilder-time-stamp: 1732572270 +I: Current time: Tue Nov 26 12:23:01 +14 2024 +I: pbuilder-time-stamp: 1732573381 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking pyreadstat_1.2.8-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/10958/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5873/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 25 22:23 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/5873/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5873/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='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='edf7654aadab492e9eeaec19c4087d64' - 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='10958' - PS1='# ' - PS2='> ' + INVOCATION_ID=257c6d27381e4e0eab89186e20792648 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=5873 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.PUMFKWq6/pbuilderrc_aNEk --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b1 --logfile b1/build.log pyreadstat_1.2.8-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/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/pbuilderrc_WWbd --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b2 --logfile b2/build.log pyreadstat_1.2.8-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10958/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/5873/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -212,7 +244,7 @@ Get: 90 http://deb.debian.org/debian unstable/main armhf python3-tz all 2024.1-2 [30.9 kB] Get: 91 http://deb.debian.org/debian unstable/main armhf python3-pandas-lib armhf 2.2.3+dfsg-5+b1 [6440 kB] Get: 92 http://deb.debian.org/debian unstable/main armhf python3-pandas all 2.2.3+dfsg-5 [3096 kB] -Fetched 64.2 MB in 2s (32.8 MB/s) +Fetched 64.2 MB in 1s (51.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-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 ... 19685 files and directories currently installed.) @@ -522,8 +554,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Nov 25 22:05:22 UTC 2024. -Universal Time is now: Mon Nov 25 22:05:22 UTC 2024. +Local time is now: Mon Nov 25 22:23:50 UTC 2024. +Universal Time is now: Mon Nov 25 22:23:50 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:armhf (3.13.0-2) ... @@ -616,7 +648,11 @@ fakeroot is already the newest version (1.36-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.8/ && 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.8-1_source.changes +I: user script /srv/workspace/pbuilder/5873/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/5873/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/pyreadstat-1.2.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../pyreadstat_1.2.8-1_source.changes dpkg-buildpackage: info: source package pyreadstat dpkg-buildpackage: info: source version 1.2.8-1 dpkg-buildpackage: info: source distribution unstable @@ -6655,8 +6691,8 @@ 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.8-1_armhf.deb'. dpkg-deb: building package 'python3-pyreadstat' in '../python3-pyreadstat_1.2.8-1_armhf.deb'. +dpkg-deb: building package 'python3-pyreadstat-dbgsym' in '../python3-pyreadstat-dbgsym_1.2.8-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../pyreadstat_1.2.8-1_armhf.buildinfo dpkg-genchanges --build=binary -O../pyreadstat_1.2.8-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -6665,12 +6701,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/5873/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5873/tmp/hooks/B01_cleanup finished 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/10958 and its subdirectories -I: Current time: Mon Nov 25 10:22:06 -12 2024 -I: pbuilder-time-stamp: 1732573326 +I: removing directory /srv/workspace/pbuilder/5873 and its subdirectories +I: Current time: Tue Nov 26 12:41:29 +14 2024 +I: pbuilder-time-stamp: 1732574489 Compressing the 2nd log... /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/armhf/pyreadstat_1.2.8-1.diff: 67.1% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/armhf/pyreadstat_1.2.8-1.diff.gz b2/build.log: 90.0% -- replaced with stdout Compressing the 1st log... b1/build.log: 90.1% -- replaced with stdout Mon Nov 25 22:42:12 UTC 2024 I: diffoscope 283 will be used to compare the two builds: ++ date -u +%s + DIFFOSCOPE_STAMP=/var/log/reproducible-builds/diffoscope_stamp_pyreadstat_unstable_armhf_1732574532 + touch /var/log/reproducible-builds/diffoscope_stamp_pyreadstat_unstable_armhf_1732574532 + RESULT=0 + systemd-run '--description=diffoscope on pyreadstat/1.2.8-1 in unstable/armhf' --slice=rb-build-diffoscope.slice -u rb-diffoscope-armhf_32-20254 '--property=SuccessExitStatus=1 124' --user --send-sighup --pipe --wait -E TMPDIR timeout 155m nice schroot --directory /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6 --run-session -c jenkins-reproducible-unstable-diffoscope-cbe32bef-bf64-49b9-924c-5c0508182a2e -- sh -c 'export TMPDIR=/srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/dbd-tmp-5J5xJbg ; timeout 150m diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/pyreadstat_1.2.8-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/pyreadstat_1.2.8-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/pyreadstat_1.2.8-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b1/pyreadstat_1.2.8-1_armhf.changes /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b2/pyreadstat_1.2.8-1_armhf.changes' + false + set +x Running as unit: rb-diffoscope-armhf_32-20254.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/pyreadstat_1.2.8-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/pyreadstat_1.2.8-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/pyreadstat_1.2.8-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b1/pyreadstat_1.2.8-1_armhf.changes /srv/reproducible-results/rbuild-debian/r-b-build.PUMFKWq6/b2/pyreadstat_1.2.8-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.391s) 0.391s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.053s) 0.053s 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: 708ms CPU time consumed: 709ms _ _ _ _ __ _ _ _ __ ___ __ _ __| |___| |_ __ _| |_ | '_ \| | | | '__/ _ \/ _` |/ _` / __| __/ _` | __| | |_) | |_| | | | __/ (_| | (_| \__ \ || (_| | |_ | .__/ \__, |_| \___|\__,_|\__,_|___/\__\__,_|\__| |_| |___/ Mon Nov 25 23:00:32 UTC 2024 I: diffoscope 283 found no differences in the changes files, and a .buildinfo file also exists. Mon Nov 25 23:00:32 UTC 2024 I: pyreadstat from unstable built successfully and reproducibly on armhf. INSERT 0 1 INSERT 0 1 DELETE 1 [2024-11-25 23:00:33] INFO: Starting at 2024-11-25 23:00:33.132942 [2024-11-25 23:00:33] INFO: Generating the pages of 1 package(s) [2024-11-25 23:00:33] CRITICAL: https://tests.reproducible-builds.org/debian/unstable/armhf/pyreadstat didn't produce a buildlog, even though it has been built. [2024-11-25 23:00:33] INFO: Finished at 2024-11-25 23:00:33.901478, took: 0:00:00.768552 Mon Nov 25 23:00:34 UTC 2024 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/unstable/armhf/pyreadstat.html Mon Nov 25 23:00:34 UTC 2024 I: Submitting .buildinfo files to external archives: Mon Nov 25 23:00:34 UTC 2024 I: Submitting 8.0K b1/pyreadstat_1.2.8-1_armhf.buildinfo.asc https://buildinfo.debian.net/81b0f24011fb59f0ca99a0926d8cbc8a58bdf405/pyreadstat_1.2.8-1_armhf Mon Nov 25 23:00:36 UTC 2024 I: Submitting 8.0K b2/pyreadstat_1.2.8-1_armhf.buildinfo.asc https://buildinfo.debian.net/ee8de75f5baa302edffeb09838e6a410bffbf00f/pyreadstat_1.2.8-1_armhf Mon Nov 25 23:00:46 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Mon Nov 25 23:00:46 UTC 2024 I: Done submitting .buildinfo files. Mon Nov 25 23:00:46 UTC 2024 I: Removing signed pyreadstat_1.2.8-1_armhf.buildinfo.asc files: removed './b1/pyreadstat_1.2.8-1_armhf.buildinfo.asc' removed './b2/pyreadstat_1.2.8-1_armhf.buildinfo.asc' 1732575646 armhf unstable pyreadstat Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/pyreadstat_1.2.8-1.rbuild.log: 89.7% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/pyreadstat_1.2.8-1.rbuild.log.gz [2024-11-25 23:00:46] INFO: Starting at 2024-11-25 23:00:46.758036 [2024-11-25 23:00:46] INFO: Generating the pages of 1 package(s) [2024-11-25 23:00:46] INFO: Finished at 2024-11-25 23:00:46.968866, took: 0:00:00.210838 All cleanup done. Mon Nov 25 23:00:47 UTC 2024 - total duration: 0h 56m 43s. Mon Nov 25 23:00:47 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-bQbl66DX, removing. Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 56min 57.817s CPU time consumed: 8.563s