I: pbuilder: network access will be disabled during build I: Current time: Wed Jun 18 04:00:14 +14 2025 I: pbuilder-time-stamp: 1750168814 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job 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/8604/tmp/hooks/D01_modify_environment starting debug: Running on ionos16-i386. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Jun 17 14:00 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/8604/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/8604/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") BASH_VERSION='5.2.21(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=i386 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' DIRSTACK=() DISTRIBUTION=unstable EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=i686 HOST_ARCH=i386 IFS=' ' INVOCATION_ID=4a72aabc6d214d4d8b6a08e5bdc534ef LANG=C LANGUAGE=de_CH:de LC_ALL=C LD_LIBRARY_PATH=/usr/lib/libeatmydata LD_PRELOAD=libeatmydata.so MACHTYPE=i686-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=8604 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Udf7hBSq/pbuilderrc_yUMO --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Udf7hBSq/b2 --logfile b2/build.log pyreadstat_1.2.6-1.dsc' SUDO_GID=112 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://213.165.73.152:3128 I: uname -a Linux i-capture-the-hostname 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 Jun 16 14:14 /bin -> usr/bin I: user script /srv/workspace/pbuilder/8604/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: i386 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 ... 19686 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 321 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main i386 libpython3.11-minimal i386 3.11.9-1 [817 kB] Get: 2 http://deb.debian.org/debian unstable/main i386 libexpat1 i386 2.6.2-1 [107 kB] Get: 3 http://deb.debian.org/debian unstable/main i386 python3.11-minimal i386 3.11.9-1 [1918 kB] Get: 4 http://deb.debian.org/debian unstable/main i386 python3-minimal i386 3.11.8-1 [26.3 kB] Get: 5 http://deb.debian.org/debian unstable/main i386 media-types all 10.1.0 [26.9 kB] Get: 6 http://deb.debian.org/debian unstable/main i386 netbase all 6.4 [12.8 kB] Get: 7 http://deb.debian.org/debian unstable/main i386 tzdata all 2024a-4 [255 kB] Get: 8 http://deb.debian.org/debian unstable/main i386 readline-common all 8.2-4 [69.3 kB] Get: 9 http://deb.debian.org/debian unstable/main i386 libreadline8t64 i386 8.2-4 [171 kB] Get: 10 http://deb.debian.org/debian unstable/main i386 libpython3.11-stdlib i386 3.11.9-1 [1795 kB] Get: 11 http://deb.debian.org/debian unstable/main i386 python3.11 i386 3.11.9-1 [602 kB] Get: 12 http://deb.debian.org/debian unstable/main i386 libpython3-stdlib i386 3.11.8-1 [9336 B] Get: 13 http://deb.debian.org/debian unstable/main i386 python3 i386 3.11.8-1 [27.4 kB] Get: 14 http://deb.debian.org/debian unstable/main i386 libpython3.12-minimal i386 3.12.3-1 [809 kB] Get: 15 http://deb.debian.org/debian unstable/main i386 python3.12-minimal i386 3.12.3-1 [2224 kB] Get: 16 http://deb.debian.org/debian unstable/main i386 sensible-utils all 0.0.22 [22.4 kB] Get: 17 http://deb.debian.org/debian unstable/main i386 libmagic-mgc i386 1:5.45-3 [314 kB] Get: 18 http://deb.debian.org/debian unstable/main i386 libmagic1t64 i386 1:5.45-3 [114 kB] Get: 19 http://deb.debian.org/debian unstable/main i386 file i386 1:5.45-3 [42.9 kB] Get: 20 http://deb.debian.org/debian unstable/main i386 gettext-base i386 0.21-14+b1 [162 kB] Get: 21 http://deb.debian.org/debian unstable/main i386 libuchardet0 i386 0.0.8-1+b1 [69.1 kB] Get: 22 http://deb.debian.org/debian unstable/main i386 groff-base i386 1.23.0-4 [1194 kB] Get: 23 http://deb.debian.org/debian unstable/main i386 bsdextrautils i386 2.40.1-1 [98.5 kB] Get: 24 http://deb.debian.org/debian unstable/main i386 libpipeline1 i386 1.5.7-2 [39.7 kB] Get: 25 http://deb.debian.org/debian unstable/main i386 man-db i386 2.12.1-1 [1421 kB] Get: 26 http://deb.debian.org/debian unstable/main i386 m4 i386 1.4.19-4 [293 kB] Get: 27 http://deb.debian.org/debian unstable/main i386 autoconf all 2.71-3 [332 kB] Get: 28 http://deb.debian.org/debian unstable/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 30 http://deb.debian.org/debian unstable/main i386 autopoint all 0.21-14 [496 kB] Get: 31 http://deb.debian.org/debian unstable/main i386 cython3 i386 3.0.10+dfsg-5 [3548 kB] Get: 32 http://deb.debian.org/debian unstable/main i386 libdebhelper-perl all 13.15.3 [88.0 kB] Get: 33 http://deb.debian.org/debian unstable/main i386 libtool all 2.4.7-7 [517 kB] Get: 34 http://deb.debian.org/debian unstable/main i386 dh-autoreconf all 20 [17.1 kB] Get: 35 http://deb.debian.org/debian unstable/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 36 http://deb.debian.org/debian unstable/main i386 libsub-override-perl all 0.10-1 [10.6 kB] Get: 37 http://deb.debian.org/debian unstable/main i386 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 38 http://deb.debian.org/debian unstable/main i386 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 39 http://deb.debian.org/debian unstable/main i386 libelf1t64 i386 0.191-1+b1 [194 kB] Get: 40 http://deb.debian.org/debian unstable/main i386 dwz i386 0.15-1+b1 [116 kB] Get: 41 http://deb.debian.org/debian unstable/main i386 libicu72 i386 72.1-4+b1 [9549 kB] Get: 42 http://deb.debian.org/debian unstable/main i386 libxml2 i386 2.9.14+dfsg-1.3+b3 [727 kB] Get: 43 http://deb.debian.org/debian unstable/main i386 gettext i386 0.21-14+b1 [1311 kB] Get: 44 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 45 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 46 http://deb.debian.org/debian unstable/main i386 debhelper all 13.15.3 [901 kB] Get: 47 http://deb.debian.org/debian unstable/main i386 python3-pkg-resources all 68.1.2-2 [241 kB] Get: 48 http://deb.debian.org/debian unstable/main i386 python3-lib2to3 all 3.12.3-1 [77.6 kB] Get: 49 http://deb.debian.org/debian unstable/main i386 python3-distutils all 3.12.3-1 [131 kB] Get: 50 http://deb.debian.org/debian unstable/main i386 python3-setuptools all 68.1.2-2 [468 kB] Get: 51 http://deb.debian.org/debian unstable/main i386 dh-python all 6.20240422 [107 kB] Get: 52 http://deb.debian.org/debian unstable/main i386 libblas3 i386 3.12.0-3 [140 kB] Get: 53 http://deb.debian.org/debian unstable/main i386 libexpat1-dev i386 2.6.2-1 [165 kB] Get: 54 http://deb.debian.org/debian unstable/main i386 libgfortran5 i386 14.1.0-1 [733 kB] Get: 55 http://deb.debian.org/debian unstable/main i386 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 56 http://deb.debian.org/debian unstable/main i386 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 57 http://deb.debian.org/debian unstable/main i386 libjs-sphinxdoc all 7.2.6-7 [150 kB] Get: 58 http://deb.debian.org/debian unstable/main i386 liblapack3 i386 3.12.0-3 [2167 kB] Get: 59 http://deb.debian.org/debian unstable/main i386 libpython3.11t64 i386 3.11.9-1 [1982 kB] Get: 60 http://deb.debian.org/debian unstable/main i386 zlib1g-dev i386 1:1.3.dfsg+really1.3.1-1 [915 kB] Get: 61 http://deb.debian.org/debian unstable/main i386 libpython3.11-dev i386 3.11.9-1 [4632 kB] Get: 62 http://deb.debian.org/debian unstable/main i386 libpython3-dev i386 3.11.8-1 [9600 B] Get: 63 http://deb.debian.org/debian unstable/main i386 libpython3.12-stdlib i386 3.12.3-1 [1945 kB] Get: 64 http://deb.debian.org/debian unstable/main i386 libpython3.12t64 i386 3.12.3-1 [2141 kB] Get: 65 http://deb.debian.org/debian unstable/main i386 libpython3.12-dev i386 3.12.3-1 [5240 kB] Get: 66 http://deb.debian.org/debian unstable/main i386 libpython3-all-dev i386 3.11.8-1 [1068 B] Get: 67 http://deb.debian.org/debian unstable/main i386 python3.12 i386 3.12.3-1 [659 kB] Get: 68 http://deb.debian.org/debian unstable/main i386 python3-all i386 3.11.8-1 [1056 B] Get: 69 http://deb.debian.org/debian unstable/main i386 python3.11-dev i386 3.11.9-1 [501 kB] Get: 70 http://deb.debian.org/debian unstable/main i386 python3-dev i386 3.11.8-1 [26.1 kB] Get: 71 http://deb.debian.org/debian unstable/main i386 python3.12-dev i386 3.12.3-1 [499 kB] Get: 72 http://deb.debian.org/debian unstable/main i386 python3-all-dev i386 3.11.8-1 [1072 B] Get: 73 http://deb.debian.org/debian unstable/main i386 python3-six all 1.16.0-6 [16.3 kB] Get: 74 http://deb.debian.org/debian unstable/main i386 python3-dateutil all 2.9.0-2 [79.4 kB] Get: 75 http://deb.debian.org/debian unstable/main i386 python3-numpy i386 1:1.26.4+ds-8 [5469 kB] Get: 76 http://deb.debian.org/debian unstable/main i386 python3-tz all 2024.1-2 [30.9 kB] Get: 77 http://deb.debian.org/debian unstable/main i386 python3-pandas-lib i386 2.1.4+dfsg-8 [7491 kB] Get: 78 http://deb.debian.org/debian unstable/main i386 python3-pandas all 2.1.4+dfsg-8 [3015 kB] Fetched 71.2 MB in 2s (45.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19686 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.9-1_i386.deb ... Unpacking libpython3.11-minimal:i386 (3.11.9-1) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../libexpat1_2.6.2-1_i386.deb ... Unpacking libexpat1:i386 (2.6.2-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.9-1_i386.deb ... Unpacking python3.11-minimal (3.11.9-1) ... Setting up libpython3.11-minimal:i386 (3.11.9-1) ... Setting up libexpat1:i386 (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 ... 20002 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.8-1_i386.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:i386. Preparing to unpack .../5-libreadline8t64_8.2-4_i386.deb ... Adding 'diversion of /lib/i386-linux-gnu/libhistory.so.8 to /lib/i386-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libhistory.so.8.2 to /lib/i386-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libreadline.so.8 to /lib/i386-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libreadline.so.8.2 to /lib/i386-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:i386 (8.2-4) ... Selecting previously unselected package libpython3.11-stdlib:i386. Preparing to unpack .../6-libpython3.11-stdlib_3.11.9-1_i386.deb ... Unpacking libpython3.11-stdlib:i386 (3.11.9-1) ... Selecting previously unselected package python3.11. Preparing to unpack .../7-python3.11_3.11.9-1_i386.deb ... Unpacking python3.11 (3.11.9-1) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../8-libpython3-stdlib_3.11.8-1_i386.deb ... Unpacking libpython3-stdlib:i386 (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 ... 20994 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.8-1_i386.deb ... Unpacking python3 (3.11.8-1) ... Selecting previously unselected package libpython3.12-minimal:i386. Preparing to unpack .../01-libpython3.12-minimal_3.12.3-1_i386.deb ... Unpacking libpython3.12-minimal:i386 (3.12.3-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../02-python3.12-minimal_3.12.3-1_i386.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_i386.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:i386. Preparing to unpack .../05-libmagic1t64_1%3a5.45-3_i386.deb ... Unpacking libmagic1t64:i386 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.45-3_i386.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.21-14+b1_i386.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../08-libuchardet0_0.0.8-1+b1_i386.deb ... Unpacking libuchardet0:i386 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.23.0-4_i386.deb ... Unpacking groff-base (1.23.0-4) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../10-bsdextrautils_2.40.1-1_i386.deb ... Unpacking bsdextrautils (2.40.1-1) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../11-libpipeline1_1.5.7-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.12.1-1_i386.deb ... Unpacking man-db (2.12.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.19-4_i386.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_i386.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:i386. Preparing to unpack .../26-libelf1t64_0.191-1+b1_i386.deb ... Unpacking libelf1t64:i386 (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../27-dwz_0.15-1+b1_i386.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../28-libicu72_72.1-4+b1_i386.deb ... Unpacking libicu72:i386 (72.1-4+b1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../29-libxml2_2.9.14+dfsg-1.3+b3_i386.deb ... Unpacking libxml2:i386 (2.9.14+dfsg-1.3+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.21-14+b1_i386.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:i386. Preparing to unpack .../39-libblas3_3.12.0-3_i386.deb ... Unpacking libblas3:i386 (3.12.0-3) ... Selecting previously unselected package libexpat1-dev:i386. Preparing to unpack .../40-libexpat1-dev_2.6.2-1_i386.deb ... Unpacking libexpat1-dev:i386 (2.6.2-1) ... Selecting previously unselected package libgfortran5:i386. Preparing to unpack .../41-libgfortran5_14.1.0-1_i386.deb ... Unpacking libgfortran5:i386 (14.1.0-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-7_all.deb ... Unpacking libjs-sphinxdoc (7.2.6-7) ... Selecting previously unselected package liblapack3:i386. Preparing to unpack .../45-liblapack3_3.12.0-3_i386.deb ... Unpacking liblapack3:i386 (3.12.0-3) ... Selecting previously unselected package libpython3.11t64:i386. Preparing to unpack .../46-libpython3.11t64_3.11.9-1_i386.deb ... Unpacking libpython3.11t64:i386 (3.11.9-1) ... Selecting previously unselected package zlib1g-dev:i386. Preparing to unpack .../47-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1_i386.deb ... Unpacking zlib1g-dev:i386 (1:1.3.dfsg+really1.3.1-1) ... Selecting previously unselected package libpython3.11-dev:i386. Preparing to unpack .../48-libpython3.11-dev_3.11.9-1_i386.deb ... Unpacking libpython3.11-dev:i386 (3.11.9-1) ... Selecting previously unselected package libpython3-dev:i386. Preparing to unpack .../49-libpython3-dev_3.11.8-1_i386.deb ... Unpacking libpython3-dev:i386 (3.11.8-1) ... Selecting previously unselected package libpython3.12-stdlib:i386. Preparing to unpack .../50-libpython3.12-stdlib_3.12.3-1_i386.deb ... Unpacking libpython3.12-stdlib:i386 (3.12.3-1) ... Selecting previously unselected package libpython3.12t64:i386. Preparing to unpack .../51-libpython3.12t64_3.12.3-1_i386.deb ... Unpacking libpython3.12t64:i386 (3.12.3-1) ... Selecting previously unselected package libpython3.12-dev:i386. Preparing to unpack .../52-libpython3.12-dev_3.12.3-1_i386.deb ... Unpacking libpython3.12-dev:i386 (3.12.3-1) ... Selecting previously unselected package libpython3-all-dev:i386. Preparing to unpack .../53-libpython3-all-dev_3.11.8-1_i386.deb ... Unpacking libpython3-all-dev:i386 (3.11.8-1) ... Selecting previously unselected package python3.12. Preparing to unpack .../54-python3.12_3.12.3-1_i386.deb ... Unpacking python3.12 (3.12.3-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../55-python3-all_3.11.8-1_i386.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_i386.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_i386.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_i386.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_i386.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_i386.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:i386. Preparing to unpack .../64-python3-pandas-lib_2.1.4+dfsg-8_i386.deb ... Unpacking python3-pandas-lib:i386 (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:i386 (1.5.7-2) ... Setting up libicu72:i386 (72.1-4+b1) ... Setting up bsdextrautils (2.40.1-1) ... 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:i386 (1:5.45-3) ... Setting up libpython3.12-minimal:i386 (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:i386 (0.191-1+b1) ... Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' Local time is now: Tue Jun 17 14:00:37 UTC 2025. Universal Time is now: Tue Jun 17 14:00:37 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... Setting up libblas3:i386 (3.12.0-3) ... update-alternatives: using /usr/lib/i386-linux-gnu/blas/libblas.so.3 to provide /usr/lib/i386-linux-gnu/libblas.so.3 (libblas.so.3-i386-linux-gnu) in auto mode Setting up libexpat1-dev:i386 (2.6.2-1) ... Setting up autopoint (0.21-14) ... Setting up libgfortran5:i386 (14.1.0-1) ... Setting up autoconf (2.71-3) ... Setting up zlib1g-dev:i386 (1:1.3.dfsg+really1.3.1-1) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:i386 (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:i386 (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:i386 (3.12.0-3) ... update-alternatives: using /usr/lib/i386-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/i386-linux-gnu/liblapack.so.3 (liblapack.so.3-i386-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-7) ... Setting up libreadline8t64:i386 (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:i386 (3.12.3-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:i386 (3.11.9-1) ... Setting up python3.12 (3.12.3-1) ... Setting up libpython3.11t64:i386 (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:i386 (3.12.3-1) ... Setting up libpython3.11-dev:i386 (3.11.9-1) ... Setting up libpython3-stdlib:i386 (3.11.8-1) ... Setting up python3.11 (3.11.9-1) ... Setting up libpython3-dev:i386 (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:i386 (3.12.3-1) ... Setting up python3-tz (2024.1-2) ... Setting up python3-six (1.16.0-6) ... Setting up libpython3-all-dev:i386 (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:i386 (2.1.4+dfsg-8) ... Setting up python3-pandas (2.1.4+dfsg-8) ... Processing triggers for libc-bin (2.38-11) ... 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.34-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/8604/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for unstable I: user script /srv/workspace/pbuilder/8604/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/pyreadstat-1.2.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../pyreadstat_1.2.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 i386 dpkg-source: info: using options from pyreadstat-1.2.6/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/ fakeroot debian/rules clean dh clean --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/pyreadstat-1.2.6' # pass make[1]: Leaving directory '/build/reproducible-path/pyreadstat-1.2.6' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules build dh build --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.12 setup.py config [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx I: pybuild base:311: python3.11 setup.py config [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3.12 setup.py build [1/3] Cythonizing pyreadstat/_readstat_parser.pyx [2/3] Cythonizing pyreadstat/_readstat_writer.pyx [3/3] Cythonizing pyreadstat/pyreadstat.pyx ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value': pyreadstat/_readstat_parser.c: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 long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status': pyreadstat/_readstat_writer.c: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 long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value': pyreadstat/_readstat_parser.c: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 long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status': pyreadstat/_readstat_writer.c: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 long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value': pyreadstat/_readstat_parser.c: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 long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status': pyreadstat/_readstat_writer.c: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 long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ ./src/CKHashTable.c: In function 'ck_hash_table_grow': ./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_parser.c: In function '__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value': pyreadstat/_readstat_parser.c: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 long unsigned int'} [-Wsign-compare] 298 | for (int i=0; imissingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_get_missing_range_hi': ./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_variable.c: In function 'readstat_variable_add_missing_value_range': ./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) { | ^ ./src/readstat_writer.c: In function 'readstat_write_bytes_as_lines': ./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] 209 | if (len - bytes_written < bytes_left_in_line) { | ^ ./src/sas/readstat_sas.c: In function 'sas_read_header': ./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) { | ^ ./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | for (i=0; iread(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) { | ^ ./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) { | ^ ./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_value_labels': ./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) { | ^ ./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | if (label_pos >= label_count_used) { | ^~ ./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | if (&lbp1[30] - value_start > value_labels_len || | ^ ./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 89 | &lbp2[10] - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 116 | if (&lbp2[10] + label_len - value_start > value_labels_len) { | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_parse_block': ./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 152 | if (data_size < payload_offset) | ^ ./src/sas/readstat_sas7bcat_read.c: In function 'sas7bcat_read_block': ./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 351 | if (buffer_offset + chain_link_len > buffer_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_ctx_free': ./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 103 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_realloc_col_info': ./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 191 | if (ctx->col_info_count < count) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_handle_data_value': ./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 418 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (k=0; kwidth; k++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_single_row': ./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 465 | for (j=0; jcolumn_count; j++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_rows': ./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 491 | for (i=0; ipage_row_count && ctx->parsed_row_count < ctx->row_limit; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rdc': ./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 569 | if (output - buffer < back_offset || copy_len > back_offset) { | ^ ./src/sas/readstat_sas7bdat_read.c:583:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 583 | if (output - buffer != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_subheader_rle': ./src/sas/readstat_sas7bdat_read.c:603:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 603 | if (bytes_decompressed != ctx->row_length) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_submit_columns': ./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 763 | for (i=0; icolumn_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass1': ./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_page_pass2': ./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 942 | if (!ctx->little_endian && signature == -1 && ctx->u64) { | ^~ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_meta_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1013 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_amd_pages_pass1': ./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) { | ^ ./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) { | ^ ./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) { | ^ ./src/sas/readstat_sas7bdat_read.c: In function 'sas7bdat_parse_all_pages_pass2': ./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long long int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1139 | for (i=0; ipage_count; i++) { | ^ ./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] 1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) { | ^ ./src/sas/readstat_xport_read.c: In function 'xport_read_timestamp_record': ./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (i=0; irow_length) { | ^ ./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 648 | for (pos=0; posrow_length; pos++) { | ^ ./src/sas/readstat_xport_read.c: In function 'readstat_parse_xport': ./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por.c: In function 'por_utf8_encode': ./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 106 | for (i=0; i output_len) | ^ ./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 124 | if (offset + 2 > output_len) | ^ ./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | if (offset + 3 > output_len) | ^ ./src/spss/readstat_por.c: In function 'por_utf8_decode': ./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 151 | if (offset + 1 > output_len) | ^ ./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: 'wchar_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) { | ^~ ./src/spss/readstat_por_read.c: In function 'maybe_read_string': ./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 227 | if (bytes_encoded == -1) { | ^~ ./src/spss/readstat_por_read.c: In function 'read_variable_record': ./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i=0; ifile_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) { | ^~ ./src/spss/readstat_por_write.c: In function 'por_write_ctx_init': ./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | for (i=0; irecord_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav.c:47:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index; | ^~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_variable_record': ./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:190:84: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_label': ./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:227:57: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 227 | if (io->read(label_buf, label_capacity, io->io_ctx) < label_capacity) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_double_values': ./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 255 | < info->n_missing_values * sizeof(double)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_missing_string_values': ./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_variable_record': ./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 320 | if (ctx->var_index == ctx->varinfo_capacity) { | ^~ ./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) { | ^ ./src/spss/readstat_sav_read.c:330:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:331:63: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write; | ^~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:333:60: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type; | ^~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c:384:86: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_sav_read.c: In function 'sav_skip_value_label_record': ./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 416 | for (i=0; iread(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_value_label_record': ./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 504 | for (i=0; iread(label_buf, padded_label_len, io->io_ctx) < padded_label_len) { | ^ ./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 561 | for (i=0; iread(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_read_document_record': ./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 651 | for (i=0; iread(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_process_row': ./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: 'readstat_off_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_machine_integer_info_record': ./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_long_string_missing_values_record': ./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1225 | for (i=0; ivar_index;) { | ^ ./src/spss/readstat_sav_read.c: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 'int'} and 'unsigned int' [-Wsign-compare] 1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'sav_parse_records_pass2': ./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) { | ^ ./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) { | ^ ./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) { | ^ ./src/spss/readstat_sav_read.c: In function 'readstat_parse_sav': ./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1582 | if (file_size == -1) { | ^~ ./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) { | ^ ./src/spss/readstat_spss.c: In function 'spss_format': ./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0]) | ^~ ./src/spss/readstat_zsav_read.c: In function 'zsav_read_compressed_data': ./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) { | ^ ./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) { | ^ ./src/spss/readstat_zsav_read.c:83:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:84:61: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero; | ^~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:85:73: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size; | ^~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:86:69: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; | ^~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < | ^ ./src/spss/readstat_zsav_read.c:107:85: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:108:81: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'uint64_t' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs; | ^~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:109:87: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size; | ^~~~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:110:83: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: 'uLongf' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) { | ^~ ./src/stata/readstat_dta.c: In function 'dta_ctx_free': ./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for (i=0; istrls_count; i++) { | ^ ./src/stata/readstat_dta_read.c: In function 'dta_read_chunk': ./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_expansion_fields': ./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 267 | if (io->read(buffer, len, io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_read_tag': ./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_117_read_strl': ./src/stata/readstat_dta_read.c:371:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_118_read_strl': ./src/stata/readstat_dta_read.c:390:54: warning: operand of '?:' changes signedness from 'int32_t' {aka 'int'} to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len; | ^~~~~~~~~~ ./src/stata/readstat_dta_read.c: In function 'dta_read_strls': ./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_rows': ./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) { | ^~ ./src/stata/readstat_dta_read.c: In function 'dta_handle_value_labels': ./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t)) | ^ ./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) | ^ ./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len) | ^ ./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1044 | if (io->read(table_buffer, len, io->io_ctx) < len) { | ^ ./src/stata/readstat_dta_read.c: In function 'readstat_parse_dta': ./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1154 | if (file_size == -1) { | ^~ pyreadstat/_readstat_writer.c: In function '__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status': pyreadstat/_readstat_writer.c: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-dbgsym' in '../python3-pyreadstat-dbgsym_1.2.6-1_i386.deb'. dpkg-deb: building package 'python3-pyreadstat' in '../python3-pyreadstat_1.2.6-1_i386.deb'. dpkg-genbuildinfo --build=binary -O../pyreadstat_1.2.6-1_i386.buildinfo dpkg-genchanges --build=binary -O../pyreadstat_1.2.6-1_i386.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: user script /srv/workspace/pbuilder/8604/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/8604/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/8604 and its subdirectories I: Current time: Wed Jun 18 04:05:26 +14 2025 I: pbuilder-time-stamp: 1750169126