<86>Sep 14 10:35:52 userdel[3346736]: delete user 'rooter' <86>Sep 14 10:35:52 userdel[3346736]: removed group 'rooter' owned by 'rooter' <86>Sep 14 10:35:52 groupadd[3346752]: group added to /etc/group: name=rooter, GID=693 <86>Sep 14 10:35:52 groupadd[3346752]: group added to /etc/gshadow: name=rooter <86>Sep 14 10:35:52 groupadd[3346752]: new group: name=rooter, GID=693 <86>Sep 14 10:35:52 useradd[3346771]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>Sep 14 10:35:52 userdel[3346785]: delete user 'builder' <86>Sep 14 10:35:52 groupadd[3346801]: group added to /etc/group: name=builder, GID=694 <86>Sep 14 10:35:52 groupadd[3346801]: group added to /etc/gshadow: name=builder <86>Sep 14 10:35:52 groupadd[3346801]: new group: name=builder, GID=694 <86>Sep 14 10:35:52 useradd[3346810]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/libsz2-2.1-alt4.src.rpm: license not found in '/usr/share/license' directory: Free /usr/src/in/srpm/libsz2-2.1-alt4.src.rpm: license not found in '/usr/share/license' directory: for /usr/src/in/srpm/libsz2-2.1-alt4.src.rpm: license not found in '/usr/share/license' directory: non-commercial /usr/src/in/srpm/libsz2-2.1-alt4.src.rpm: license not found in '/usr/share/license' directory: using Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libsz2-2.1-alt4.nosrc.rpm (w1.gzdio) Installing libsz2-2.1-alt4.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.67362 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libsz2-2.1 + echo 'Source #0 (szip-2.1.tar.gz):' Source #0 (szip-2.1.tar.gz): + /bin/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/szip-2.1.tar.gz + cd libsz2-2.1 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67362 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libsz2-2.1 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, 'bin'. libtoolize-default: linking file 'bin/config.guess' libtoolize-default: linking file 'bin/config.sub' libtoolize-default: linking file 'bin/install-sh' libtoolize-default: linking file 'bin/ltmain.sh' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:72: installing 'bin/compile' configure.ac:12: installing 'bin/missing' examples/Makefile.am: installing 'bin/depcomp' parallel-tests: installing 'bin/test-driver' autoreconf-default: Leaving directory `.' + export 'CPPFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + CPPFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-production configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for config i586-alt-linux-gnu... no checking for config i586-alt-linux-gnu... no checking for config alt-linux-gnu... no checking for config alt-linux-gnu... no checking for config i586-linux-gnu... no checking for config i586-linux-gnu... no checking for config i586-alt... no checking for config linux-gnu... found compiler 'gcc' is GNU gcc-11.2.1 checking for i586-alt-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for ar... ar checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... (cached) ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for build mode... production checking for math library support... no checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for error_at_line... yes checking for working memcmp... yes checking for vprintf... yes checking for _doprnt... no checking for memset... yes checking if encoding enabled... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating examples/Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating src/SZconfig.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + make -j8 Making all in src make all-am make[2]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c -o encoding.lo encoding.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c encoding.c -fPIC -DPIC -o .libs/encoding.o encoding.c:16:15: warning: 'szip_encoder_status' initialized and declared 'extern' 16 | extern char * szip_encoder_status = "SZIP ENCODER ENABLED"; | ^~~~~~~~~~~~~~~~~~~ encoding.c:16:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16 | extern char * szip_encoder_status = "SZIP ENCODER ENABLED"; | ^~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c encoding.c -o encoding.o >/dev/null 2>&1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c -o sz_api.lo sz_api.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c sz_api.c -fPIC -DPIC -o .libs/sz_api.o sz_api.c:46:6: warning: redundant redeclaration of 'szip_compress_memory' [-Wredundant-decls] 46 | long szip_compress_memory( | ^~~~~~~~~~~~~~~~~~~~ In file included from szlib.h:42, from sz_api.c:44: ricehdf.h:62:6: note: previous declaration of 'szip_compress_memory' with type 'long int(int, int, int, int, const void *, long int, char *)' 62 | long szip_compress_memory( | ^~~~~~~~~~~~~~~~~~~~ sz_api.c:55:6: warning: redundant redeclaration of 'szip_uncompress_memory' [-Wredundant-decls] 55 | long szip_uncompress_memory( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from szlib.h:42, from sz_api.c:44: ricehdf.h:71:6: note: previous declaration of 'szip_uncompress_memory' with type 'long int(int, int, int, int, const char *, long int, void *, long int)' 71 | long szip_uncompress_memory( | ^~~~~~~~~~~~~~~~~~~~~~ sz_api.c:65:5: warning: redundant redeclaration of 'szip_check_params' [-Wredundant-decls] 65 | int szip_check_params( | ^~~~~~~~~~~~~~~~~ In file included from szlib.h:42, from sz_api.c:44: ricehdf.h:81:5: note: previous declaration of 'szip_check_params' with type 'int(int, int, int, long int, char **)' 81 | int szip_check_params( | ^~~~~~~~~~~~~~~~~ sz_api.c: In function 'SZ_Compress': sz_api.c:123:52: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 123 | hidden->image_in = (char *) malloc(image_size); | ^~~~~~~~~~ sz_api.c:130:30: warning: conversion from 'double' to 'long int' may change value [-Wfloat-conversion] 130 | image_size = strm->image_pixels * bytes_per_pixel * 1.75; | ^~~~ sz_api.c:131:53: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 131 | hidden->image_out = (char *) malloc(image_size); | ^~~~~~~~~~ sz_api.c:139:44: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 139 | size_in = hidden->avail_in < strm->avail_in ? hidden->avail_in : strm->avail_in; | ^ sz_api.c:139:63: warning: operand of '?:' changes signedness from 'long int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 139 | size_in = hidden->avail_in < strm->avail_in ? hidden->avail_in : strm->avail_in; | ^~~~~~~~~~~~~~~~ sz_api.c:139:80: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 139 | size_in = hidden->avail_in < strm->avail_in ? hidden->avail_in : strm->avail_in; | ^ sz_api.c:139:27: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 139 | size_in = hidden->avail_in < strm->avail_in ? hidden->avail_in : strm->avail_in; | ^~~~~~ sz_api.c:140:56: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 140 | memcpy(hidden->next_in, strm->next_in, size_in); | ^~~~~~~ sz_api.c:145:32: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 145 | strm->avail_in -= size_in; | ^~ sz_api.c:146:32: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 146 | strm->total_in += size_in; | ^~ sz_api.c:167:46: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 167 | size_out = hidden->avail_out < strm->avail_out ? hidden->avail_out : strm->avail_out; | ^ sz_api.c:167:66: warning: operand of '?:' changes signedness from 'long int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 167 | size_out = hidden->avail_out < strm->avail_out ? hidden->avail_out : strm->avail_out; | ^~~~~~~~~~~~~~~~~ sz_api.c:167:84: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 167 | size_out = hidden->avail_out < strm->avail_out ? hidden->avail_out : strm->avail_out; | ^ sz_api.c:167:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 167 | size_out = hidden->avail_out < strm->avail_out ? hidden->avail_out : strm->avail_out; | ^~~~~~ sz_api.c:168:58: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 168 | memcpy(strm->next_out, hidden->next_out, size_out); | ^~~~~~~~ sz_api.c:173:33: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 173 | strm->avail_out -= size_out; | ^~ sz_api.c:174:33: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 174 | strm->total_out += size_out; | ^~ sz_api.c: In function 'SZ_Decompress': sz_api.c:269:30: warning: conversion from 'double' to 'long int' may change value [-Wfloat-conversion] 269 | image_size = strm->image_pixels * bytes_per_pixel * 1.75; | ^~~~ sz_api.c:270:52: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 270 | hidden->image_in = (char *) malloc(image_size); | ^~~~~~~~~~ sz_api.c:277:30: warning: conversion from 'double' to 'long int' may change value [-Wfloat-conversion] 277 | image_size = strm->image_pixels * bytes_per_pixel * 1.0; | ^~~~ sz_api.c:278:53: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 278 | hidden->image_out = (char *) malloc(image_size); | ^~~~~~~~~~ sz_api.c:286:44: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 286 | size_in = hidden->avail_in < strm->avail_in ? hidden->avail_in : strm->avail_in; | ^ sz_api.c:286:63: warning: operand of '?:' changes signedness from 'long int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | size_in = hidden->avail_in < strm->avail_in ? hidden->avail_in : strm->avail_in; | ^~~~~~~~~~~~~~~~ sz_api.c:286:80: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 286 | size_in = hidden->avail_in < strm->avail_in ? hidden->avail_in : strm->avail_in; | ^ sz_api.c:286:27: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 286 | size_in = hidden->avail_in < strm->avail_in ? hidden->avail_in : strm->avail_in; | ^~~~~~ sz_api.c:287:56: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 287 | memcpy(hidden->next_in, strm->next_in, size_in); | ^~~~~~~ sz_api.c:292:32: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 292 | strm->avail_in -= size_in; | ^~ sz_api.c:293:32: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 293 | strm->total_in += size_in; | ^~ sz_api.c:311:46: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 311 | size_out = hidden->avail_out < strm->avail_out ? hidden->avail_out : strm->avail_out; | ^ sz_api.c:311:66: warning: operand of '?:' changes signedness from 'long int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 311 | size_out = hidden->avail_out < strm->avail_out ? hidden->avail_out : strm->avail_out; | ^~~~~~~~~~~~~~~~~ sz_api.c:311:84: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 311 | size_out = hidden->avail_out < strm->avail_out ? hidden->avail_out : strm->avail_out; | ^ sz_api.c:311:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 311 | size_out = hidden->avail_out < strm->avail_out ? hidden->avail_out : strm->avail_out; | ^~~~~~ sz_api.c:312:58: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 312 | memcpy(strm->next_out, hidden->next_out, size_out); | ^~~~~~~~ sz_api.c:317:33: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 317 | strm->avail_out -= size_out; | ^~ sz_api.c:318:33: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 318 | strm->total_out += size_out; | ^~ sz_api.c: In function 'SZ_BufftoBuffCompress': sz_api.c:395:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 395 | pixels = (sourceLen+bytes_per_pixel-1)/bytes_per_pixel; | ^ sz_api.c:395:47: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 395 | pixels = (sourceLen+bytes_per_pixel-1)/bytes_per_pixel; | ^ sz_api.c:395:18: warning: conversion to 'long int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 395 | pixels = (sourceLen+bytes_per_pixel-1)/bytes_per_pixel; | ^ sz_api.c:396:20: warning: conversion from 'double' to 'long int' may change value [-Wfloat-conversion] 396 | out_size = sourceLen * 2.00; | ^~~~~~~~~ sz_api.c:398:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare] 398 | if (*destLen >= out_size) | ^~ sz_api.c:402:45: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 402 | image_out = (char *) malloc(out_size); | ^~~~~~~~ sz_api.c:417:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare] 417 | if (*destLen >= output_bytes) | ^~ sz_api.c:418:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 418 | *destLen = output_bytes; | ^~~~~~~~~~~~ sz_api.c: In function 'SZ_BufftoBuffDecompress': sz_api.c:453:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 453 | pixels = *destLen/bytes_per_pixel; | ^ sz_api.c:453:18: warning: conversion to 'long int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 453 | pixels = *destLen/bytes_per_pixel; | ^ sz_api.c:455:140: warning: conversion to 'long int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 455 | output_bytes = szip_uncompress_memory(sz->options_mask, sz->bits_per_pixel, sz->pixels_per_block, sz->pixels_per_scanline, source, sourceLen, dest, pixels); | ^~~~~~~~~ sz_api.c:463:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 463 | *destLen = output_bytes; | ^~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c sz_api.c -o sz_api.o >/dev/null 2>&1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c -o rice.lo rice.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c rice.c -fPIC -DPIC -o .libs/rice.o rice.c:106:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 106 | static int (*winner_function)(); | ^~~~~~ rice.c:107:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 107 | static int (*winner_ref_function)(); | ^~~~~~ rice.c: In function 'warning': rice.c:252:21: warning: unused parameter 'fmt' [-Wunused-parameter] 252 | warning(const char *fmt, ...) | ~~~~~~~~~~~~^~~ rice.c: In function 'error': rice.c:267:19: warning: unused parameter 'fmt' [-Wunused-parameter] 267 | error(const char *fmt, ...) | ~~~~~~~~~~~~^~~ rice.c: At top level: rice.c:301:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 301 | getch() | ^~~~~ rice.c:333:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 333 | read_header() | ^~~~~~~~~~~ rice.c: In function 'read_header': rice.c:340:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 340 | value = getch(); | ^~~~~ rice.c:341:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 341 | value = (value << 8) | getch(); | ^ rice.c:355:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 355 | value = (value << 8) | getch(); | ^ rice.c:356:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 356 | value = (value << 8) | getch(); | ^ rice.c:360:36: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 360 | pixels_per_block = ((value >> 17) & 0x1f) * 2 + 2; | ^ rice.c:366:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 366 | value = (value << 8) | getch(); | ^ rice.c:367:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 367 | value = (value << 8) | getch(); | ^ rice.c:371:36: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 371 | pixels_per_block = ((value >> 14) & 0x1f) * 2 + 2; | ^ rice.c:380:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 380 | value = getch(); | ^~~~~ rice.c:392:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 392 | value = (value << 8) | getch(); | ^ rice.c:393:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 393 | value = (value << 8) | getch(); | ^ rice.c:394:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 394 | value = (value << 8) | getch(); | ^ rice.c: At top level: rice.c:423:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 423 | write_header() | ^~~~~~~~~~~~ rice.c: In function 'write_header': rice.c:455:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 455 | value |= (msb_first == 1) << 14; | ^~ rice.c:456:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 456 | value |= (compression_mode == NN_MODE) << 12; | ^~ rice.c:457:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 457 | value |= n << 9; | ^~ rice.c:458:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 458 | value |= j << 6; | ^~ rice.c:459:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 459 | value |= m << 2; | ^~ rice.c:460:34: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 460 | *global_bptr++ = value >> 8; | ^~~~~ rice.c:461:34: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 461 | *global_bptr++ = value; | ^~~~~ rice.c:467:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 467 | value |= (msb_first == 1) << 29; | ^~ rice.c:468:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 468 | value |= (compression_mode == NN_MODE) << 26; | ^~ rice.c:469:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 469 | value |= (bits_per_pixel - 1) << 22; | ^~ rice.c:470:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 470 | value |= (pixels_per_block/2 - 1) << 17; | ^~ rice.c:471:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 471 | value |= (pixels_per_scanline - 1) << 3; | ^~ rice.c:473:34: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 473 | *global_bptr++ = value >> 24; | ^~~~~ rice.c:474:34: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 474 | *global_bptr++ = value >> 16; | ^~~~~ rice.c:475:34: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 475 | *global_bptr++ = value >> 8; | ^~~~~ rice.c:476:34: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 476 | *global_bptr++ = value; | ^~~~~ rice.c:482:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 482 | value |= (msb_first == 1) << 28; | ^~ rice.c:483:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 483 | value |= (compression_mode == NN_MODE) << 25; | ^~ rice.c:484:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 484 | value |= (bits_per_pixel - 1) << 19; | ^~ rice.c:485:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 485 | value |= (pixels_per_block/2 - 1) << 14; | ^~ rice.c:486:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 486 | value |= (pixels_per_scanline - 1); | ^~ rice.c:488:34: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 488 | *global_bptr++ = value >> 24; | ^~~~~ rice.c:489:34: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 489 | *global_bptr++ = value >> 16; | ^~~~~ rice.c:490:34: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 490 | *global_bptr++ = value >> 8; | ^~~~~ rice.c:491:34: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 491 | *global_bptr++ = value; | ^~~~~ rice.c:509:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 509 | value |= i; | ^~ rice.c:510:42: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 510 | *global_bptr++ = value; | ^~~~~ rice.c:516:31: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 516 | value |= input_pixel_count; | ^~ rice.c:517:42: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 517 | *global_bptr++ = value >> 24; | ^~~~~ rice.c:518:42: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 518 | *global_bptr++ = value >> 16; | ^~~~~ rice.c:519:42: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 519 | *global_bptr++ = value >> 8; | ^~~~~ rice.c:520:42: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 520 | *global_bptr++ = value; | ^~~~~ rice.c: At top level: rice.c:537:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 537 | fix_last_scanline(byte_buffer, n) | ^~~~~~~~~~~~~~~~~ rice.c: In function 'fix_last_scanline': rice.c:554:65: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 554 | memset(byte_buffer + n, ch, pixels_per_scanline - n); | ~~~~~~~~~~~~~~~~~~~~^~~ rice.c:565:32: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 565 | *p++ = ch1; | ^~~ rice.c:566:32: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 566 | *p++ = ch2; | ^~~ rice.c:580:32: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 580 | *p++ = ch1; | ^~~ rice.c:581:32: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 581 | *p++ = ch2; | ^~~ rice.c:582:32: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 582 | *p++ = ch3; | ^~~ rice.c:583:32: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 583 | *p++ = ch4; | ^~~ rice.c: At top level: rice.c:604:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 604 | encode_scanline() | ^~~~~~~~~~~~~~~ rice.c: In function 'encode_scanline': rice.c:606:15: warning: declaration of 'bptr' shadows a global declaration [-Wshadow] 606 | char *bptr; | ^~~~ rice.c:163:14: note: shadowed declaration is here 163 | static char *bptr; | ^~~~ rice.c:638:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 638 | mask = masknot[bits_per_pixel]; | ^~~~~~~ rice.c:658:63: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 658 | memcpy(byte_buffer, input_byte_data, 2*n); | ~^~ rice.c:679:79: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 679 | x1 = ((*(b+0) << 8) + *(b+1)) & mask; | ^ rice.c:679:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 679 | x1 = ((*(b+0) << 8) + *(b+1)) & mask; | ^ rice.c:680:79: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 680 | x2 = ((*(b+2) << 8) + *(b+3)) & mask; | ^ rice.c:680:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 680 | x2 = ((*(b+2) << 8) + *(b+3)) & mask; | ^ rice.c:681:79: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 681 | x3 = ((*(b+4) << 8) + *(b+5)) & mask; | ^ rice.c:681:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 681 | x3 = ((*(b+4) << 8) + *(b+5)) & mask; | ^ rice.c:682:79: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 682 | x4 = ((*(b+6) << 8) + *(b+7)) & mask; | ^ rice.c:682:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 682 | x4 = ((*(b+6) << 8) + *(b+7)) & mask; | ^ rice.c:688:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 688 | *s++ = del << 1; | ^~~ rice.c:690:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 690 | *s++ = x1; | ^~ rice.c:695:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 695 | *s++ = ((-del)<<1) - 1; | ^ rice.c:697:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 697 | *s++ = xmax-x1; | ^~~~ rice.c:704:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 704 | *s++ = del << 1; | ^~~ rice.c:706:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 706 | *s++ = x2; | ^~ rice.c:711:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 711 | *s++ = ((-del)<<1) - 1; | ^ rice.c:713:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 713 | *s++ = xmax-x2; | ^~~~ rice.c:720:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 720 | *s++ = del << 1; | ^~~ rice.c:722:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 722 | *s++ = x3; | ^~ rice.c:727:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 727 | *s++ = ((-del)<<1) - 1; | ^ rice.c:729:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 729 | *s++ = xmax-x3; | ^~~~ rice.c:736:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 736 | *s++ = del << 1; | ^~~ rice.c:738:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 738 | *s++ = x4; | ^~ rice.c:743:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 743 | *s++ = ((-del)<<1) - 1; | ^ rice.c:745:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 745 | *s++ = xmax-x4; | ^~~~ rice.c:753:74: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 753 | x = ((*b << 8) + *(b+1)) & mask; | ^ rice.c:753:53: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 753 | x = ((*b << 8) + *(b+1)) & mask; | ^ rice.c:759:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 759 | *s++ = del << 1; | ^~~ rice.c:761:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 761 | *s++ = x; | ^ rice.c:766:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 766 | *s++ = ((-del)<<1) - 1; | ^ rice.c:768:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 768 | *s++ = xmax-x; | ^~~~ rice.c:778:69: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 778 | *s++ = ((*b << 8) + *(b+1)) & mask; | ^ rice.c:791:79: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 791 | x1 = ((*(b+1) << 8) + *(b+0)) & mask; | ^ rice.c:791:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 791 | x1 = ((*(b+1) << 8) + *(b+0)) & mask; | ^ rice.c:792:79: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 792 | x2 = ((*(b+3) << 8) + *(b+2)) & mask; | ^ rice.c:792:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 792 | x2 = ((*(b+3) << 8) + *(b+2)) & mask; | ^ rice.c:793:79: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 793 | x3 = ((*(b+5) << 8) + *(b+4)) & mask; | ^ rice.c:793:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 793 | x3 = ((*(b+5) << 8) + *(b+4)) & mask; | ^ rice.c:794:79: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 794 | x4 = ((*(b+7) << 8) + *(b+6)) & mask; | ^ rice.c:794:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 794 | x4 = ((*(b+7) << 8) + *(b+6)) & mask; | ^ rice.c:800:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 800 | *s++ = del << 1; | ^~~ rice.c:802:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 802 | *s++ = x1; | ^~ rice.c:807:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 807 | *s++ = ((-del)<<1) - 1; | ^ rice.c:809:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 809 | *s++ = xmax-x1; | ^~~~ rice.c:816:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 816 | *s++ = del << 1; | ^~~ rice.c:818:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 818 | *s++ = x2; | ^~ rice.c:823:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 823 | *s++ = ((-del)<<1) - 1; | ^ rice.c:825:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 825 | *s++ = xmax-x2; | ^~~~ rice.c:832:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 832 | *s++ = del << 1; | ^~~ rice.c:834:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 834 | *s++ = x3; | ^~ rice.c:839:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 839 | *s++ = ((-del)<<1) - 1; | ^ rice.c:841:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 841 | *s++ = xmax-x3; | ^~~~ rice.c:848:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 848 | *s++ = del << 1; | ^~~ rice.c:850:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 850 | *s++ = x4; | ^~ rice.c:855:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 855 | *s++ = ((-del)<<1) - 1; | ^ rice.c:857:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 857 | *s++ = xmax-x4; | ^~~~ rice.c:865:74: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 865 | x = ((*(b+1) << 8) + *b) & mask; | ^ rice.c:865:53: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 865 | x = ((*(b+1) << 8) + *b) & mask; | ^ rice.c:871:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 871 | *s++ = del << 1; | ^~~ rice.c:873:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 873 | *s++ = x; | ^ rice.c:878:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 878 | *s++ = ((-del)<<1) - 1; | ^ rice.c:880:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 880 | *s++ = xmax-x; | ^~~~ rice.c:890:68: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 890 | *s++ =((*(b+1) << 8) + *b) & mask; | ^ rice.c:918:62: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 918 | memcpy(byte_buffer, input_byte_data, n); | ^ rice.c:937:46: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 937 | x1 = *b++ & mask; | ^ rice.c:938:46: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 938 | x2 = *b++ & mask; | ^ rice.c:939:46: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 939 | x3 = *b++ & mask; | ^ rice.c:940:46: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 940 | x4 = *b++ & mask; | ^ rice.c:945:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 945 | *s++ = del << 1; | ^~~ rice.c:947:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 947 | *s++ = x1; | ^~ rice.c:952:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 952 | *s++ = ((-del)<<1) - 1; | ^ rice.c:954:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 954 | *s++ = xmax-x1; | ^~~~ rice.c:961:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 961 | *s++ = del << 1; | ^~~ rice.c:963:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 963 | *s++ = x2; | ^~ rice.c:968:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 968 | *s++ = ((-del)<<1) - 1; | ^ rice.c:970:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 970 | *s++ = xmax-x2; | ^~~~ rice.c:977:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 977 | *s++ = del << 1; | ^~~ rice.c:979:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 979 | *s++ = x3; | ^~ rice.c:984:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 984 | *s++ = ((-del)<<1) - 1; | ^ rice.c:986:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 986 | *s++ = xmax-x3; | ^~~~ rice.c:993:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 993 | *s++ = del << 1; | ^~~ rice.c:995:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 995 | *s++ = x4; | ^~ rice.c:1000:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1000 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1002:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1002 | *s++ = xmax-x4; | ^~~~ rice.c:1010:45: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1010 | x = *b++ & mask; | ^ rice.c:1015:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1015 | *s++ = del << 1; | ^~~ rice.c:1017:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1017 | *s++ = x; | ^ rice.c:1022:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1022 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1024:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1024 | *s++ = xmax-x; | ^~~~ rice.c:1064:63: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1064 | memcpy(byte_buffer, input_byte_data, 4*n); | ~^~ rice.c:1085:99: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1085 | x1 = ((*(b+1) << 16) | (*(b+2) << 8) | *(b+3)) & mask; | ^ rice.c:1085:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1085 | x1 = ((*(b+1) << 16) | (*(b+2) << 8) | *(b+3)) & mask; | ^ rice.c:1086:99: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1086 | x2 = ((*(b+5) << 16) | (*(b+6) << 8) | *(b+7)) & mask; | ^ rice.c:1086:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1086 | x2 = ((*(b+5) << 16) | (*(b+6) << 8) | *(b+7)) & mask; | ^ rice.c:1087:99: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1087 | x3 = ((*(b+9) << 16) | (*(b+10) << 8) | *(b+11)) & mask; | ^ rice.c:1087:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1087 | x3 = ((*(b+9) << 16) | (*(b+10) << 8) | *(b+11)) & mask; | ^ rice.c:1088:99: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1088 | x4 = ((*(b+13) << 16) | (*(b+14) << 8) | *(b+15)) & mask; | ^ rice.c:1088:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1088 | x4 = ((*(b+13) << 16) | (*(b+14) << 8) | *(b+15)) & mask; | ^ rice.c:1094:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1094 | *s++ = del << 1; | ^~~ rice.c:1096:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1096 | *s++ = x1; | ^~ rice.c:1101:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1101 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1103:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1103 | *s++ = xmax-x1; | ^~~~ rice.c:1110:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1110 | *s++ = del << 1; | ^~~ rice.c:1112:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1112 | *s++ = x2; | ^~ rice.c:1117:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1117 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1119:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1119 | *s++ = xmax-x2; | ^~~~ rice.c:1126:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1126 | *s++ = del << 1; | ^~~ rice.c:1128:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1128 | *s++ = x3; | ^~ rice.c:1133:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1133 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1135:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1135 | *s++ = xmax-x3; | ^~~~ rice.c:1142:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1142 | *s++ = del << 1; | ^~~ rice.c:1144:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1144 | *s++ = x4; | ^~ rice.c:1149:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1149 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1151:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1151 | *s++ = xmax-x4; | ^~~~ rice.c:1159:95: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1159 | x = ((*(b+1) << 16) | (*(b+2) << 8) | *(b+3)) & mask; | ^ rice.c:1159:53: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1159 | x = ((*(b+1) << 16) | (*(b+2) << 8) | *(b+3)) & mask; | ^ rice.c:1165:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1165 | *s++ = del << 1; | ^~~ rice.c:1167:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1167 | *s++ = x; | ^ rice.c:1172:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1172 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1174:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1174 | *s++ = xmax-x; | ^~~~ rice.c:1184:90: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1184 | *s++ = ((*(b+1) << 16) | (*(b+2) << 8) | *(b+3)) & mask; | ^ rice.c:1197:99: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1197 | x1 = ((*(b+2) << 16) | (*(b+1) << 8) | *(b+0)) & mask; | ^ rice.c:1197:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1197 | x1 = ((*(b+2) << 16) | (*(b+1) << 8) | *(b+0)) & mask; | ^ rice.c:1198:99: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1198 | x2 = ((*(b+6) << 16) | (*(b+5) << 8) | *(b+4)) & mask; | ^ rice.c:1198:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1198 | x2 = ((*(b+6) << 16) | (*(b+5) << 8) | *(b+4)) & mask; | ^ rice.c:1199:99: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1199 | x3 = ((*(b+10) << 16) | (*(b+9) << 8) | *(b+8)) & mask; | ^ rice.c:1199:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1199 | x3 = ((*(b+10) << 16) | (*(b+9) << 8) | *(b+8)) & mask; | ^ rice.c:1200:99: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1200 | x4 = ((*(b+14) << 16) | (*(b+13) << 8) | *(b+12)) & mask; | ^ rice.c:1200:54: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1200 | x4 = ((*(b+14) << 16) | (*(b+13) << 8) | *(b+12)) & mask; | ^ rice.c:1206:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1206 | *s++ = del << 1; | ^~~ rice.c:1208:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1208 | *s++ = x1; | ^~ rice.c:1213:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1213 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1215:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1215 | *s++ = xmax-x1; | ^~~~ rice.c:1222:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1222 | *s++ = del << 1; | ^~~ rice.c:1224:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1224 | *s++ = x2; | ^~ rice.c:1229:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1229 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1231:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1231 | *s++ = xmax-x2; | ^~~~ rice.c:1238:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1238 | *s++ = del << 1; | ^~~ rice.c:1240:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1240 | *s++ = x3; | ^~ rice.c:1245:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1245 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1247:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1247 | *s++ = xmax-x3; | ^~~~ rice.c:1254:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1254 | *s++ = del << 1; | ^~~ rice.c:1256:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1256 | *s++ = x4; | ^~ rice.c:1261:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1261 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1263:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1263 | *s++ = xmax-x4; | ^~~~ rice.c:1271:91: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1271 | x = ((*(b+2) << 16) | (*(b+1) << 8) | *b) & mask; | ^ rice.c:1271:53: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1271 | x = ((*(b+2) << 16) | (*(b+1) << 8) | *b) & mask; | ^ rice.c:1277:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1277 | *s++ = del << 1; | ^~~ rice.c:1279:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1279 | *s++ = x; | ^ rice.c:1284:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1284 | *s++ = ((-del)<<1) - 1; | ^ rice.c:1286:72: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1286 | *s++ = xmax-x; | ^~~~ rice.c:1296:85: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1296 | *s++ =((*(b+2) << 16) | (*(b+1) << 8) | *b) & mask; | ^ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1326:25: note: in expansion of macro 'pack1' 1326 | pack1(0, id_bits+1); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1326:25: note: in expansion of macro 'pack1' 1326 | pack1(0, id_bits+1); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1326:25: note: in expansion of macro 'pack1' 1326 | pack1(0, id_bits+1); | ^~~~~ rice.c:220:23: warning: declaration of 'value' shadows a previous local [-Wshadow] 220 | unsigned long value; \ | ^~~~~ rice.c:1327:25: note: in expansion of macro 'pack2' 1327 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:632:23: note: shadowed declaration is here 632 | unsigned long value; | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1327:25: note: in expansion of macro 'pack2' 1327 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:209:31: warning: declaration of 'v16' shadows a previous local [-Wshadow] 209 | unsigned long v16; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1327:25: note: in expansion of macro 'pack2' 1327 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:227:31: note: shadowed declaration is here 227 | unsigned long v16; \ | ^~~ rice.c:1327:25: note: in expansion of macro 'pack2' 1327 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1327:25: note: in expansion of macro 'pack2' 1327 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1327:25: note: in expansion of macro 'pack2' 1327 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1327:25: note: in expansion of macro 'pack2' 1327 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1327:25: note: in expansion of macro 'pack2' 1327 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1327:25: note: in expansion of macro 'pack2' 1327 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1331:33: note: in expansion of macro 'pack1' 1331 | pack1(1, 1); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1331:33: note: in expansion of macro 'pack1' 1331 | pack1(1, 1); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1344:33: note: in expansion of macro 'pack1' 1344 | pack1(id, id_bits); | ^~~~~ rice.c:206:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 206 | packed_value |= value << packed_bits; \ | ^~ rice.c:1344:33: note: in expansion of macro 'pack1' 1344 | pack1(id, id_bits); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1344:33: note: in expansion of macro 'pack1' 1344 | pack1(id, id_bits); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1344:33: note: in expansion of macro 'pack1' 1344 | pack1(id, id_bits); | ^~~~~ rice.c:220:23: warning: declaration of 'value' shadows a previous local [-Wshadow] 220 | unsigned long value; \ | ^~~~~ rice.c:1345:33: note: in expansion of macro 'pack2' 1345 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:632:23: note: shadowed declaration is here 632 | unsigned long value; | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1345:33: note: in expansion of macro 'pack2' 1345 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:209:31: warning: declaration of 'v16' shadows a previous local [-Wshadow] 209 | unsigned long v16; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1345:33: note: in expansion of macro 'pack2' 1345 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:227:31: note: shadowed declaration is here 227 | unsigned long v16; \ | ^~~ rice.c:1345:33: note: in expansion of macro 'pack2' 1345 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1345:33: note: in expansion of macro 'pack2' 1345 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1345:33: note: in expansion of macro 'pack2' 1345 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1345:33: note: in expansion of macro 'pack2' 1345 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1345:33: note: in expansion of macro 'pack2' 1345 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1345:33: note: in expansion of macro 'pack2' 1345 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:220:23: warning: declaration of 'value' shadows a previous local [-Wshadow] 220 | unsigned long value; \ | ^~~~~ rice.c:1349:49: note: in expansion of macro 'pack2' 1349 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:632:23: note: shadowed declaration is here 632 | unsigned long value; | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1349:49: note: in expansion of macro 'pack2' 1349 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:209:31: warning: declaration of 'v16' shadows a previous local [-Wshadow] 209 | unsigned long v16; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1349:49: note: in expansion of macro 'pack2' 1349 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:227:31: note: shadowed declaration is here 227 | unsigned long v16; \ | ^~~ rice.c:1349:49: note: in expansion of macro 'pack2' 1349 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1349:49: note: in expansion of macro 'pack2' 1349 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1349:49: note: in expansion of macro 'pack2' 1349 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1349:49: note: in expansion of macro 'pack2' 1349 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1349:49: note: in expansion of macro 'pack2' 1349 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1349:49: note: in expansion of macro 'pack2' 1349 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:1357:57: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1357 | fsval = (*s1++ >> ksplits) + 1; | ^ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1358:49: note: in expansion of macro 'packfs' 1358 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1358:49: note: in expansion of macro 'packfs' 1358 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1358:49: note: in expansion of macro 'packfs' 1358 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1358:49: note: in expansion of macro 'packfs' 1358 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1358:49: note: in expansion of macro 'packfs' 1358 | packfs(fsval); | ^~~~~~ rice.c:1361:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1361 | mask = masknot[ksplits]; | ^~~~~~~ rice.c:220:23: warning: declaration of 'value' shadows a previous local [-Wshadow] 220 | unsigned long value; \ | ^~~~~ rice.c:1365:49: note: in expansion of macro 'pack2' 1365 | pack2(num, ksplits); | ^~~~~ rice.c:632:23: note: shadowed declaration is here 632 | unsigned long value; | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1365:49: note: in expansion of macro 'pack2' 1365 | pack2(num, ksplits); | ^~~~~ rice.c:209:31: warning: declaration of 'v16' shadows a previous local [-Wshadow] 209 | unsigned long v16; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1365:49: note: in expansion of macro 'pack2' 1365 | pack2(num, ksplits); | ^~~~~ rice.c:227:31: note: shadowed declaration is here 227 | unsigned long v16; \ | ^~~ rice.c:1365:49: note: in expansion of macro 'pack2' 1365 | pack2(num, ksplits); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1365:49: note: in expansion of macro 'pack2' 1365 | pack2(num, ksplits); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1365:49: note: in expansion of macro 'pack2' 1365 | pack2(num, ksplits); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1365:49: note: in expansion of macro 'pack2' 1365 | pack2(num, ksplits); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1365:49: note: in expansion of macro 'pack2' 1365 | pack2(num, ksplits); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1365:49: note: in expansion of macro 'pack2' 1365 | pack2(num, ksplits); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1371:33: note: in expansion of macro 'pack1' 1371 | pack1(id, id_bits); | ^~~~~ rice.c:206:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 206 | packed_value |= value << packed_bits; \ | ^~ rice.c:1371:33: note: in expansion of macro 'pack1' 1371 | pack1(id, id_bits); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1371:33: note: in expansion of macro 'pack1' 1371 | pack1(id, id_bits); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1371:33: note: in expansion of macro 'pack1' 1371 | pack1(id, id_bits); | ^~~~~ rice.c:220:23: warning: declaration of 'value' shadows a previous local [-Wshadow] 220 | unsigned long value; \ | ^~~~~ rice.c:1372:33: note: in expansion of macro 'pack2' 1372 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:632:23: note: shadowed declaration is here 632 | unsigned long value; | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1372:33: note: in expansion of macro 'pack2' 1372 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:209:31: warning: declaration of 'v16' shadows a previous local [-Wshadow] 209 | unsigned long v16; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1372:33: note: in expansion of macro 'pack2' 1372 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:227:31: note: shadowed declaration is here 227 | unsigned long v16; \ | ^~~ rice.c:1372:33: note: in expansion of macro 'pack2' 1372 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1372:33: note: in expansion of macro 'pack2' 1372 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1372:33: note: in expansion of macro 'pack2' 1372 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1372:33: note: in expansion of macro 'pack2' 1372 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1372:33: note: in expansion of macro 'pack2' 1372 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1372:33: note: in expansion of macro 'pack2' 1372 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:1375:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1375 | fsval = *s++ + 1; | ^ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1376:41: note: in expansion of macro 'packfs' 1376 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1376:41: note: in expansion of macro 'packfs' 1376 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1376:41: note: in expansion of macro 'packfs' 1376 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1376:41: note: in expansion of macro 'packfs' 1376 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1376:41: note: in expansion of macro 'packfs' 1376 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1381:33: note: in expansion of macro 'pack1' 1381 | pack1(1, id_bits+1); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1381:33: note: in expansion of macro 'pack1' 1381 | pack1(1, id_bits+1); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1381:33: note: in expansion of macro 'pack1' 1381 | pack1(1, id_bits+1); | ^~~~~ rice.c:220:23: warning: declaration of 'value' shadows a previous local [-Wshadow] 220 | unsigned long value; \ | ^~~~~ rice.c:1382:33: note: in expansion of macro 'pack2' 1382 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:632:23: note: shadowed declaration is here 632 | unsigned long value; | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1382:33: note: in expansion of macro 'pack2' 1382 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:209:31: warning: declaration of 'v16' shadows a previous local [-Wshadow] 209 | unsigned long v16; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1382:33: note: in expansion of macro 'pack2' 1382 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:227:31: note: shadowed declaration is here 227 | unsigned long v16; \ | ^~~ rice.c:1382:33: note: in expansion of macro 'pack2' 1382 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1382:33: note: in expansion of macro 'pack2' 1382 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1382:33: note: in expansion of macro 'pack2' 1382 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1382:33: note: in expansion of macro 'pack2' 1382 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1382:33: note: in expansion of macro 'pack2' 1382 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1382:33: note: in expansion of macro 'pack2' 1382 | pack2(*sigma, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1384:33: note: in expansion of macro 'packfs' 1384 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1384:33: note: in expansion of macro 'packfs' 1384 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1384:33: note: in expansion of macro 'packfs' 1384 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1384:33: note: in expansion of macro 'packfs' 1384 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1384:33: note: in expansion of macro 'packfs' 1384 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1388:41: note: in expansion of macro 'packfs' 1388 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1388:41: note: in expansion of macro 'packfs' 1388 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1388:41: note: in expansion of macro 'packfs' 1388 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1388:41: note: in expansion of macro 'packfs' 1388 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1388:41: note: in expansion of macro 'packfs' 1388 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1410:33: note: in expansion of macro 'pack1' 1410 | pack1(0, id_bits+1); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1410:33: note: in expansion of macro 'pack1' 1410 | pack1(0, id_bits+1); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1410:33: note: in expansion of macro 'pack1' 1410 | pack1(0, id_bits+1); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1420:33: note: in expansion of macro 'packfs' 1420 | packfs(newbits); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1420:33: note: in expansion of macro 'packfs' 1420 | packfs(newbits); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1420:33: note: in expansion of macro 'packfs' 1420 | packfs(newbits); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1420:33: note: in expansion of macro 'packfs' 1420 | packfs(newbits); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1420:33: note: in expansion of macro 'packfs' 1420 | packfs(newbits); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1435:33: note: in expansion of macro 'packfs' 1435 | packfs(newbits); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1435:33: note: in expansion of macro 'packfs' 1435 | packfs(newbits); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1435:33: note: in expansion of macro 'packfs' 1435 | packfs(newbits); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1435:33: note: in expansion of macro 'packfs' 1435 | packfs(newbits); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1435:33: note: in expansion of macro 'packfs' 1435 | packfs(newbits); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1444:33: note: in expansion of macro 'pack1' 1444 | pack1(id, id_bits); | ^~~~~ rice.c:206:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 206 | packed_value |= value << packed_bits; \ | ^~ rice.c:1444:33: note: in expansion of macro 'pack1' 1444 | pack1(id, id_bits); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1444:33: note: in expansion of macro 'pack1' 1444 | pack1(id, id_bits); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1444:33: note: in expansion of macro 'pack1' 1444 | pack1(id, id_bits); | ^~~~~ rice.c:220:23: warning: declaration of 'value' shadows a previous local [-Wshadow] 220 | unsigned long value; \ | ^~~~~ rice.c:1448:49: note: in expansion of macro 'pack2' 1448 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:632:23: note: shadowed declaration is here 632 | unsigned long value; | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1448:49: note: in expansion of macro 'pack2' 1448 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:209:31: warning: declaration of 'v16' shadows a previous local [-Wshadow] 209 | unsigned long v16; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1448:49: note: in expansion of macro 'pack2' 1448 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:227:31: note: shadowed declaration is here 227 | unsigned long v16; \ | ^~~ rice.c:1448:49: note: in expansion of macro 'pack2' 1448 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1448:49: note: in expansion of macro 'pack2' 1448 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1448:49: note: in expansion of macro 'pack2' 1448 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1448:49: note: in expansion of macro 'pack2' 1448 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1448:49: note: in expansion of macro 'pack2' 1448 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1448:49: note: in expansion of macro 'pack2' 1448 | pack2(*s++, bits_per_pixel); | ^~~~~ rice.c:1459:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1459 | fsval = (*s1++ >> 1) + 1; | ^ rice.c:1460:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1460 | fsval2 = (*s1++ >> 1) + 1; | ^ rice.c:1463:81: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1463 | value = (1 << fsval2) | 1; | ^ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1464:73: note: in expansion of macro 'pack1' 1464 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1464:73: note: in expansion of macro 'pack1' 1464 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1464:73: note: in expansion of macro 'pack1' 1464 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1468:73: note: in expansion of macro 'packfs' 1468 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1468:73: note: in expansion of macro 'packfs' 1468 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1468:73: note: in expansion of macro 'packfs' 1468 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1468:73: note: in expansion of macro 'packfs' 1468 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1468:73: note: in expansion of macro 'packfs' 1468 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1469:73: note: in expansion of macro 'packfs' 1469 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1469:73: note: in expansion of macro 'packfs' 1469 | packfs(fsval2); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1469:73: note: in expansion of macro 'packfs' 1469 | packfs(fsval2); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1469:73: note: in expansion of macro 'packfs' 1469 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1469:73: note: in expansion of macro 'packfs' 1469 | packfs(fsval2); | ^~~~~~ rice.c:1478:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1478 | value = (value << 1) | *s++ & 1; | ~~~~~^~~ rice.c:1479:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1479 | value = (value << 1) | *s++ & 1; | ~~~~~^~~ rice.c:1480:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1480 | value = (value << 1) | *s++ & 1; | ~~~~~^~~ rice.c:1481:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1481 | value = (value << 1) | *s++ & 1; | ~~~~~^~~ rice.c:1482:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1482 | value = (value << 1) | *s++ & 1; | ~~~~~^~~ rice.c:1483:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1483 | value = (value << 1) | *s++ & 1; | ~~~~~^~~ rice.c:1484:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1484 | value = (value << 1) | *s++ & 1; | ~~~~~^~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1485:73: note: in expansion of macro 'pack1' 1485 | pack1(value, 8); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1485:73: note: in expansion of macro 'pack1' 1485 | pack1(value, 8); | ^~~~~ rice.c:1492:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1492 | value = (value << 1) | *s++ & 1; | ~~~~~^~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1493:73: note: in expansion of macro 'pack1' 1493 | pack1(value, 2); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1493:73: note: in expansion of macro 'pack1' 1493 | pack1(value, 2); | ^~~~~ rice.c:1500:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1500 | fsval = (*s1++ >> 2) + 1; | ^ rice.c:1501:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1501 | fsval2 = (*s1++ >> 2) + 1; | ^ rice.c:1504:81: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1504 | value = (1 << fsval2) | 1; | ^ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1505:73: note: in expansion of macro 'pack1' 1505 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1505:73: note: in expansion of macro 'pack1' 1505 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1505:73: note: in expansion of macro 'pack1' 1505 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1509:73: note: in expansion of macro 'packfs' 1509 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1509:73: note: in expansion of macro 'packfs' 1509 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1509:73: note: in expansion of macro 'packfs' 1509 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1509:73: note: in expansion of macro 'packfs' 1509 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1509:73: note: in expansion of macro 'packfs' 1509 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1510:73: note: in expansion of macro 'packfs' 1510 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1510:73: note: in expansion of macro 'packfs' 1510 | packfs(fsval2); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1510:73: note: in expansion of macro 'packfs' 1510 | packfs(fsval2); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1510:73: note: in expansion of macro 'packfs' 1510 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1510:73: note: in expansion of macro 'packfs' 1510 | packfs(fsval2); | ^~~~~~ rice.c:1519:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1519 | value = (value << 2) | *s++ & 3; | ~~~~~^~~ rice.c:1520:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1520 | value = (value << 2) | *s++ & 3; | ~~~~~^~~ rice.c:1521:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1521 | value = (value << 2) | *s++ & 3; | ~~~~~^~~ rice.c:1522:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1522 | value = (value << 2) | *s++ & 3; | ~~~~~^~~ rice.c:1523:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1523 | value = (value << 2) | *s++ & 3; | ~~~~~^~~ rice.c:1524:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1524 | value = (value << 2) | *s++ & 3; | ~~~~~^~~ rice.c:1525:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1525 | value = (value << 2) | *s++ & 3; | ~~~~~^~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1526:73: note: in expansion of macro 'pack1' 1526 | pack1(value, 16); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1526:73: note: in expansion of macro 'pack1' 1526 | pack1(value, 16); | ^~~~~ rice.c:1533:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1533 | value = (value << 2) | *s++ & 3; | ~~~~~^~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1534:73: note: in expansion of macro 'pack1' 1534 | pack1(value, 4); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1534:73: note: in expansion of macro 'pack1' 1534 | pack1(value, 4); | ^~~~~ rice.c:1541:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1541 | fsval = (*s1++ >> 3) + 1; | ^ rice.c:1542:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1542 | fsval2 = (*s1++ >> 3) + 1; | ^ rice.c:1545:81: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1545 | value = (1 << fsval2) | 1; | ^ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1546:73: note: in expansion of macro 'pack1' 1546 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1546:73: note: in expansion of macro 'pack1' 1546 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1546:73: note: in expansion of macro 'pack1' 1546 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1550:73: note: in expansion of macro 'packfs' 1550 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1550:73: note: in expansion of macro 'packfs' 1550 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1550:73: note: in expansion of macro 'packfs' 1550 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1550:73: note: in expansion of macro 'packfs' 1550 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1550:73: note: in expansion of macro 'packfs' 1550 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1551:73: note: in expansion of macro 'packfs' 1551 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1551:73: note: in expansion of macro 'packfs' 1551 | packfs(fsval2); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1551:73: note: in expansion of macro 'packfs' 1551 | packfs(fsval2); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1551:73: note: in expansion of macro 'packfs' 1551 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1551:73: note: in expansion of macro 'packfs' 1551 | packfs(fsval2); | ^~~~~~ rice.c:1560:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1560 | value = (value << 3) | *s++ & 7; | ~~~~~^~~ rice.c:1561:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1561 | value = (value << 3) | *s++ & 7; | ~~~~~^~~ rice.c:1562:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1562 | value = (value << 3) | *s++ & 7; | ~~~~~^~~ rice.c:1563:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1563 | value = (value << 3) | *s++ & 7; | ~~~~~^~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1564:73: note: in expansion of macro 'pack1' 1564 | pack1(value, 15); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1564:73: note: in expansion of macro 'pack1' 1564 | pack1(value, 15); | ^~~~~ rice.c:1567:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1567 | value = (value << 3) | *s++ & 7; | ~~~~~^~~ rice.c:1568:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1568 | value = (value << 3) | *s++ & 7; | ~~~~~^~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1569:73: note: in expansion of macro 'pack1' 1569 | pack1(value, 9); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1569:73: note: in expansion of macro 'pack1' 1569 | pack1(value, 9); | ^~~~~ rice.c:1576:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1576 | value = (value << 3) | *s++ & 7; | ~~~~~^~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1577:73: note: in expansion of macro 'pack1' 1577 | pack1(value, 6); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1577:73: note: in expansion of macro 'pack1' 1577 | pack1(value, 6); | ^~~~~ rice.c:1584:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1584 | fsval = (*s1++ >> 4) + 1; | ^ rice.c:1585:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1585 | fsval2 = (*s1++ >> 4) + 1; | ^ rice.c:1588:81: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1588 | value = (1 << fsval2) | 1; | ^ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1589:73: note: in expansion of macro 'pack1' 1589 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1589:73: note: in expansion of macro 'pack1' 1589 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1589:73: note: in expansion of macro 'pack1' 1589 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1593:73: note: in expansion of macro 'packfs' 1593 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1593:73: note: in expansion of macro 'packfs' 1593 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1593:73: note: in expansion of macro 'packfs' 1593 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1593:73: note: in expansion of macro 'packfs' 1593 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1593:73: note: in expansion of macro 'packfs' 1593 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1594:73: note: in expansion of macro 'packfs' 1594 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1594:73: note: in expansion of macro 'packfs' 1594 | packfs(fsval2); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1594:73: note: in expansion of macro 'packfs' 1594 | packfs(fsval2); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1594:73: note: in expansion of macro 'packfs' 1594 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1594:73: note: in expansion of macro 'packfs' 1594 | packfs(fsval2); | ^~~~~~ rice.c:1603:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1603 | value = (value << 4) | *s++ & 0xf; | ~~~~~^~~~~ rice.c:1604:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1604 | value = (value << 4) | *s++ & 0xf; | ~~~~~^~~~~ rice.c:1605:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1605 | value = (value << 4) | *s++ & 0xf; | ~~~~~^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1606:73: note: in expansion of macro 'pack1' 1606 | pack1(value, 16); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1606:73: note: in expansion of macro 'pack1' 1606 | pack1(value, 16); | ^~~~~ rice.c:1609:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1609 | value = (value << 4) | *s++ & 0xf; | ~~~~~^~~~~ rice.c:1610:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1610 | value = (value << 4) | *s++ & 0xf; | ~~~~~^~~~~ rice.c:1611:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1611 | value = (value << 4) | *s++ & 0xf; | ~~~~~^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1612:73: note: in expansion of macro 'pack1' 1612 | pack1(value, 16); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1612:73: note: in expansion of macro 'pack1' 1612 | pack1(value, 16); | ^~~~~ rice.c:1619:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1619 | value = (value << 4) | *s++ & 0xf; | ~~~~~^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1620:73: note: in expansion of macro 'pack1' 1620 | pack1(value, 8); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1620:73: note: in expansion of macro 'pack1' 1620 | pack1(value, 8); | ^~~~~ rice.c:1627:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1627 | fsval = (*s1++ >> 5) + 1; | ^ rice.c:1628:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1628 | fsval2 = (*s1++ >> 5) + 1; | ^ rice.c:1631:81: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1631 | value = (1 << fsval2) | 1; | ^ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1632:73: note: in expansion of macro 'pack1' 1632 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1632:73: note: in expansion of macro 'pack1' 1632 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1632:73: note: in expansion of macro 'pack1' 1632 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1636:73: note: in expansion of macro 'packfs' 1636 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1636:73: note: in expansion of macro 'packfs' 1636 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1636:73: note: in expansion of macro 'packfs' 1636 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1636:73: note: in expansion of macro 'packfs' 1636 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1636:73: note: in expansion of macro 'packfs' 1636 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1637:73: note: in expansion of macro 'packfs' 1637 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1637:73: note: in expansion of macro 'packfs' 1637 | packfs(fsval2); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1637:73: note: in expansion of macro 'packfs' 1637 | packfs(fsval2); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1637:73: note: in expansion of macro 'packfs' 1637 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1637:73: note: in expansion of macro 'packfs' 1637 | packfs(fsval2); | ^~~~~~ rice.c:1646:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1646 | value = (value << 5) | *s++ & 0x1f; | ~~~~~^~~~~~ rice.c:1647:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1647 | value = (value << 5) | *s++ & 0x1f; | ~~~~~^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1648:73: note: in expansion of macro 'pack1' 1648 | pack1(value, 15); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1648:73: note: in expansion of macro 'pack1' 1648 | pack1(value, 15); | ^~~~~ rice.c:1651:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1651 | value = (value << 5) | *s++ & 0x1f; | ~~~~~^~~~~~ rice.c:1652:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1652 | value = (value << 5) | *s++ & 0x1f; | ~~~~~^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1653:73: note: in expansion of macro 'pack1' 1653 | pack1(value, 15); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1653:73: note: in expansion of macro 'pack1' 1653 | pack1(value, 15); | ^~~~~ rice.c:1656:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1656 | value = (value << 5) | *s++ & 0x1f; | ~~~~~^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1657:73: note: in expansion of macro 'pack1' 1657 | pack1(value, 10); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1657:73: note: in expansion of macro 'pack1' 1657 | pack1(value, 10); | ^~~~~ rice.c:1664:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1664 | value = (value << 5) | *s++ & 0x1f; | ~~~~~^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1665:73: note: in expansion of macro 'pack1' 1665 | pack1(value, 10); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1665:73: note: in expansion of macro 'pack1' 1665 | pack1(value, 10); | ^~~~~ rice.c:1672:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1672 | fsval = (*s1++ >> 6) + 1; | ^ rice.c:1673:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1673 | fsval2 = (*s1++ >> 6) + 1; | ^ rice.c:1676:81: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1676 | value = (1 << fsval2) | 1; | ^ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1677:73: note: in expansion of macro 'pack1' 1677 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1677:73: note: in expansion of macro 'pack1' 1677 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1677:73: note: in expansion of macro 'pack1' 1677 | pack1(value, fsval + fsval2); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1681:73: note: in expansion of macro 'packfs' 1681 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1681:73: note: in expansion of macro 'packfs' 1681 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1681:73: note: in expansion of macro 'packfs' 1681 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1681:73: note: in expansion of macro 'packfs' 1681 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1681:73: note: in expansion of macro 'packfs' 1681 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1682:73: note: in expansion of macro 'packfs' 1682 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1682:73: note: in expansion of macro 'packfs' 1682 | packfs(fsval2); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1682:73: note: in expansion of macro 'packfs' 1682 | packfs(fsval2); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1682:73: note: in expansion of macro 'packfs' 1682 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1682:73: note: in expansion of macro 'packfs' 1682 | packfs(fsval2); | ^~~~~~ rice.c:1689:93: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1689 | value = (value << 6) | *s++ & 0x3f; | ~~~~~^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1690:65: note: in expansion of macro 'pack1' 1690 | pack1(value, 12); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1690:65: note: in expansion of macro 'pack1' 1690 | pack1(value, 12); | ^~~~~ rice.c:1697:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1697 | fsval = (*s1++ >> 7) + 1; | ^ rice.c:1698:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1698 | fsval2 = (*s1++ >> 7) + 1; | ^ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1699:65: note: in expansion of macro 'packfs' 1699 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1699:65: note: in expansion of macro 'packfs' 1699 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1699:65: note: in expansion of macro 'packfs' 1699 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1699:65: note: in expansion of macro 'packfs' 1699 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1699:65: note: in expansion of macro 'packfs' 1699 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1700:65: note: in expansion of macro 'packfs' 1700 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1700:65: note: in expansion of macro 'packfs' 1700 | packfs(fsval2); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1700:65: note: in expansion of macro 'packfs' 1700 | packfs(fsval2); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1700:65: note: in expansion of macro 'packfs' 1700 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1700:65: note: in expansion of macro 'packfs' 1700 | packfs(fsval2); | ^~~~~~ rice.c:1706:93: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1706 | value = (value << 7) | *s++ & 0x7f; | ~~~~~^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1707:65: note: in expansion of macro 'pack1' 1707 | pack1(value, 14); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1707:65: note: in expansion of macro 'pack1' 1707 | pack1(value, 14); | ^~~~~ rice.c:1714:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1714 | fsval = (*s1++ >> 8) + 1; | ^ rice.c:1715:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1715 | fsval2 = (*s1++ >> 8) + 1; | ^ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1716:65: note: in expansion of macro 'packfs' 1716 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1716:65: note: in expansion of macro 'packfs' 1716 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1716:65: note: in expansion of macro 'packfs' 1716 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1716:65: note: in expansion of macro 'packfs' 1716 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1716:65: note: in expansion of macro 'packfs' 1716 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1717:65: note: in expansion of macro 'packfs' 1717 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1717:65: note: in expansion of macro 'packfs' 1717 | packfs(fsval2); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1717:65: note: in expansion of macro 'packfs' 1717 | packfs(fsval2); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1717:65: note: in expansion of macro 'packfs' 1717 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1717:65: note: in expansion of macro 'packfs' 1717 | packfs(fsval2); | ^~~~~~ rice.c:1723:93: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1723 | value = (value << 8) | *s++ & 0xff; | ~~~~~^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1724:65: note: in expansion of macro 'pack1' 1724 | pack1(value, 16); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1724:65: note: in expansion of macro 'pack1' 1724 | pack1(value, 16); | ^~~~~ rice.c:1737:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1737 | fsval = (*s1++ >> ksplits) + 1; | ^ rice.c:1738:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1738 | fsval2 = (*s1++ >> ksplits) + 1; | ^ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1739:65: note: in expansion of macro 'packfs' 1739 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1739:65: note: in expansion of macro 'packfs' 1739 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1739:65: note: in expansion of macro 'packfs' 1739 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1739:65: note: in expansion of macro 'packfs' 1739 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1739:65: note: in expansion of macro 'packfs' 1739 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1740:65: note: in expansion of macro 'packfs' 1740 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1740:65: note: in expansion of macro 'packfs' 1740 | packfs(fsval2); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1740:65: note: in expansion of macro 'packfs' 1740 | packfs(fsval2); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1740:65: note: in expansion of macro 'packfs' 1740 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1740:65: note: in expansion of macro 'packfs' 1740 | packfs(fsval2); | ^~~~~~ rice.c:1743:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1743 | mask = masknot[ksplits]; | ^~~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1747:65: note: in expansion of macro 'pack1' 1747 | pack1(num, ksplits); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1747:65: note: in expansion of macro 'pack1' 1747 | pack1(num, ksplits); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1747:65: note: in expansion of macro 'pack1' 1747 | pack1(num, ksplits); | ^~~~~ rice.c:1754:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1754 | fsval = (*s1++ >> ksplits) + 1; | ^ rice.c:1755:74: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1755 | fsval2 = (*s1++ >> ksplits) + 1; | ^ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1756:65: note: in expansion of macro 'packfs' 1756 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1756:65: note: in expansion of macro 'packfs' 1756 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1756:65: note: in expansion of macro 'packfs' 1756 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1756:65: note: in expansion of macro 'packfs' 1756 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1756:65: note: in expansion of macro 'packfs' 1756 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1757:65: note: in expansion of macro 'packfs' 1757 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1757:65: note: in expansion of macro 'packfs' 1757 | packfs(fsval2); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1757:65: note: in expansion of macro 'packfs' 1757 | packfs(fsval2); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1757:65: note: in expansion of macro 'packfs' 1757 | packfs(fsval2); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1757:65: note: in expansion of macro 'packfs' 1757 | packfs(fsval2); | ^~~~~~ rice.c:1760:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1760 | mask = masknot[ksplits]; | ^~~~~~~ rice.c:220:23: warning: declaration of 'value' shadows a previous local [-Wshadow] 220 | unsigned long value; \ | ^~~~~ rice.c:1764:65: note: in expansion of macro 'pack2' 1764 | pack2(num, ksplits); | ^~~~~ rice.c:632:23: note: shadowed declaration is here 632 | unsigned long value; | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1764:65: note: in expansion of macro 'pack2' 1764 | pack2(num, ksplits); | ^~~~~ rice.c:209:31: warning: declaration of 'v16' shadows a previous local [-Wshadow] 209 | unsigned long v16; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1764:65: note: in expansion of macro 'pack2' 1764 | pack2(num, ksplits); | ^~~~~ rice.c:227:31: note: shadowed declaration is here 227 | unsigned long v16; \ | ^~~ rice.c:1764:65: note: in expansion of macro 'pack2' 1764 | pack2(num, ksplits); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1764:65: note: in expansion of macro 'pack2' 1764 | pack2(num, ksplits); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:230:17: note: in expansion of macro 'pack1' 230 | pack1(v16, pbits); \ | ^~~~~ rice.c:1764:65: note: in expansion of macro 'pack2' 1764 | pack2(num, ksplits); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1764:65: note: in expansion of macro 'pack2' 1764 | pack2(num, ksplits); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1764:65: note: in expansion of macro 'pack2' 1764 | pack2(num, ksplits); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:235:9: note: in expansion of macro 'pack1' 235 | pack1(value, pbits); \ | ^~~~~ rice.c:1764:65: note: in expansion of macro 'pack2' 1764 | pack2(num, ksplits); | ^~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:1772:33: note: in expansion of macro 'pack1' 1772 | pack1(id, id_bits); | ^~~~~ rice.c:206:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 206 | packed_value |= value << packed_bits; \ | ^~ rice.c:1772:33: note: in expansion of macro 'pack1' 1772 | pack1(id, id_bits); | ^~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:1772:33: note: in expansion of macro 'pack1' 1772 | pack1(id, id_bits); | ^~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:1772:33: note: in expansion of macro 'pack1' 1772 | pack1(id, id_bits); | ^~~~~ rice.c:1775:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1775 | fsval = *s++ + 1; | ^ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1776:41: note: in expansion of macro 'packfs' 1776 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1776:41: note: in expansion of macro 'packfs' 1776 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1776:41: note: in expansion of macro 'packfs' 1776 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1776:41: note: in expansion of macro 'packfs' 1776 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1776:41: note: in expansion of macro 'packfs' 1776 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1781:33: note: in expansion of macro 'packfs' 1781 | packfs(id_bits+1); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1781:33: note: in expansion of macro 'packfs' 1781 | packfs(id_bits+1); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1781:33: note: in expansion of macro 'packfs' 1781 | packfs(id_bits+1); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1781:33: note: in expansion of macro 'packfs' 1781 | packfs(id_bits+1); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1781:33: note: in expansion of macro 'packfs' 1781 | packfs(id_bits+1); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1785:41: note: in expansion of macro 'packfs' 1785 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:245:17: note: in expansion of macro 'pack1' 245 | pack1(0, 16); \ | ^~~~~ rice.c:1785:41: note: in expansion of macro 'packfs' 1785 | packfs(fsval); | ^~~~~~ rice.c:204:21: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 204 | packed_bits -= pbits; \ | ^~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1785:41: note: in expansion of macro 'packfs' 1785 | packfs(fsval); | ^~~~~~ rice.c:211:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 211 | *bptr++ = v16 >> 8; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1785:41: note: in expansion of macro 'packfs' 1785 | packfs(fsval); | ^~~~~~ rice.c:212:27: warning: conversion from 'long unsigned int' to 'char' may change value [-Wconversion] 212 | *bptr++ = v16 & 0xff; \ | ^~~ rice.c:248:9: note: in expansion of macro 'pack1' 248 | pack1(1, pbits); \ | ^~~~~ rice.c:1785:41: note: in expansion of macro 'packfs' 1785 | packfs(fsval); | ^~~~~~ rice.c: At top level: rice.c:1824:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1824 | flush_encoded_bits() | ^~~~~~~~~~~~~~~~~~ rice.c: In function 'flush_encoded_bits': rice.c:1831:34: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 1831 | *global_bptr++ = v16 >> 8; | ^~~ rice.c:1833:42: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 1833 | *global_bptr++ = v16; | ^~~ rice.c: At top level: rice.c:1845:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1845 | rice_encode() | ^~~~~~~~~~~ rice.c:1902:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1902 | c_ext2(sigma, end) | ^~~~~~ rice.c:1935:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1935 | find_winner8(sigma, end) | ^~~~~~~~~~~~ rice.c: In function 'find_winner8': rice.c:1949:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1949 | sum += *s++; | ^~ rice.c:1949:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1949 | sum += *s++; | ^ rice.c:1950:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1950 | sum += *s++; | ^~ rice.c:1950:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 1950 | sum += *s++; | ^ rice.c: At top level: rice.c:2019:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2019 | find_ref_winner8(sigma, end) | ^~~~~~~~~~~~~~~~ rice.c: In function 'find_ref_winner8': rice.c:2032:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2032 | sum += *s++; | ^~ rice.c:2032:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2032 | sum += *s++; | ^ rice.c: At top level: rice.c:2100:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2100 | find_winner10(sigma, end) | ^~~~~~~~~~~~~ rice.c: In function 'find_winner10': rice.c:2114:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2114 | sum += *s++; | ^~ rice.c:2114:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2114 | sum += *s++; | ^ rice.c:2115:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2115 | sum += *s++; | ^~ rice.c:2115:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2115 | sum += *s++; | ^ rice.c: At top level: rice.c:2184:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2184 | find_ref_winner10(sigma, end) | ^~~~~~~~~~~~~~~~~ rice.c: In function 'find_ref_winner10': rice.c:2197:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2197 | sum += *s++; | ^~ rice.c:2197:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2197 | sum += *s++; | ^ rice.c: At top level: rice.c:2265:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2265 | find_winner16(sigma, end) | ^~~~~~~~~~~~~ rice.c: In function 'find_winner16': rice.c:2279:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2279 | sum += *s++; | ^~ rice.c:2279:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2279 | sum += *s++; | ^ rice.c:2280:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2280 | sum += *s++; | ^~ rice.c:2280:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2280 | sum += *s++; | ^ rice.c: At top level: rice.c:2349:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2349 | find_ref_winner16(sigma, end) | ^~~~~~~~~~~~~~~~~ rice.c: In function 'find_ref_winner16': rice.c:2362:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2362 | sum += *s++; | ^~ rice.c:2362:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2362 | sum += *s++; | ^ rice.c: At top level: rice.c:2430:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2430 | find_winner(start, end) | ^~~~~~~~~~~ rice.c: In function 'find_winner': rice.c:2449:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2449 | msb1 += *s >> 2; | ^~ rice.c:2449:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2449 | msb1 += *s >> 2; | ^ rice.c:2450:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2450 | msb2 += *s >> 3; | ^~ rice.c:2450:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2450 | msb2 += *s >> 3; | ^ rice.c:2467:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2467 | msb1 += *s; | ^~ rice.c:2467:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2467 | msb1 += *s; | ^ rice.c:2468:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2468 | msb2 += *s >> 1; | ^~ rice.c:2468:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2468 | msb2 += *s >> 1; | ^ rice.c:2508:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2508 | msb1 += *s >> 4; | ^~ rice.c:2508:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2508 | msb1 += *s >> 4; | ^ rice.c:2509:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2509 | msb2 += *s >> 5; | ^~ rice.c:2509:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2509 | msb2 += *s >> 5; | ^ rice.c:2533:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2533 | msb1 += *s >> 6; | ^~ rice.c:2533:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2533 | msb1 += *s >> 6; | ^ rice.c:2534:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2534 | msb2 += *s >> 7; | ^~ rice.c:2534:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2534 | msb2 += *s >> 7; | ^ rice.c:2554:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2554 | msb1 += *s >> 8; | ^~ rice.c:2554:41: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2554 | msb1 += *s >> 8; | ^ rice.c:2555:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2555 | msb2 += *s >> 9; | ^~ rice.c:2555:41: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2555 | msb2 += *s >> 9; | ^ rice.c:2575:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2575 | msb1 += *s >> 10; | ^~ rice.c:2575:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2575 | msb1 += *s >> 10; | ^ rice.c:2576:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2576 | msb2 += *s >> 11; | ^~ rice.c:2576:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2576 | msb2 += *s >> 11; | ^ rice.c:2594:54: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2594 | msb1 += *s >>12; | ^~ rice.c:2594:57: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2594 | msb1 += *s >>12; | ^ rice.c:2611:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2611 | msb1 += *s >> i; | ^~ rice.c:2611:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2611 | msb1 += *s >> i; | ^ rice.c: At top level: rice.c:2822:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2822 | check_args() | ^~~~~~~~~~ rice.c:2959:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2959 | encode_initialize() | ^~~~~~~~~~~~~~~~~ rice.c: In function 'encode_initialize': rice.c:2998:44: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 2998 | ext2_array[i][j] = (i+j)*(i+j+1)/2 + j + 1; | ^ rice.c: At top level: rice.c:3034:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 3034 | decode_initialize() | ^~~~~~~~~~~~~~~~~ rice.c: In function 'decode_initialize': rice.c:3084:46: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 3084 | ext2_array1[index] = i; | ^ rice.c:3085:46: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 3085 | ext2_array2[index] = j; | ^ rice.c: At top level: rice.c:3175:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 3175 | compress_memory_bytes(new_options_mask, new_bits_per_pixel, new_pixels_per_block, new_pixels_per_scanline, in, pixels, out) | ^~~~~~~~~~~~~~~~~~~~~ rice.c: In function 'compress_memory_bytes': rice.c:3209:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3209 | input_byte_data = (unsigned char *) in; | ^ rice.c: At top level: rice.c:3240:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 3240 | compress_memory_words(new_options_mask, new_bits_per_pixel, new_pixels_per_block, new_pixels_per_scanline, in, pixels, out) | ^~~~~~~~~~~~~~~~~~~~~ rice.c: In function 'compress_memory_words': rice.c:3274:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3274 | input_byte_data = (unsigned char *) in; | ^ rice.c: At top level: rice.c:3304:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 3304 | compress_memory_longs(new_options_mask, new_bits_per_pixel, new_pixels_per_block, new_pixels_per_scanline, in, pixels, out) | ^~~~~~~~~~~~~~~~~~~~~ rice.c: In function 'compress_memory_longs': rice.c:3338:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3338 | input_byte_data = (unsigned char *) in; | ^ rice.c: At top level: rice.c:3368:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 3368 | interleave(in, bytes, bits, out) | ^~~~~~~~~~ rice.c:3407:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 3407 | compress_memory_floats(new_options_mask, new_bits_per_pixel, new_pixels_per_block, new_pixels_per_scanline, in, pixels, out) | ^~~~~~~~~~~~~~~~~~~~~~ rice.c: In function 'compress_memory_floats': rice.c:3443:55: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 3443 | interleave_array = (unsigned char *) malloc(4 * pixels); | ~~^~~~~~~~ rice.c:3450:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3450 | interleave((char *) in, pixels*4, new_bits_per_pixel, (char *) interleave_array); | ^ rice.c: At top level: rice.c:3491:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 3491 | compress_memory_doubles(new_options_mask, new_bits_per_pixel, new_pixels_per_block, new_pixels_per_scanline, in, pixels, out) | ^~~~~~~~~~~~~~~~~~~~~~~ rice.c: In function 'compress_memory_doubles': rice.c:3527:55: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 3527 | interleave_array = (unsigned char *) malloc(8 * pixels); | ~~^~~~~~~~ rice.c:3534:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3534 | interleave((char *) in, pixels*8, new_bits_per_pixel, (char *) interleave_array); | ^ rice.c: In function 'szip_compress_memory': rice.c:3582:5: warning: declaration of 'bits_per_pixel' shadows a global declaration [-Wshadow] 3582 | int bits_per_pixel; | ^~~~~~~~~~~~~~ rice.c:126:12: note: shadowed declaration is here 126 | static int bits_per_pixel; | ^~~~~~~~~~~~~~ rice.c:3583:5: warning: declaration of 'pixels_per_block' shadows a global declaration [-Wshadow] 3583 | int pixels_per_block; | ^~~~~~~~~~~~~~~~ rice.c:131:12: note: shadowed declaration is here 131 | static int pixels_per_block; | ^~~~~~~~~~~~~~~~ rice.c:3584:5: warning: declaration of 'pixels_per_scanline' shadows a global declaration [-Wshadow] 3584 | int pixels_per_scanline; | ^~~~~~~~~~~~~~~~~~~ rice.c:132:12: note: shadowed declaration is here 132 | static int pixels_per_scanline; | ^~~~~~~~~~~~~~~~~~~ rice.c: At top level: rice.c:3776:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 3776 | deinterleave(in, bytes, bits, out) | ^~~~~~~~~~~~ rice.c:3804:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 3804 | unmap_nn(sigma, pixels) | ^~~~~~~~ rice.c: In function 'unmap_nn': rice.c:3822:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3822 | x = *s++; | ^ rice.c:3823:35: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3823 | *xptr++ = x; | ^ rice.c:3827:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3827 | sig1 = *s++; | ^ rice.c:3837:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3837 | *xptr++ = x; | ^ rice.c:3846:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3846 | x = *s++; | ^ rice.c:3847:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3847 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:3848:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3848 | *xptr++ = x; | ^ rice.c:3852:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3852 | sig1 = *s++; | ^ rice.c:3862:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3862 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:3863:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3863 | *xptr++ = x; | ^ rice.c:3870:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3870 | x = *s++; | ^ rice.c:3871:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3871 | *xptr++ = x; | ^ rice.c:3872:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3872 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:3876:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3876 | sig1 = *s++; | ^ rice.c:3886:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3886 | *xptr++ = x; | ^ rice.c:3887:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3887 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:3897:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3897 | x = *s++; | ^ rice.c:3898:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3898 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:3899:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3899 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:3900:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3900 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:3901:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3901 | *xptr++ = x; | ^ rice.c:3905:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3905 | sig1 = *s++; | ^ rice.c:3915:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3915 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:3916:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3916 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:3917:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3917 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:3918:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3918 | *xptr++ = x; | ^ rice.c:3925:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3925 | x = *s++; | ^ rice.c:3926:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3926 | *xptr++ = x; | ^ rice.c:3927:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3927 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:3928:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3928 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:3929:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3929 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:3933:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3933 | sig1 = *s++; | ^ rice.c:3943:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3943 | *xptr++ = x; | ^ rice.c:3944:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3944 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:3945:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3945 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:3946:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 3946 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:3957:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3957 | x = *s++; | ^ rice.c:3958:35: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3958 | *xptr++ = x; | ^ rice.c:3960:32: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3960 | sig1 = *s++; | ^ rice.c:3970:35: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3970 | *xptr++ = x; | ^ rice.c:3974:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3974 | sig1 = *s++; | ^ rice.c:3975:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 3975 | sig2 = *s++; | ^ rice.c:3985:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3985 | *xptr++ = x; | ^ rice.c:3996:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 3996 | *xptr++ = x; | ^ rice.c:4005:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4005 | x = *s++; | ^ rice.c:4006:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4006 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4007:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4007 | *xptr++ = x; | ^ rice.c:4009:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4009 | sig1 = *s++; | ^ rice.c:4019:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4019 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4020:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4020 | *xptr++ = x; | ^ rice.c:4024:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4024 | sig1 = *s++; | ^ rice.c:4025:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4025 | sig2 = *s++; | ^ rice.c:4035:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4035 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4036:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4036 | *xptr++ = x; | ^ rice.c:4047:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4047 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4048:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4048 | *xptr++ = x; | ^ rice.c:4055:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4055 | x = *s++; | ^ rice.c:4056:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4056 | *xptr++ = x; | ^ rice.c:4057:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4057 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4059:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4059 | sig1 = *s++; | ^ rice.c:4069:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4069 | *xptr++ = x; | ^ rice.c:4070:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4070 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4074:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4074 | sig1 = *s++; | ^ rice.c:4075:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4075 | sig2 = *s++; | ^ rice.c:4085:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4085 | *xptr++ = x; | ^ rice.c:4086:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4086 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4097:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4097 | *xptr++ = x; | ^ rice.c:4098:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4098 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4108:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4108 | x = *s++; | ^ rice.c:4109:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4109 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:4110:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4110 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:4111:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4111 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4112:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4112 | *xptr++ = x; | ^ rice.c:4114:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4114 | sig1 = *s++; | ^ rice.c:4124:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4124 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:4125:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4125 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:4126:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4126 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4127:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4127 | *xptr++ = x; | ^ rice.c:4131:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4131 | sig1 = *s++; | ^ rice.c:4132:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4132 | sig2 = *s++; | ^ rice.c:4142:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4142 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:4143:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4143 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:4144:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4144 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4145:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4145 | *xptr++ = x; | ^ rice.c:4156:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4156 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:4157:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4157 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:4158:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4158 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4159:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4159 | *xptr++ = x; | ^ rice.c:4166:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4166 | x = *s++; | ^ rice.c:4167:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4167 | *xptr++ = x; | ^ rice.c:4168:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4168 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4169:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4169 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:4170:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4170 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:4172:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4172 | sig1 = *s++; | ^ rice.c:4182:43: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4182 | *xptr++ = x; | ^ rice.c:4183:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4183 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4184:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4184 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:4185:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4185 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:4189:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4189 | sig1 = *s++; | ^ rice.c:4190:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4190 | sig2 = *s++; | ^ rice.c:4200:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4200 | *xptr++ = x; | ^ rice.c:4201:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4201 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4202:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4202 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:4203:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4203 | *xptr++ = (unsigned) x >> 24; | ^ rice.c:4214:51: warning: conversion from 'int' to 'char' may change value [-Wconversion] 4214 | *xptr++ = x; | ^ rice.c:4215:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4215 | *xptr++ = (unsigned) x >> 8; | ^ rice.c:4216:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4216 | *xptr++ = (unsigned) x >> 16; | ^ rice.c:4217:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4217 | *xptr++ = (unsigned) x >> 24; | ^ rice.c: At top level: rice.c:4227:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 4227 | output_decoded_data(sigma) | ^~~~~~~~~~~~~~~~~~~ rice.c: In function 'output_decoded_data': rice.c:4245:43: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4245 | *bptr++ = sigma[i]; | ^~~~~ rice.c:4251:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4251 | *bptr++ = sigma[i] >> 8; | ^~~~~ rice.c:4252:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4252 | *bptr++ = sigma[i]; | ^~~~~ rice.c:4257:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4257 | *bptr++ = sigma[i]; | ^~~~~ rice.c:4258:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4258 | *bptr++ = sigma[i] >> 8; | ^~~~~ rice.c:4266:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4266 | *bptr++ = sigma[i] >> 24; | ^~~~~ rice.c:4267:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4267 | *bptr++ = sigma[i] >> 16; | ^~~~~ rice.c:4268:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4268 | *bptr++ = sigma[i] >> 8; | ^~~~~ rice.c:4269:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4269 | *bptr++ = sigma[i]; | ^~~~~ rice.c:4274:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4274 | *bptr++ = sigma[i]; | ^~~~~ rice.c:4275:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4275 | *bptr++ = sigma[i] >> 8; | ^~~~~ rice.c:4276:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4276 | *bptr++ = sigma[i] >> 16; | ^~~~~ rice.c:4277:51: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] 4277 | *bptr++ = sigma[i] >> 24; | ^~~~~ rice.c: At top level: rice.c:4310:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 4310 | rice_decode() | ^~~~~~~~~~~ rice.c: In function 'rice_decode': rice.c:4351:70: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 4351 | memcpy(byte_buffer, input_byte_data, n); | ^ rice.c:4364:70: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4364 | memcpy(input_buffer, input_ptr, count*sizeof(short)); | ^ rice.c:4371:48: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 4371 | *p++ = (*b << 8) | *(b+1); | ^ rice.c:4401:38: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4401 | id = data_word >> 29; | ^~~~~~~~~ rice.c:4407:38: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4407 | id = data_word >> 28; | ^~~~~~~~~ rice.c:4413:38: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4413 | id = data_word >> 27; | ^~~~~~~~~ rice.c:4420:44: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4420 | ext2_bit = data_word & 0x80000000; | ^~~~~~~~~ rice.c:4474:64: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4474 | bits = data_word >> shift; | ^~~~~~~~~ rice.c:4483:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4483 | *s++ = bits; | ^~~~ rice.c:4490:64: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4490 | bits = data_word >> 16; | ^~~~~~~~~ rice.c:4497:62: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4497 | bits |= data_word >> (32 - extra); | ^~ rice.c:4497:65: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4497 | bits |= data_word >> (32 - extra); | ^~~~~~~~~ rice.c:4506:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4506 | *s++ = bits; | ^~~~ rice.c:4542:56: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4542 | *s++ = zero_count + big_zero_count; | ^~~~~~~~~~ rice.c:4552:64: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4552 | bits = data_word >> shift; | ^~~~~~~~~ rice.c:4561:77: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4561 | *s = (*s << k_bits) | bits; | ^ rice.c:4569:64: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4569 | bits = data_word >> 16; | ^~~~~~~~~ rice.c:4576:62: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4576 | bits |= data_word >> (32 - extra); | ^~ rice.c:4576:65: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4576 | bits |= data_word >> (32 - extra); | ^~~~~~~~~ rice.c:4586:77: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4586 | *s = (*s << k_bits) | bits; | ^ rice.c:4621:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4621 | *s++ = zero_count + big_zero_count; | ^~~~~~~~~~ rice.c:4666:56: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4666 | *t++ = zero_count + big_zero_count; | ^~~~~~~~~~ rice.c:4670:45: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4670 | m = *t++; | ^ rice.c:4677:53: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4677 | m = *t++; | ^ rice.c:4730:61: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4730 | memset(s, 0, (end-s)*sizeof(int)); | ^ rice.c:4747:38: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4747 | id = data_word >> 29; | ^~~~~~~~~ rice.c:4753:38: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4753 | id = data_word >> 28; | ^~~~~~~~~ rice.c:4759:38: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4759 | id = data_word >> 27; | ^~~~~~~~~ rice.c:4766:44: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4766 | ext2_bit = data_word & 0x80000000; | ^~~~~~~~~ rice.c:4792:64: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4792 | bits = data_word >> shift; | ^~~~~~~~~ rice.c:4801:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4801 | *s++ = bits; | ^~~~ rice.c:4808:64: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4808 | bits = data_word >> 16; | ^~~~~~~~~ rice.c:4815:62: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4815 | bits |= data_word >> (32 - extra); | ^~ rice.c:4815:65: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4815 | bits |= data_word >> (32 - extra); | ^~~~~~~~~ rice.c:4824:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4824 | *s++ = bits; | ^~~~ rice.c:4941:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4941 | *s++ = zero_count + big_zero_count; | ^~~~~~~~~~ rice.c:4965:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 4965 | *s++ = zero_count + big_zero_count; | ^~~~~~~~~~ rice.c:4977:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4977 | *(s+1) = (*(s+1) << 1) | (data_word >> 30) & 1; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:4978:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4978 | *(s+2) = (*(s+2) << 1) | (data_word >> 29) & 1; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:4979:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4979 | *(s+3) = (*(s+3) << 1) | (data_word >> 28) & 1; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:4980:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4980 | *(s+4) = (*(s+4) << 1) | (data_word >> 27) & 1; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:4981:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4981 | *(s+5) = (*(s+5) << 1) | (data_word >> 26) & 1; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:4982:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4982 | *(s+6) = (*(s+6) << 1) | (data_word >> 25) & 1; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:4983:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4983 | *(s+7) = (*(s+7) << 1) | (data_word >> 24) & 1; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:4998:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4998 | *(s+0) = (*(s+0) << 2) | (data_word >> 30) & 3; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:4999:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4999 | *(s+1) = (*(s+1) << 2) | (data_word >> 28) & 3; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5000:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5000 | *(s+2) = (*(s+2) << 2) | (data_word >> 26) & 3; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5001:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5001 | *(s+3) = (*(s+3) << 2) | (data_word >> 24) & 3; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5002:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5002 | *(s+4) = (*(s+4) << 2) | (data_word >> 22) & 3; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5003:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5003 | *(s+5) = (*(s+5) << 2) | (data_word >> 20) & 3; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5004:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5004 | *(s+6) = (*(s+6) << 2) | (data_word >> 18) & 3; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5005:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5005 | *(s+7) = (*(s+7) << 2) | (data_word >> 16) & 3; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5017:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5017 | *(s+0) = (*(s+0) << 3) | (data_word >> 29) & 7; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5018:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5018 | *(s+1) = (*(s+1) << 3) | (data_word >> 26) & 7; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5019:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5019 | *(s+2) = (*(s+2) << 3) | (data_word >> 23) & 7; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5020:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5020 | *(s+3) = (*(s+3) << 3) | (data_word >> 20) & 7; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5021:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5021 | *(s+4) = (*(s+4) << 3) | (data_word >> 17) & 7; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5031:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5031 | *(s+0) = (*(s+0) << 3) | (data_word >> 29) & 7; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5032:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5032 | *(s+1) = (*(s+1) << 3) | (data_word >> 26) & 7; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5033:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5033 | *(s+2) = (*(s+2) << 3) | (data_word >> 23) & 7; | ~~~~~~~~~~~~~~~~~~^~~ rice.c:5048:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5048 | *(s+0) = (*(s+0) << 4) | (data_word >> 28) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5049:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5049 | *(s+1) = (*(s+1) << 4) | (data_word >> 24) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5050:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5050 | *(s+2) = (*(s+2) << 4) | (data_word >> 20) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5051:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5051 | *(s+3) = (*(s+3) << 4) | (data_word >> 16) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5058:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5058 | *(s+0) = (*(s+0) << 4) | (data_word >> 28) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5059:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5059 | *(s+1) = (*(s+1) << 4) | (data_word >> 24) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5060:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5060 | *(s+2) = (*(s+2) << 4) | (data_word >> 20) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5061:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5061 | *(s+3) = (*(s+3) << 4) | (data_word >> 16) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5073:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5073 | *(s+0) = (*(s+0) << 5) | (data_word >> 27) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5074:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5074 | *(s+1) = (*(s+1) << 5) | (data_word >> 22) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5075:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5075 | *(s+2) = (*(s+2) << 5) | (data_word >> 17) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5085:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5085 | *(s+0) = (*(s+0) << 5) | (data_word >> 27) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5086:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5086 | *(s+1) = (*(s+1) << 5) | (data_word >> 22) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5087:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5087 | *(s+2) = (*(s+2) << 5) | (data_word >> 17) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5097:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5097 | *(s+0) = (*(s+0) << 5) | (data_word >> 27) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5098:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5098 | *(s+1) = (*(s+1) << 5) | (data_word >> 22) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5113:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5113 | *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5114:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5114 | *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5124:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5124 | *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5125:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5125 | *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5135:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5135 | *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5136:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5136 | *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5146:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5146 | *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5147:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5147 | *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5162:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5162 | *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5163:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5163 | *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5173:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5173 | *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5174:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5174 | *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5184:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5184 | *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5185:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5185 | *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5195:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5195 | *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5196:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5196 | *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5211:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5211 | *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5212:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5212 | *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5219:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5219 | *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5220:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5220 | *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5227:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5227 | *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5228:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5228 | *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5235:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5235 | *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5236:116: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5236 | *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5353:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 5353 | *s++ = zero_count + big_zero_count; | ^~~~~~~~~~ rice.c:5398:56: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 5398 | *t++ = zero_count + big_zero_count; | ^~~~~~~~~~ rice.c:5404:53: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 5404 | m = *t++; | ^ rice.c:5464:61: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 5464 | memset(s, 0, (end-s)*sizeof(int)); | ^ rice.c: In function 'szip_uncompress_memory': rice.c:5518:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5518 | input_byte_data = (unsigned char *) in; | ^ rice.c:5530:52: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 5530 | interleave_array = (char *) malloc(out_bytes); | ^~~~~~~~~ rice.c: In function 'szip_check_params': rice.c:5800:5: warning: declaration of 'bits_per_pixel' shadows a global declaration [-Wshadow] 5800 | int bits_per_pixel; | ^~~~~~~~~~~~~~ rice.c:126:12: note: shadowed declaration is here 126 | static int bits_per_pixel; | ^~~~~~~~~~~~~~ rice.c:5801:5: warning: declaration of 'pixels_per_block' shadows a global declaration [-Wshadow] 5801 | int pixels_per_block; | ^~~~~~~~~~~~~~~~ rice.c:131:12: note: shadowed declaration is here 131 | static int pixels_per_block; | ^~~~~~~~~~~~~~~~ rice.c:5802:5: warning: declaration of 'pixels_per_scanline' shadows a global declaration [-Wshadow] 5802 | int pixels_per_scanline; | ^~~~~~~~~~~~~~~~~~~ rice.c:132:12: note: shadowed declaration is here 132 | static int pixels_per_scanline; | ^~~~~~~~~~~~~~~~~~~ rice.c:5812:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5812 | *msg = "bits per pixel must be in range 1..24,32,64"; | ^ rice.c:5818:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5818 | *msg = "maximum pixels per block exceeded"; | ^ rice.c:5824:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5824 | *msg = "pixels per block must be even"; | ^ rice.c:5830:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5830 | *msg = "pixels per block > pixels per scanline"; | ^ rice.c:5836:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5836 | *msg = "maximum pixels per scanline exceeded"; | ^ rice.c:5842:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5842 | *msg = "image pixels less than pixels per scanline"; | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c rice.c -o rice.o >/dev/null 2>&1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/src' /bin/sh ../libtool --tag=CC --mode=link gcc -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -version-info 2:0:0 -o libsz.la -rpath /usr/lib rice.lo sz_api.lo encoding.lo -lm libtool: link: gcc -shared -fPIC -DPIC .libs/rice.o .libs/sz_api.o .libs/encoding.o -lm -O2 -flto=auto -march=i586 -mtune=generic -O -Wl,-soname -Wl,libsz.so.2 -o .libs/libsz.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libsz.so.2" && ln -s "libsz.so.2.0.0" "libsz.so.2") libtool: link: (cd ".libs" && rm -f "libsz.so" && ln -s "libsz.so.2.0.0" "libsz.so") libtool: link: ar cr .libs/libsz.a rice.o sz_api.o encoding.o libtool: link: ranlib .libs/libsz.a libtool: link: ( cd ".libs" && rm -f "libsz.la" && ln -s "../libsz.la" "libsz.la" ) make[2]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/src' Making all in test make[1]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/test' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I../test -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c -o mcgill.lo mcgill.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I../test -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c mcgill.c -fPIC -DPIC -o .libs/mcgill.o mcgill.c: In function 'rstart': mcgill.c:29:16: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 29 | mcgn = (i1 == 0) ? 0 : i1 | 1; | ^ mcgill.c:32:16: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 32 | srgn = (i2 == 0) ? 0 : (i2 & 0x7ff) | 1; | ^ mcgill.c: In function 'iuni': mcgill.c:49:21: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 49 | return ((r1 >> 1)); | ~~~~~^~~~~~ mcgill.c: In function 'ivni': mcgill.c:65:16: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 65 | return (r1); | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I../test -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c mcgill.c -o mcgill.o >/dev/null 2>&1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/test' make[1]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/test' /bin/sh ../libtool --tag=CC --mode=link gcc -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -o libmcgill.la mcgill.lo -lm libtool: link: ar cr .libs/libmcgill.a .libs/mcgill.o libtool: link: ranlib .libs/libmcgill.a libtool: link: ( cd ".libs" && rm -f "libmcgill.la" && ln -s "../libmcgill.la" "libmcgill.la" ) make[1]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/test' Making all in examples make[1]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I../test -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c -o example.o example.c example.c:29:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 29 | read_image(file_name) | ^~~~~~~~~~ example.c: In function 'read_image': example.c:45:21: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 45 | n = fread(image_in+size, 1, 16*1024, fp); | ^~~~~ example.c: In function 'test_encoding': example.c:99:34: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 99 | while (c_stream.total_in < len) | ^ example.c:101:58: warning: conversion to 'unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 101 | c_stream.avail_in = c_stream.avail_out = buffer_size; | ^~~~~~~~~~~ example.c:102:59: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 102 | if (c_stream.avail_in + c_stream.total_in > len) | ^ example.c:103:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 103 | c_stream.avail_in = len - c_stream.total_in; | ^ example.c:115:38: warning: conversion to 'unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 115 | c_stream.avail_out = buffer_size; | ^~~~~~~~~~~ example.c:143:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 143 | for (i = 0; i < c_stream.total_out; i++) | ^ example.c:150:24: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 150 | return c_stream.total_out; | ~~~~~~~~^~~~~~~~~~ example.c:61:7: warning: unused parameter 'in' [-Wunused-parameter] 61 | char *in; | ^~ example.c: In function 'test_decoding': example.c:197:34: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 197 | while (d_stream.total_in < size) | ^ example.c:199:58: warning: conversion to 'unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 199 | d_stream.avail_in = d_stream.avail_out = buffer_size; | ^~~~~~~~~~~ example.c:200:59: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 200 | if (d_stream.avail_in + d_stream.total_in > size) | ^ example.c:201:50: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 201 | d_stream.avail_in = size - d_stream.total_in; | ^ example.c:214:35: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 214 | while (d_stream.total_out < out_size) | ^ example.c:216:38: warning: conversion to 'unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 216 | d_stream.avail_out = buffer_size; | ^~~~~~~~~~~ example.c:235:24: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 235 | return d_stream.total_out; | ~~~~~~~~^~~~~~~~~~ example.c: At top level: example.c:250:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 250 | main(argc, argv) | ^~~~ example.c: In function 'main': example.c:274:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 274 | compr = (char *) calloc(comprLen, 1); | ^~~~~~~~ example.c:275:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 275 | uncompr = (char *) calloc(uncomprLen, 1); | ^~~~~~~~~~ example.c:306:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 306 | size = test_encoding(bits_per_pixel, image_in, image_size, image_out, i); | ^~~~~~~~~~~~~ example.c:307:65: warning: conversion to 'long int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 307 | size = test_decoding(bits_per_pixel, image_out, size, image_in2, image_size, i); | ^~~~ example.c:307:24: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 307 | size = test_decoding(bits_per_pixel, image_out, size, image_in2, image_size, i); | ^~~~~~~~~~~~~ example.c:311:50: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 311 | rv = memcmp(image_in, image_in2, image_size); | ^~~~~~~~~~ example.c:327:72: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 327 | rv = SZ_BufftoBuffCompress(image_out, &size, image_in, image_size, ¶ms); | ^~~~~~~~~~ example.c:351:50: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 351 | rv = memcmp(image_in, image_in2, image_size); | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I../test -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -c -o burst_szip.o burst_szip.c burst_szip.c:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 36 | put_pixel(pixel) | ^~~~~~~~~ burst_szip.c: In function 'put_pixel': burst_szip.c:41:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 41 | if (pixel > max) | ^ burst_szip.c:50:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 50 | ch = (pixel >> 24) & 0xff; | ^ burst_szip.c:67:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 67 | ch = (pixel >> 24) & 0xff; | ^ burst_szip.c:73:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 73 | ch = pixel >> 8; | ^~~~~ burst_szip.c:82:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 82 | ch = pixel >> 8; | ^~~~~ burst_szip.c:86:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 86 | putc(pixel, fp_out); | ^~~~~ burst_szip.c: At top level: burst_szip.c:90:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 90 | map_nn(sigma, end) | ^~~~~~ burst_szip.c: In function 'map_nn': burst_szip.c:99:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 99 | xp = *sigma; | ^ burst_szip.c:103:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 103 | x = *s; | ^ burst_szip.c:108:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 108 | *s++ = del << 1; | ^~~ burst_szip.c:110:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 110 | *s++ = x; | ^ burst_szip.c:115:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 115 | *s++ = ((-del)<<1) - 1; | ^ burst_szip.c:117:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 117 | *s++ = max-x; | ^~~ burst_szip.c: At top level: burst_szip.c:125:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 125 | random_scanline(pixels_per_block, width) | ^~~~~~~~~~~~~~~ burst_szip.c: In function 'random_scanline': burst_szip.c:140:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 140 | if (width > sizeof(scanline)/sizeof(unsigned)) | ^ burst_szip.c:150:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 150 | x = uni() * 6; | ^~~ burst_szip.c:160:49: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 160 | pixel = uni() * (max+1); | ^~~ burst_szip.c:161:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 161 | *s++ = pixel; | ^~~~~ burst_szip.c:167:41: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 167 | pixel = uni() * (max+1); | ^~~ burst_szip.c:168:41: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 168 | delta = uni() * 32; | ^~~ burst_szip.c:183:49: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 183 | pixel = low + uni() * delta; | ^~~ burst_szip.c:184:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 184 | *s++ = pixel; | ^~~~~ burst_szip.c:190:41: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 190 | pixel = uni() * (max+1); | ^~~ burst_szip.c:191:41: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 191 | delta = uni() * 128 + 1; | ^~~ burst_szip.c:206:45: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 206 | x = uni() * delta; | ^~~ burst_szip.c:213:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 213 | *s++ = pixel; | ^~~~~ burst_szip.c:219:41: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 219 | pixel = uni() * (max+1); | ^~~ burst_szip.c:221:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 221 | *s++ = pixel; | ^~~~~ burst_szip.c:227:42: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 227 | blocks = uni() * blocks + 1; | ^~~ burst_szip.c:228:41: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 228 | pixel = uni() * (max+1); | ^~~ burst_szip.c:231:56: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 231 | *s++ = pixel; | ^~~~~ burst_szip.c:237:41: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 237 | pixel = uni() * (max+1); | ^~~ burst_szip.c:238:41: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 238 | delta = uni() * 8 + 1; | ^~~ burst_szip.c:253:45: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 253 | x = uni() * delta; | ^~~ burst_szip.c:260:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 260 | *s++ = pixel; | ^~~~~ burst_szip.c: At top level: burst_szip.c:275:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 275 | random_float_scanline(pixels_per_block, width) | ^~~~~~~~~~~~~~~~~~~~~ burst_szip.c: In function 'random_float_scanline': burst_szip.c:286:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 286 | if (width > sizeof(scanline)/sizeof(float)) | ^ burst_szip.c:303:31: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 303 | scanline[i] = y; | ^ burst_szip.c:307:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 307 | fwrite(scanline, width, sizeof(float), fp_out); | ^~~~~ burst_szip.c:276:5: warning: unused parameter 'pixels_per_block' [-Wunused-parameter] 276 | int pixels_per_block; | ^~~~~~~~~~~~~~~~ burst_szip.c: At top level: burst_szip.c:311:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 311 | random_double_scanline(pixels_per_block, width) | ^~~~~~~~~~~~~~~~~~~~~~ burst_szip.c: In function 'random_double_scanline': burst_szip.c:322:37: warning: expression does not compute the number of elements in this array; element type is 'double', not 'float' [-Wsizeof-array-div] 322 | if (width > sizeof(scanline)/sizeof(float)) | ^ burst_szip.c:322:37: note: add parentheses around the second 'sizeof' to silence this warning burst_szip.c:315:16: note: array 'scanline' declared here 315 | double scanline[8*1024]; | ^~~~~~~~ burst_szip.c:322:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 322 | if (width > sizeof(scanline)/sizeof(float)) | ^ burst_szip.c:349:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 349 | fwrite(scanline, width, sizeof(double), fp_out); | ^~~~~ burst_szip.c:312:5: warning: unused parameter 'pixels_per_block' [-Wunused-parameter] 312 | int pixels_per_block; | ^~~~~~~~~~~~~~~~ burst_szip.c: At top level: burst_szip.c:353:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 353 | usage(name) | ^~~~~ burst_szip.c:361:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 361 | main(argc, argv) | ^~~~ burst_szip.c: In function 'main': burst_szip.c:450:33: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 450 | width = uni() * (width-1) + 1; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -o example example.o ../src/libsz.la -lm libtool: link: gcc -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -o .libs/example example.o ../src/.libs/libsz.so -lm example.c: In function 'main': example.c:78:43: warning: 'bits_per_pixel' may be used uninitialized in this function [-Wmaybe-uninitialized] 78 | bytes_per_pixel = (bits_per_pixel + 7)/8; | ^ example.c:257:13: note: 'bits_per_pixel' was declared here 257 | int bits_per_pixel; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -o burst_szip burst_szip.o ../test/libmcgill.la ../src/libsz.la -lm libtool: link: gcc -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -o .libs/burst_szip burst_szip.o ../test/.libs/libmcgill.a ../src/.libs/libsz.so -lm make[1]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' make[1]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.22673 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libsz2-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libsz2-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd libsz2-2.1 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/libsz2-buildroot make: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/src' /bin/mkdir -p '/usr/src/tmp/libsz2-buildroot/usr/lib' /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p libsz.la '/usr/src/tmp/libsz2-buildroot/usr/lib' libtool: install: /usr/libexec/rpm-build/install -p .libs/libsz.so.2.0.0 /usr/src/tmp/libsz2-buildroot/usr/lib/libsz.so.2.0.0 libtool: install: (cd /usr/src/tmp/libsz2-buildroot/usr/lib && { ln -s -f libsz.so.2.0.0 libsz.so.2 || { rm -f libsz.so.2 && ln -s libsz.so.2.0.0 libsz.so.2; }; }) libtool: install: (cd /usr/src/tmp/libsz2-buildroot/usr/lib && { ln -s -f libsz.so.2.0.0 libsz.so || { rm -f libsz.so && ln -s libsz.so.2.0.0 libsz.so; }; }) libtool: install: /usr/libexec/rpm-build/install -p .libs/libsz.lai /usr/src/tmp/libsz2-buildroot/usr/lib/libsz.la libtool: install: /usr/libexec/rpm-build/install -p .libs/libsz.a /usr/src/tmp/libsz2-buildroot/usr/lib/libsz.a libtool: install: chmod 644 /usr/src/tmp/libsz2-buildroot/usr/lib/libsz.a libtool: install: ranlib /usr/src/tmp/libsz2-buildroot/usr/lib/libsz.a libtool: warning: remember to run 'libtool --finish /usr/lib' /bin/mkdir -p '/usr/src/tmp/libsz2-buildroot/usr/include' /usr/libexec/rpm-build/install -p -m 644 ricehdf.h szip_adpt.h szlib.h '/usr/src/tmp/libsz2-buildroot/usr/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/src' Making install in test make[1]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/test' make[1]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/test' Making install in examples make[1]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' make[2]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' make[1]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libsz2-2.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1' make[1]: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1' make: Leaving directory '/usr/src/RPM/BUILD/libsz2-2.1' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libsz2-buildroot (auto) removed './usr/lib/libsz.la' mode of './usr/lib/libsz.so.2.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libsz2-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/libsz2-buildroot/ (default) Compressing files in /usr/src/tmp/libsz2-buildroot (auto) Adjusting library links in /usr/src/tmp/libsz2-buildroot ./usr/lib: (from :0) libsz.so.2 -> libsz.so.2.0.0 /usr/bin/strip: ./usr/lib/stIuzVsx/rice.o: plugin needed to handle lto object process-lto: ERROR: ./usr/lib/libsz.a: contains __gnu_lto_slim only. 061-brp-strip-lto.brp: Most likely this file contains GIMPLE bytecode that should NOT be packaged 061-brp-strip-lto.brp: since its format can change between GCC versions. 061-brp-strip-lto.brp: Use -ffat-lto-objects option to package machine code in static libraries, e.g. 061-brp-strip-lto.brp: %{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects} 061-brp-strip-lto.brp: Alternatively, you might want to stop packaging static libraries 061-brp-strip-lto.brp: or disable link-time optimization for this package. error: Bad exit status from /usr/src/tmp/rpm-tmp.22673 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.22673 (%install) Command exited with non-zero status 1 9.38user 1.93system 0:12.58elapsed 90%CPU (0avgtext+0avgdata 39896maxresident)k 0inputs+0outputs (0major+756416minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsz2-2.1-alt4.src.rpm' failed. Command exited with non-zero status 1 10.59user 3.79system 0:15.93elapsed 90%CPU (0avgtext+0avgdata 39896maxresident)k 0inputs+0outputs (0major+870850minor)pagefaults 0swaps