Sat May 11 14:11:38 UTC 2024 I: starting to build pyreadstat/trixie/amd64 on jenkins on '2024-05-11 14:11' Sat May 11 14:11:38 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_11/19235/console.log Sat May 11 14:11:39 UTC 2024 I: Downloading source for trixie/pyreadstat=1.2.6-1 --2024-05-11 14:11:39-- http://deb.debian.org/debian/pool/main/p/pyreadstat/pyreadstat_1.2.6-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.6-1.dsc’ 0K .. 100% 280M=0s 2024-05-11 14:11:39 (280 MB/s) - ‘pyreadstat_1.2.6-1.dsc’ saved [2080/2080] Sat May 11 14:11:39 UTC 2024 I: pyreadstat_1.2.6-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: pyreadstat Binary: python3-pyreadstat Architecture: any Version: 1.2.6-1 Maintainer: Joost van Baal-Ilić Uploaders: Debian Python Team Homepage: https://github.com/Roche/pyreadstat Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/python-team/packages/pyreadstat Vcs-Git: https://salsa.debian.org/python-team/packages/pyreadstat.git Build-Depends: debhelper-compat (= 13), dh-sequence-python3, python3-all, python3-all-dev, python3-setuptools, cython3 (>= 3.0.2), python3-pandas, zlib1g-dev Package-List: python3-pyreadstat deb python optional arch=any Checksums-Sha1: 758cbd2580db0a0c5998c6f76881942ba4343b02 539091 pyreadstat_1.2.6.orig.tar.gz f4c244398d4bcbcf559ae25e3580d2b9f941e17e 3060 pyreadstat_1.2.6-1.debian.tar.xz Checksums-Sha256: 84b4c1d0e4168f7d30533b2c136f25a66f55e0e0d2c81b4748878c10165a31b8 539091 pyreadstat_1.2.6.orig.tar.gz ef008db4f3b75f856fdee1d1a9dcd25529b899c078855bd576c601d76437e9bf 3060 pyreadstat_1.2.6-1.debian.tar.xz Files: c32198201e79b1e28eb41fcc3eb10af1 539091 pyreadstat_1.2.6.orig.tar.gz 285c9bc5c057bc02120c2d95ef41244e 3060 pyreadstat_1.2.6-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmWVpBoACgkQwpPntGGC Ws7HeBAAxAyFXePYN71atbJxyEcBpWqj2hdysbDom8gnhY4JjCKyabCMyDlL9igH eRJhEjpnT0zQCM5EUrxxex6M7hdlM3lfw43WZjCseOEXBy3XLj0CEy693izqI6A0 w36hCif9LmhPPtA30aPS2jnZGC8MEjsNBkATy4qUJfsoC8oTiPsf3GPpKARROzw8 kxMNINadfTYgfmOwS47F7sH4+zF/TnuelCpdTJvSGcONUo5yUjVLfLHaBNAbccpZ CBTxql8HR9ZZaSCw2X7Qtjb9fyUiOh9brPW95CPp+7Bp9yvYA5ENWOTlt/1e+gAp Z6pKNN/VuIliOYm/60WkaI8E0pRSGbzzhlGuqEpZncK0InBsyWTspP+XfLU72FLm Ux4wiH9QonH7tHmnRTFOt15whGoS7EfSZn3fns0CiqitkgDw6y8taNN6CQII9u3I UwEiiu5Cba1dStQK7NezLqpytk43cCsrs1wZvc9oaidUPuEQqiErI/DC7HsjZpM1 f+54p07md09gB6LORruJEBaHs9Pz9pt8c7uHzUglq9IJ0etD3OUwo3woH/25xomY MbzNRXOUL6j5080VnSAzVAL2erIYuYCMEC0x/ur9A8MFixfGuCddENjqZcCp7nii 4y6dpSzQkaExFVLJ7161yGzqK90qfsHXPvYswIVJF7Sg3qD/CDw= =J82y -----END PGP SIGNATURE----- Sat May 11 14:11:39 UTC 2024 I: Checking whether the package is not for us Sat May 11 14:11:39 UTC 2024 I: Starting 1st build on remote node ionos1-amd64.debian.net. Sat May 11 14:11:39 UTC 2024 I: Preparing to do remote build '1' on ionos1-amd64.debian.net. Sat May 11 14:26:28 UTC 2024 I: Deleting $TMPDIR on ionos1-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sat May 11 02:11:41 -12 2024 I: pbuilder-time-stamp: 1715436701 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [pyreadstat_1.2.6-1.dsc] I: copying [./pyreadstat_1.2.6.orig.tar.gz] I: copying [./pyreadstat_1.2.6-1.debian.tar.xz] I: Extracting source gpgv: Signature made Wed Jan 3 18:14:50 2024 gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./pyreadstat_1.2.6-1.dsc: no acceptable signature found dpkg-source: info: extracting pyreadstat in pyreadstat-1.2.6 dpkg-source: info: unpacking pyreadstat_1.2.6.orig.tar.gz dpkg-source: info: unpacking pyreadstat_1.2.6-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1847684/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='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='a1b9842b6a804762bcb7ee747c4d3f4f' 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='1847684' 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.BgxzsoHd/pbuilderrc_BOUb --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.BgxzsoHd/b1 --logfile b1/build.log pyreadstat_1.2.6-1.dsc' SUDO_GID='110' SUDO_UID='105' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://46.16.76.132:3128' I: uname -a Linux ionos1-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 11 11:25 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1847684/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: amd64 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 ... 19699 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-all-dev; however: Package python3-all-dev is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on cython3 (>= 3.0.2); however: Package cython3 is not installed. pbuilder-satisfydepends-dummy depends on python3-pandas; however: Package python3-pandas is not installed. pbuilder-satisfydepends-dummy depends on zlib1g-dev; however: Package zlib1g-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} cython3{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libblas3{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libexpat1-dev{a} libfile-stripnondeterminism-perl{a} libgfortran5{a} libicu72{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} liblapack3{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libpython3-all-dev{a} libpython3-dev{a} libpython3-stdlib{a} libpython3.11-dev{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libpython3.11t64{a} libpython3.12-dev{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libpython3.12t64{a} libreadline8t64{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} netbase{a} po-debconf{a} python3{a} python3-all{a} python3-all-dev{a} python3-dateutil{a} python3-dev{a} python3-distutils{a} python3-lib2to3{a} python3-minimal{a} python3-numpy{a} python3-pandas{a} python3-pandas-lib{a} python3-pkg-resources{a} python3-setuptools{a} python3-six{a} python3-tz{a} python3.11{a} python3.11-dev{a} python3.11-minimal{a} python3.12{a} python3.12-dev{a} python3.12-minimal{a} readline-common{a} sensible-utils{a} tzdata{a} zlib1g-dev{a} The following packages are RECOMMENDED but will NOT be installed: ca-certificates curl javascript-common libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx python3-bottleneck python3-bs4 python3-html5lib python3-jinja2 python3-lxml python3-matplotlib python3-numexpr python3-odf python3-openpyxl python3-scipy python3-tables wget 0 packages upgraded, 78 newly installed, 0 to remove and 0 not upgraded. Need to get 71.2 MB of archives. After unpacking 332 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 libpython3.11-minimal amd64 3.11.9-1 [817 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 libexpat1 amd64 2.6.2-1 [103 kB] Get: 3 http://deb.debian.org/debian trixie/main amd64 python3.11-minimal amd64 3.11.9-1 [1879 kB] Get: 4 http://deb.debian.org/debian trixie/main amd64 python3-minimal amd64 3.11.8-1 [26.3 kB] Get: 5 http://deb.debian.org/debian trixie/main amd64 media-types all 10.1.0 [26.9 kB] Get: 6 http://deb.debian.org/debian trixie/main amd64 netbase all 6.4 [12.8 kB] Get: 7 http://deb.debian.org/debian trixie/main amd64 tzdata all 2024a-4 [255 kB] Get: 8 http://deb.debian.org/debian trixie/main amd64 readline-common all 8.2-4 [69.3 kB] Get: 9 http://deb.debian.org/debian trixie/main amd64 libreadline8t64 amd64 8.2-4 [167 kB] Get: 10 http://deb.debian.org/debian trixie/main amd64 libpython3.11-stdlib amd64 3.11.9-1 [1792 kB] Get: 11 http://deb.debian.org/debian trixie/main amd64 python3.11 amd64 3.11.9-1 [602 kB] Get: 12 http://deb.debian.org/debian trixie/main amd64 libpython3-stdlib amd64 3.11.8-1 [9332 B] Get: 13 http://deb.debian.org/debian trixie/main amd64 python3 amd64 3.11.8-1 [27.4 kB] Get: 14 http://deb.debian.org/debian trixie/main amd64 libpython3.12-minimal amd64 3.12.3-1 [809 kB] Get: 15 http://deb.debian.org/debian trixie/main amd64 python3.12-minimal amd64 3.12.3-1 [2139 kB] Get: 16 http://deb.debian.org/debian trixie/main amd64 sensible-utils all 0.0.22 [22.4 kB] Get: 17 http://deb.debian.org/debian trixie/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB] Get: 18 http://deb.debian.org/debian trixie/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB] Get: 19 http://deb.debian.org/debian trixie/main amd64 file amd64 1:5.45-3 [42.9 kB] Get: 20 http://deb.debian.org/debian trixie/main amd64 gettext-base amd64 0.21-14+b1 [161 kB] Get: 21 http://deb.debian.org/debian trixie/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get: 22 http://deb.debian.org/debian trixie/main amd64 groff-base amd64 1.23.0-4 [1180 kB] Get: 23 http://deb.debian.org/debian trixie/main amd64 bsdextrautils amd64 2.40-8 [92.8 kB] Get: 24 http://deb.debian.org/debian trixie/main amd64 libpipeline1 amd64 1.5.7-2 [38.0 kB] Get: 25 http://deb.debian.org/debian trixie/main amd64 man-db amd64 2.12.1-1 [1411 kB] Get: 26 http://deb.debian.org/debian trixie/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 27 http://deb.debian.org/debian trixie/main amd64 autoconf all 2.71-3 [332 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 autopoint all 0.21-14 [496 kB] Get: 31 http://deb.debian.org/debian trixie/main amd64 cython3 amd64 3.0.10+dfsg-5 [3571 kB] Get: 32 http://deb.debian.org/debian trixie/main amd64 libdebhelper-perl all 13.15.3 [88.0 kB] Get: 33 http://deb.debian.org/debian trixie/main amd64 libtool all 2.4.7-7 [517 kB] Get: 34 http://deb.debian.org/debian trixie/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 35 http://deb.debian.org/debian trixie/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 36 http://deb.debian.org/debian trixie/main amd64 libsub-override-perl all 0.10-1 [10.6 kB] Get: 37 http://deb.debian.org/debian trixie/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 38 http://deb.debian.org/debian trixie/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 39 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.191-1+b1 [189 kB] Get: 40 http://deb.debian.org/debian trixie/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 41 http://deb.debian.org/debian trixie/main amd64 libicu72 amd64 72.1-4+b1 [9395 kB] Get: 42 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.9.14+dfsg-1.3+b3 [692 kB] Get: 43 http://deb.debian.org/debian trixie/main amd64 gettext amd64 0.21-14+b1 [1301 kB] Get: 44 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 45 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 46 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.15.3 [901 kB] Get: 47 http://deb.debian.org/debian trixie/main amd64 python3-pkg-resources all 68.1.2-2 [241 kB] Get: 48 http://deb.debian.org/debian trixie/main amd64 python3-lib2to3 all 3.12.3-1 [77.6 kB] Get: 49 http://deb.debian.org/debian trixie/main amd64 python3-distutils all 3.12.3-1 [131 kB] Get: 50 http://deb.debian.org/debian trixie/main amd64 python3-setuptools all 68.1.2-2 [468 kB] Get: 51 http://deb.debian.org/debian trixie/main amd64 dh-python all 6.20240422 [107 kB] Get: 52 http://deb.debian.org/debian trixie/main amd64 libblas3 amd64 3.12.0-3 [148 kB] Get: 53 http://deb.debian.org/debian trixie/main amd64 libexpat1-dev amd64 2.6.2-1 [155 kB] Get: 54 http://deb.debian.org/debian trixie/main amd64 libgfortran5 amd64 14-20240330-1 [836 kB] Get: 55 http://deb.debian.org/debian trixie/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 56 http://deb.debian.org/debian trixie/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 57 http://deb.debian.org/debian trixie/main amd64 libjs-sphinxdoc all 7.2.6-6 [150 kB] Get: 58 http://deb.debian.org/debian trixie/main amd64 liblapack3 amd64 3.12.0-3 [2407 kB] Get: 59 http://deb.debian.org/debian trixie/main amd64 libpython3.11t64 amd64 3.11.9-1 [1960 kB] Get: 60 http://deb.debian.org/debian trixie/main amd64 zlib1g-dev amd64 1:1.3.dfsg-3.1 [918 kB] Get: 61 http://deb.debian.org/debian trixie/main amd64 libpython3.11-dev amd64 3.11.9-1 [4513 kB] Get: 62 http://deb.debian.org/debian trixie/main amd64 libpython3-dev amd64 3.11.8-1 [9560 B] Get: 63 http://deb.debian.org/debian trixie/main amd64 libpython3.12-stdlib amd64 3.12.3-1 [1951 kB] Get: 64 http://deb.debian.org/debian trixie/main amd64 libpython3.12t64 amd64 3.12.3-1 [2107 kB] Get: 65 http://deb.debian.org/debian trixie/main amd64 libpython3.12-dev amd64 3.12.3-1 [5069 kB] Get: 66 http://deb.debian.org/debian trixie/main amd64 libpython3-all-dev amd64 3.11.8-1 [1072 B] Get: 67 http://deb.debian.org/debian trixie/main amd64 python3.12 amd64 3.12.3-1 [659 kB] Get: 68 http://deb.debian.org/debian trixie/main amd64 python3-all amd64 3.11.8-1 [1056 B] Get: 69 http://deb.debian.org/debian trixie/main amd64 python3.11-dev amd64 3.11.9-1 [501 kB] Get: 70 http://deb.debian.org/debian trixie/main amd64 python3-dev amd64 3.11.8-1 [26.1 kB] Get: 71 http://deb.debian.org/debian trixie/main amd64 python3.12-dev amd64 3.12.3-1 [499 kB] Get: 72 http://deb.debian.org/debian trixie/main amd64 python3-all-dev amd64 3.11.8-1 [1072 B] Get: 73 http://deb.debian.org/debian trixie/main amd64 python3-six all 1.16.0-6 [16.3 kB] Get: 74 http://deb.debian.org/debian trixie/main amd64 python3-dateutil all 2.9.0-2 [79.4 kB] Get: 75 http://deb.debian.org/debian trixie/main amd64 python3-numpy amd64 1:1.26.4+ds-8 [5466 kB] Get: 76 http://deb.debian.org/debian trixie/main amd64 python3-tz all 2024.1-2 [30.9 kB] Get: 77 http://deb.debian.org/debian trixie/main amd64 python3-pandas-lib amd64 2.1.4+dfsg-8 [7882 kB] Get: 78 http://deb.debian.org/debian trixie/main amd64 python3-pandas all 2.1.4+dfsg-8 [3015 kB] Fetched 71.2 MB in 8s (8897 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19699 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.9-1_amd64.deb ... Unpacking libpython3.11-minimal:amd64 (3.11.9-1) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.6.2-1_amd64.deb ... Unpacking libexpat1:amd64 (2.6.2-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.9-1_amd64.deb ... Unpacking python3.11-minimal (3.11.9-1) ... Setting up libpython3.11-minimal:amd64 (3.11.9-1) ... Setting up libexpat1:amd64 (2.6.2-1) ... Setting up python3.11-minimal (3.11.9-1) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20015 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.8-1_amd64.deb ... Unpacking python3-minimal (3.11.8-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2024a-4_all.deb ... Unpacking tzdata (2024a-4) ... Selecting previously unselected package readline-common. Preparing to unpack .../4-readline-common_8.2-4_all.deb ... Unpacking readline-common (8.2-4) ... Selecting previously unselected package libreadline8t64:amd64. Preparing to unpack .../5-libreadline8t64_8.2-4_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:amd64 (8.2-4) ... Selecting previously unselected package libpython3.11-stdlib:amd64. Preparing to unpack .../6-libpython3.11-stdlib_3.11.9-1_amd64.deb ... Unpacking libpython3.11-stdlib:amd64 (3.11.9-1) ... Selecting previously unselected package python3.11. Preparing to unpack .../7-python3.11_3.11.9-1_amd64.deb ... Unpacking python3.11 (3.11.9-1) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../8-libpython3-stdlib_3.11.8-1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.11.8-1) ... Setting up python3-minimal (3.11.8-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 ... 21007 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.8-1_amd64.deb ... Unpacking python3 (3.11.8-1) ... Selecting previously unselected package libpython3.12-minimal:amd64. Preparing to unpack .../01-libpython3.12-minimal_3.12.3-1_amd64.deb ... Unpacking libpython3.12-minimal:amd64 (3.12.3-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../02-python3.12-minimal_3.12.3-1_amd64.deb ... Unpacking python3.12-minimal (3.12.3-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../03-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.45-3_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../05-libmagic1t64_1%3a5.45-3_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.45-3_amd64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.21-14+b1_amd64.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../08-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.23.0-4_amd64.deb ... Unpacking groff-base (1.23.0-4) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../10-bsdextrautils_2.40-8_amd64.deb ... Unpacking bsdextrautils (2.40-8) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../11-libpipeline1_1.5.7-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.12.1-1_amd64.deb ... Unpacking man-db (2.12.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package cython3. Preparing to unpack .../18-cython3_3.0.10+dfsg-5_amd64.deb ... Unpacking cython3 (3.0.10+dfsg-5) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../19-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../20-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../21-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../22-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../23-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../24-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../25-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../26-libelf1t64_0.191-1+b1_amd64.deb ... Unpacking libelf1t64:amd64 (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../27-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../28-libicu72_72.1-4+b1_amd64.deb ... Unpacking libicu72:amd64 (72.1-4+b1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../29-libxml2_2.9.14+dfsg-1.3+b3_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.3+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.21-14+b1_amd64.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../31-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../32-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../33-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../34-python3-pkg-resources_68.1.2-2_all.deb ... Unpacking python3-pkg-resources (68.1.2-2) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../35-python3-lib2to3_3.12.3-1_all.deb ... Unpacking python3-lib2to3 (3.12.3-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../36-python3-distutils_3.12.3-1_all.deb ... Unpacking python3-distutils (3.12.3-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../37-python3-setuptools_68.1.2-2_all.deb ... Unpacking python3-setuptools (68.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../38-dh-python_6.20240422_all.deb ... Unpacking dh-python (6.20240422) ... Selecting previously unselected package libblas3:amd64. Preparing to unpack .../39-libblas3_3.12.0-3_amd64.deb ... Unpacking libblas3:amd64 (3.12.0-3) ... Selecting previously unselected package libexpat1-dev:amd64. Preparing to unpack .../40-libexpat1-dev_2.6.2-1_amd64.deb ... Unpacking libexpat1-dev:amd64 (2.6.2-1) ... Selecting previously unselected package libgfortran5:amd64. Preparing to unpack .../41-libgfortran5_14-20240330-1_amd64.deb ... Unpacking libgfortran5:amd64 (14-20240330-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../42-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../43-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../44-libjs-sphinxdoc_7.2.6-6_all.deb ... Unpacking libjs-sphinxdoc (7.2.6-6) ... Selecting previously unselected package liblapack3:amd64. Preparing to unpack .../45-liblapack3_3.12.0-3_amd64.deb ... Unpacking liblapack3:amd64 (3.12.0-3) ... Selecting previously unselected package libpython3.11t64:amd64. Preparing to unpack .../46-libpython3.11t64_3.11.9-1_amd64.deb ... Unpacking libpython3.11t64:amd64 (3.11.9-1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../47-zlib1g-dev_1%3a1.3.dfsg-3.1_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.3.dfsg-3.1) ... Selecting previously unselected package libpython3.11-dev:amd64. Preparing to unpack .../48-libpython3.11-dev_3.11.9-1_amd64.deb ... Unpacking libpython3.11-dev:amd64 (3.11.9-1) ... Selecting previously unselected package libpython3-dev:amd64. Preparing to unpack .../49-libpython3-dev_3.11.8-1_amd64.deb ... Unpacking libpython3-dev:amd64 (3.11.8-1) ... Selecting previously unselected package libpython3.12-stdlib:amd64. Preparing to unpack .../50-libpython3.12-stdlib_3.12.3-1_amd64.deb ... Unpacking libpython3.12-stdlib:amd64 (3.12.3-1) ... Selecting previously unselected package libpython3.12t64:amd64. Preparing to unpack .../51-libpython3.12t64_3.12.3-1_amd64.deb ... Unpacking libpython3.12t64:amd64 (3.12.3-1) ... Selecting previously unselected package libpython3.12-dev:amd64. Preparing to unpack .../52-libpython3.12-dev_3.12.3-1_amd64.deb ... Unpacking libpython3.12-dev:amd64 (3.12.3-1) ... Selecting previously unselected package libpython3-all-dev:amd64. Preparing to unpack .../53-libpython3-all-dev_3.11.8-1_amd64.deb ... Unpacking libpython3-all-dev:amd64 (3.11.8-1) ... Selecting previously unselected package python3.12. Preparing to unpack .../54-python3.12_3.12.3-1_amd64.deb ... Unpacking python3.12 (3.12.3-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../55-python3-all_3.11.8-1_amd64.deb ... Unpacking python3-all (3.11.8-1) ... Selecting previously unselected package python3.11-dev. Preparing to unpack .../56-python3.11-dev_3.11.9-1_amd64.deb ... Unpacking python3.11-dev (3.11.9-1) ... Selecting previously unselected package python3-dev. Preparing to unpack .../57-python3-dev_3.11.8-1_amd64.deb ... Unpacking python3-dev (3.11.8-1) ... Selecting previously unselected package python3.12-dev. Preparing to unpack .../58-python3.12-dev_3.12.3-1_amd64.deb ... Unpacking python3.12-dev (3.12.3-1) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../59-python3-all-dev_3.11.8-1_amd64.deb ... Unpacking python3-all-dev (3.11.8-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../60-python3-six_1.16.0-6_all.deb ... Unpacking python3-six (1.16.0-6) ... Selecting previously unselected package python3-dateutil. Preparing to unpack .../61-python3-dateutil_2.9.0-2_all.deb ... Unpacking python3-dateutil (2.9.0-2) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../62-python3-numpy_1%3a1.26.4+ds-8_amd64.deb ... Unpacking python3-numpy (1:1.26.4+ds-8) ... Selecting previously unselected package python3-tz. Preparing to unpack .../63-python3-tz_2024.1-2_all.deb ... Unpacking python3-tz (2024.1-2) ... Selecting previously unselected package python3-pandas-lib:amd64. Preparing to unpack .../64-python3-pandas-lib_2.1.4+dfsg-8_amd64.deb ... Unpacking python3-pandas-lib:amd64 (2.1.4+dfsg-8) ... Selecting previously unselected package python3-pandas. Preparing to unpack .../65-python3-pandas_2.1.4+dfsg-8_all.deb ... Unpacking python3-pandas (2.1.4+dfsg-8) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:amd64 (1.5.7-2) ... Setting up libicu72:amd64 (72.1-4+b1) ... Setting up bsdextrautils (2.40-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libmagic1t64:amd64 (1:5.45-3) ... Setting up libpython3.12-minimal:amd64 (3.12.3-1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:amd64 (0.191-1+b1) ... Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' Local time is now: Sat May 11 14:13:08 UTC 2024. Universal Time is now: Sat May 11 14:13:08 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... Setting up libblas3:amd64 (3.12.0-3) ... update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode Setting up libexpat1-dev:amd64 (2.6.2-1) ... Setting up autopoint (0.21-14) ... Setting up libgfortran5:amd64 (14-20240330-1) ... Setting up autoconf (2.71-3) ... Setting up zlib1g-dev:amd64 (1:1.3.dfsg-3.1) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up netbase (6.4) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up readline-common (8.2-4) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.3+b3) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up python3.12-minimal (3.12.3-1) ... Setting up liblapack3:amd64 (3.12.0-3) ... update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libjs-sphinxdoc (7.2.6-6) ... Setting up libreadline8t64:amd64 (8.2-4) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up groff-base (1.23.0-4) ... Setting up libpython3.12-stdlib:amd64 (3.12.3-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:amd64 (3.11.9-1) ... Setting up python3.12 (3.12.3-1) ... Setting up libpython3.11t64:amd64 (3.11.9-1) ... Setting up man-db (2.12.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3.12t64:amd64 (3.12.3-1) ... Setting up libpython3.11-dev:amd64 (3.11.9-1) ... Setting up libpython3-stdlib:amd64 (3.11.8-1) ... Setting up python3.11 (3.11.9-1) ... Setting up libpython3-dev:amd64 (3.11.8-1) ... Setting up python3.11-dev (3.11.9-1) ... Setting up debhelper (13.15.3) ... Setting up python3 (3.11.8-1) ... Setting up libpython3.12-dev:amd64 (3.12.3-1) ... Setting up python3-tz (2024.1-2) ... Setting up python3-six (1.16.0-6) ... Setting up libpython3-all-dev:amd64 (3.11.8-1) ... Setting up python3.12-dev (3.12.3-1) ... Setting up cython3 (3.0.10+dfsg-5) ... Setting up python3-dateutil (2.9.0-2) ... Setting up python3-lib2to3 (3.12.3-1) ... Setting up python3-pkg-resources (68.1.2-2) ... Setting up python3-distutils (3.12.3-1) ... python3.12: can't get files for byte-compilation Setting up python3-setuptools (68.1.2-2) ... Setting up python3-all (3.11.8-1) ... Setting up python3-dev (3.11.8-1) ... Setting up python3-numpy (1:1.26.4+ds-8) ... Setting up dh-python (6.20240422) ... Setting up python3-all-dev (3.11.8-1) ... Setting up python3-pandas-lib:amd64 (2.1.4+dfsg-8) ... Setting up python3-pandas (2.1.4+dfsg-8) ... Processing triggers for libc-bin (2.38-7) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/reproducible-path/pyreadstat-1.2.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../pyreadstat_1.2.6-1_source.changes dpkg-buildpackage: info: source package pyreadstat dpkg-buildpackage: info: source version 1.2.6-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Boyuan Yang dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 dpkg-source: info: using options from pyreadstat-1.2.6/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/ fakeroot debian/rules clean dh clean --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/pyreadstat-1.2.6' # pass make[1]: Leaving directory '/build/reproducible-path/pyreadstat-1.2.6' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules build dh build --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.12 setup.py config [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx I: pybuild base:311: python3.11 setup.py config [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3.12 setup.py build [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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:8759:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8759 | __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:9663:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9663 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9672:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9672 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9819:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9819 | __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:9996:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9996 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10372:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10372 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10442:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10442 | __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:12553:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12553 | __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:13293:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13293 | __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:13866:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 13866 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 882, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13384:20: note: '__pyx_v_error' was declared here 13384 | 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 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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:11000:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11000 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:10969:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 10969 | 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:3992:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 3992 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3527:10: note: '__pyx_v_tstamp' was declared here 3527 | 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 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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:8759:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8759 | __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:9663:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9663 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9672:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9672 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9819:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9819 | __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:9996:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9996 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10372:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10372 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10442:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10442 | __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:12553:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12553 | __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:13293:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13293 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ In function '__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status', inlined from '__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser' at pyreadstat/_readstat_parser.c:13866:5: pyreadstat/_readstat_parser.c:13284:6: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 13284 | if (unlikely(__pyx_t_1)) { | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser': pyreadstat/_readstat_parser.c:13384:20: note: '__pyx_v_error' was declared here 13384 | 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 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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:11000:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11000 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:10969:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 10969 | 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:3992:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 3992 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3527:10: note: '__pyx_v_tstamp' was declared here 3527 | double __pyx_v_tstamp; | ^~~~~~~~~~~~~~ dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /build/reproducible-path/pyreadstat-1.2.6/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN I: pybuild base:311: cd /build/reproducible-path/pyreadstat-1.2.6/.pybuild/cpython3_3.11/build; python3.11 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=pybuild dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild dh_auto_install --destdir=debian/python3-pyreadstat/ -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3.12 setup.py install --root /build/reproducible-path/pyreadstat-1.2.6/debian/python3-pyreadstat [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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:8759:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8759 | __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:9663:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9663 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9672:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9672 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9819:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9819 | __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:9996:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9996 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10372:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10372 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10442:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10442 | __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:12553:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12553 | __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:13293:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13293 | __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:13866:5: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 13866 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 882, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_parser.c:13384:20: note: '__pyx_v_error' was declared here 13384 | 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 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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:11000:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11000 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:10969:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 10969 | 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:3992:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 3992 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3527:10: note: '__pyx_v_tstamp' was declared here 3527 | double __pyx_v_tstamp; | ^~~~~~~~~~~~~~ warning: no files found matching '*.h' warning: no files found matching '*.pyx' warning: no files found matching '*.pxd' I: pybuild base:311: /usr/bin/python3 setup.py install --root /build/reproducible-path/pyreadstat-1.2.6/debian/python3-pyreadstat [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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:8759:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8759 | __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:9663:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9663 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9672:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9672 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata); | ^ pyreadstat/_readstat_parser.c:9819:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9819 | __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:9996:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9996 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10372:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10372 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable); | ^ pyreadstat/_readstat_parser.c:10442:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10442 | __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:12553:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12553 | __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:13293:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13293 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ In function '__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status', inlined from '__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser' at pyreadstat/_readstat_parser.c:13866:5: pyreadstat/_readstat_parser.c:13284:6: warning: '__pyx_v_error' may be used uninitialized [-Wmaybe-uninitialized] 13284 | if (unlikely(__pyx_t_1)) { | ^ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser': pyreadstat/_readstat_parser.c:13384:20: note: '__pyx_v_error' was declared here 13384 | 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 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 'long 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 'long 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 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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: 'long int' and 'size_t' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bcat_write.c: In function 'sas7bcat_begin_data': ./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size) | ^ ./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 'long 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: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./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 int'} and 'uint64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 unsigned int'} and 'int64_t' {aka '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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 int'} and 'uint64_t' {aka '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 'long int'} and 'uint64_t' {aka '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 'long unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_double_with_peek': ./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 115 | while (ibyte2unicode[buffer[i-1]] != '/') { | ^ ./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 'long 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 'long 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 'long unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'char' [-Wsign-compare] 1243 | for (j=0; jvar_index) { | ^~ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass1': ./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_compress.c: In function 'zsav_compress_row': ./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) { | ^ ./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 'long int'} and 'long unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long int'} and 'long 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 int'} to 'uint64_t' {aka '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 int'} to 'uint64_t' {aka '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 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'long 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 'long int'} and 'long 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 'long int'} and 'size_t' {aka 'long 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 'long int'} and 'size_t' {aka 'long 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 'long 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:11000:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11000 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode); | ^ pyreadstat/_readstat_writer.c: At top level: pyreadstat/_readstat_writer.c:10969:13: warning: '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status' defined but not used [-Wunused-function] 10969 | 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:3992:20: warning: '__pyx_v_tstamp' may be used uninitialized [-Wmaybe-uninitialized] 3992 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyreadstat/_readstat_writer.c:3527:10: note: '__pyx_v_tstamp' was declared here 3527 | double __pyx_v_tstamp; | ^~~~~~~~~~~~~~ warning: no files found matching '*.h' warning: no files found matching '*.pyx' warning: no files found matching '*.pxd' dh_installdocs -O--buildsystem=pybuild dh_installchangelogs -O--buildsystem=pybuild dh_python3 -O--buildsystem=pybuild dh_installsystemduser -O--buildsystem=pybuild dh_perl -O--buildsystem=pybuild dh_link -O--buildsystem=pybuild dh_strip_nondeterminism -O--buildsystem=pybuild dh_compress -O--buildsystem=pybuild dh_fixperms -O--buildsystem=pybuild dh_missing -O--buildsystem=pybuild dh_dwz -a -O--buildsystem=pybuild dh_strip -a -O--buildsystem=pybuild dh_makeshlibs -a -O--buildsystem=pybuild dh_shlibdeps -a -O--buildsystem=pybuild dh_installdeb -O--buildsystem=pybuild dh_gencontrol -O--buildsystem=pybuild dpkg-gencontrol: warning: Recommends field of package python3-pyreadstat: substitution variable ${python3:Recommends} used, but is not defined dpkg-gencontrol: warning: Suggests field of package python3-pyreadstat: substitution variable ${python3:Suggests} used, but is not defined dpkg-gencontrol: warning: Recommends field of package python3-pyreadstat: substitution variable ${python3:Recommends} used, but is not defined dpkg-gencontrol: warning: Suggests field of package python3-pyreadstat: substitution variable ${python3:Suggests} used, but is not defined dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild dpkg-deb: building package 'python3-pyreadstat' in '../python3-pyreadstat_1.2.6-1_amd64.deb'. dpkg-deb: building package 'python3-pyreadstat-dbgsym' in '../python3-pyreadstat-dbgsym_1.2.6-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../pyreadstat_1.2.6-1_amd64.buildinfo dpkg-genchanges --build=binary -O../pyreadstat_1.2.6-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-source: info: using options from pyreadstat-1.2.6/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/1847684 and its subdirectories I: Current time: Sat May 11 02:26:27 -12 2024 I: pbuilder-time-stamp: 1715437587 Sat May 11 14:26:28 UTC 2024 I: 1st build successful. Starting 2nd build on remote node ionos15-amd64.debian.net. Sat May 11 14:26:28 UTC 2024 I: Preparing to do remote build '2' on ionos15-amd64.debian.net. Sat May 11 14:31:59 UTC 2024 I: Deleting $TMPDIR on ionos15-amd64.debian.net. Sat May 11 14:32:00 UTC 2024 I: pyreadstat_1.2.6-1_amd64.changes: Format: 1.8 Date: Wed, 03 Jan 2024 13:09:56 -0500 Source: pyreadstat Binary: python3-pyreadstat python3-pyreadstat-dbgsym Architecture: amd64 Version: 1.2.6-1 Distribution: unstable Urgency: medium Maintainer: Joost van Baal-Ilić Changed-By: Boyuan Yang Description: python3-pyreadstat - read/write data sets from SAS, Stata, and SPSS from/to Python pan Changes: pyreadstat (1.2.6-1) unstable; urgency=medium . * Team upload. * New upstream release. * Upload to unstable. * debian/rules: + Drop --with python3 parameter, use dh-sequence-python3 instead. + Drop incorrect PYBUILD_NAME override. Checksums-Sha1: 84557d24cc12858f22982735ae363b7a915a45cd 6770 pyreadstat_1.2.6-1_amd64.buildinfo 9907ea3e994f6193ddd79456cdc90e9affccdbfe 3881852 python3-pyreadstat-dbgsym_1.2.6-1_amd64.deb e2d8af7303137a7424379cdf67965ff5c18992f1 523024 python3-pyreadstat_1.2.6-1_amd64.deb Checksums-Sha256: 396286857f94e2302e3f96e97fd7bb6dedf4a55b0fe5c47677e3f4bf585259fa 6770 pyreadstat_1.2.6-1_amd64.buildinfo 87568e36a7d8f3cb8bb68aeff59a7b942211223a976deb604b1411c5b69c5b6d 3881852 python3-pyreadstat-dbgsym_1.2.6-1_amd64.deb dffba0dc1497771b6376c8dfd1b9764d7c6ff6100d866a7f4dc7e68f85c45d67 523024 python3-pyreadstat_1.2.6-1_amd64.deb Files: cbf735d22d6a6b1e8ea581f3999cbf6d 6770 python optional pyreadstat_1.2.6-1_amd64.buildinfo 65119bd0ee639795356f92868d849d89 3881852 debug optional python3-pyreadstat-dbgsym_1.2.6-1_amd64.deb 9827184b46dc7fba8400653bd34831b2 523024 python optional python3-pyreadstat_1.2.6-1_amd64.deb Sat May 11 14:32:01 UTC 2024 I: diffoscope 265 will be used to compare the two builds: Running as unit: rb-diffoscope-amd64_11-19235.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.BgxzsoHd/pyreadstat_1.2.6-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.BgxzsoHd/pyreadstat_1.2.6-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.BgxzsoHd/pyreadstat_1.2.6-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.BgxzsoHd/b1/pyreadstat_1.2.6-1_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.BgxzsoHd/b2/pyreadstat_1.2.6-1_amd64.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.426s) 0.426s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.061s) 0.061s 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: 755ms CPU time consumed: 731ms Sat May 11 14:32:04 UTC 2024 I: diffoscope 265 found no differences in the changes files, and a .buildinfo file also exists. Sat May 11 14:32:04 UTC 2024 I: pyreadstat from trixie built successfully and reproducibly on amd64. Sat May 11 14:32:05 UTC 2024 I: Submitting .buildinfo files to external archives: Sat May 11 14:32:05 UTC 2024 I: Submitting 8.0K b1/pyreadstat_1.2.6-1_amd64.buildinfo.asc Sat May 11 14:32:06 UTC 2024 I: Submitting 8.0K b2/pyreadstat_1.2.6-1_amd64.buildinfo.asc Sat May 11 14:32:07 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sat May 11 14:32:07 UTC 2024 I: Done submitting .buildinfo files. Sat May 11 14:32:07 UTC 2024 I: Removing signed pyreadstat_1.2.6-1_amd64.buildinfo.asc files: removed './b1/pyreadstat_1.2.6-1_amd64.buildinfo.asc' removed './b2/pyreadstat_1.2.6-1_amd64.buildinfo.asc'