<86>Jun 3 07:18:32 userdel[1364554]: delete user 'rooter' <86>Jun 3 07:18:32 userdel[1364554]: removed group 'rooter' owned by 'rooter' <86>Jun 3 07:18:32 userdel[1364554]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 3 07:18:32 groupadd[1364563]: group added to /etc/group: name=rooter, GID=1214 <86>Jun 3 07:18:32 groupadd[1364563]: group added to /etc/gshadow: name=rooter <86>Jun 3 07:18:32 groupadd[1364563]: new group: name=rooter, GID=1214 <86>Jun 3 07:18:32 useradd[1364569]: new user: name=rooter, UID=1214, GID=1214, home=/root, shell=/bin/bash, from=none <86>Jun 3 07:18:32 userdel[1364582]: delete user 'builder' <86>Jun 3 07:18:32 userdel[1364582]: removed group 'builder' owned by 'builder' <86>Jun 3 07:18:32 userdel[1364582]: removed shadow group 'builder' owned by 'builder' <86>Jun 3 07:18:32 groupadd[1364591]: group added to /etc/group: name=builder, GID=1215 <86>Jun 3 07:18:32 groupadd[1364591]: group added to /etc/gshadow: name=builder <86>Jun 3 07:18:32 groupadd[1364591]: new group: name=builder, GID=1215 <86>Jun 3 07:18:32 useradd[1364597]: new user: name=builder, UID=1215, GID=1215, home=/usr/src, shell=/bin/bash, from=none <13>Jun 3 07:18:34 rpmi: rpm-macros-cmake-3.23.2-alt3 sisyphus+318864.100.1.1 1681931990 installed <13>Jun 3 07:18:36 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791089 installed <13>Jun 3 07:18:36 rpmi: libnettle8-3.9.0-alt1 sisyphus+321863.100.1.1 1685032094 installed <13>Jun 3 07:18:36 rpmi: libwebp7-1.3.0-alt1 sisyphus+313492.100.1.1 1673749692 installed <13>Jun 3 07:18:36 rpmi: libjpeg-2:2.1.2-alt1.2 sisyphus+300827.100.2.1 1653916654 installed <13>Jun 3 07:18:36 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815406 installed <13>Jun 3 07:18:36 rpmi: libdeflate-1.18-alt1 sisyphus+317484.100.1.1 1679768614 installed <13>Jun 3 07:18:36 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Jun 3 07:18:36 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359628 installed <13>Jun 3 07:18:36 rpmi: libtiff5-4.4.0-alt3 sisyphus+316986.100.1.1 1679241635 installed <13>Jun 3 07:18:36 rpmi: libhogweed6-3.9.0-alt1 sisyphus+321863.100.1.1 1685032094 installed <13>Jun 3 07:18:36 rpmi: libgnutls30-3.7.9-alt1 sisyphus+315353.100.1.1 1676639387 installed <13>Jun 3 07:18:36 rpmi: libngtcp2-0.15.0-alt1 sisyphus+321126.100.1.1 1684414016 installed <13>Jun 3 07:18:36 rpmi: libpng16-1.6.39-alt1 sisyphus+310490.100.1.1 1669195208 installed <13>Jun 3 07:18:36 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402045 installed <13>Jun 3 07:18:36 rpmi: liblcms2-2.15-alt1 sisyphus+316039.100.1.1 1677666336 installed <13>Jun 3 07:18:36 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Jun 3 07:18:36 rpmi: libgdbm-devel-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Jun 3 07:18:36 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 3 07:18:36 rpmi: libstdc++12-devel-12.2.1-alt2 sisyphus+317777.100.2.2 1682563133 installed <13>Jun 3 07:18:37 rpmi: gcc12-c++-12.2.1-alt2 sisyphus+317777.100.2.2 1682563133 installed <13>Jun 3 07:18:37 rpmi: cmake-modules-3.23.2-alt3 sisyphus+318864.100.1.1 1681931983 installed <13>Jun 3 07:18:37 rpmi: libuv-1.45.0-alt1 sisyphus+322120.40.2.1 1685405027 installed <13>Jun 3 07:18:37 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Jun 3 07:18:37 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444234 installed <13>Jun 3 07:18:37 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Jun 3 07:18:37 rpmi: publicsuffix-list-dafsa-20230404-alt1 sisyphus+318117.100.1.1 1680769734 installed <13>Jun 3 07:18:37 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131180 installed <13>Jun 3 07:18:37 rpmi: libnghttp3-0.9.0-alt1 sisyphus+317166.100.1.1 1679409333 installed <13>Jun 3 07:18:38 rpmi: libnghttp2-1.53.0-alt1 sisyphus+320325.100.1.1 1683872096 installed <13>Jun 3 07:18:38 rpmi: openldap-common-2.6.4-alt1 sisyphus+321176.240.10.2 1684802269 installed <13>Jun 3 07:18:38 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Jun 3 07:18:38 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Jun 3 07:18:38 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Jun 3 07:18:38 rpmi: liblmdb-0.9.29-alt1.1 sisyphus+306630.100.1.1 1663072361 installed <13>Jun 3 07:18:38 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Jun 3 07:18:38 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Jun 3 07:18:38 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jun 3 07:18:38 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jun 3 07:18:38 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 3 07:18:38 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 3 07:18:38 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Jun 3 07:18:38 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Jun 3 07:18:38 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Jun 3 07:18:38 rpmi: libcrypto1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474790 installed <13>Jun 3 07:18:38 rpmi: libssl1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474790 installed <86>Jun 3 07:18:38 groupadd[1366180]: group added to /etc/group: name=_keytab, GID=999 <86>Jun 3 07:18:38 groupadd[1366180]: group added to /etc/gshadow: name=_keytab <86>Jun 3 07:18:38 groupadd[1366180]: new group: name=_keytab, GID=999 <13>Jun 3 07:18:38 rpmi: libkrb5-1.20.1-alt1 sisyphus+306946.1000.5.2 1677793939 installed <13>Jun 3 07:18:38 rpmi: libgsasl-1.8.0-alt3 sisyphus+275307.100.1.2 1624478553 installed <86>Jun 3 07:18:38 groupadd[1366193]: group added to /etc/group: name=sasl, GID=998 <86>Jun 3 07:18:38 groupadd[1366193]: group added to /etc/gshadow: name=sasl <86>Jun 3 07:18:38 groupadd[1366193]: new group: name=sasl, GID=998 <13>Jun 3 07:18:38 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+306372.1000.8.1 1663097332 installed <13>Jun 3 07:18:38 rpmi: libldap2-2.6.4-alt1 sisyphus+321176.240.10.2 1684803685 installed <13>Jun 3 07:18:38 rpmi: libarchive13-3.6.1-alt2 sisyphus+311213.100.1.1 1670244624 installed <13>Jun 3 07:18:38 rpmi: libssh2-1.10.0-alt1 sisyphus+289470.100.1.1 1636752294 installed <13>Jun 3 07:18:38 rpmi: libcurl-8.1.2-alt1 sisyphus+322142.100.1.1 1685433996 installed <13>Jun 3 07:18:38 rpmi: cmake-3.23.2-alt3 sisyphus+318864.100.1.1 1681931990 installed <13>Jun 3 07:18:38 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033914 installed <13>Jun 3 07:18:39 rpmi: perl-devel-1:5.34.1-alt1 sisyphus+303178.100.1.1 1656953649 installed <13>Jun 3 07:18:39 rpmi: liblcms2-devel-2.15-alt1 sisyphus+316039.100.1.1 1677666336 installed <13>Jun 3 07:18:39 rpmi: libpng-devel-1.6.39-alt1 sisyphus+310490.100.1.1 1669195208 installed <13>Jun 3 07:18:39 rpmi: libtiff-devel-4.4.0-alt3 sisyphus+316986.100.1.1 1679241635 installed <13>Jun 3 07:18:39 rpmi: libdeflate-devel-1.18-alt1 sisyphus+317484.100.1.1 1679768614 installed <13>Jun 3 07:18:39 rpmi: libjbig-devel-2.1-alt1 sisyphus+276068.100.1.1 1624815406 installed <13>Jun 3 07:18:39 rpmi: libjpeg-devel-2:2.1.2-alt1.2 sisyphus+300827.100.2.1 1653916654 installed <13>Jun 3 07:18:39 rpmi: libwebp-devel-1.3.0-alt1 sisyphus+313492.100.1.1 1673749692 installed <13>Jun 3 07:18:39 rpmi: perl-Image-ExifTool-12.60-alt1 sisyphus+318656.100.1.1 1681743635 installed <13>Jun 3 07:18:39 rpmi: libzstd-devel-1.5.5-alt1 sisyphus+318140.100.1.1 1680790162 installed <13>Jun 3 07:18:39 rpmi: liblzma-devel-5.2.5-alt3.1 sisyphus+291400.100.1.1 1638634828 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libgrokj2k-9.5.0-alt1.nosrc.rpm (w1.gzdio) Installing libgrokj2k-9.5.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.53929 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libgrokj2k-9.5.0 + echo 'Source #0 (libgrokj2k-9.5.0.tar):' Source #0 (libgrokj2k-9.5.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libgrokj2k-9.5.0.tar + cd libgrokj2k-9.5.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.53929 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libgrokj2k-9.5.0 + mkdir -p . + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib -DLIB_SUFFIX= -S . -B . -DBUILD_STATIC_LIBS=OFF -DGRK_USE_LIBJPEG=ON -DHWY_SYSTEM_GTEST=ON -DBUILD_TESTING=OFF -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for string.h -- Looking for string.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for math.h -- Looking for math.h - found -- Looking for float.h -- Looking for float.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for ctype.h -- Looking for ctype.h - found -- Looking for assert.h -- Looking for assert.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Checking for 64-bit off_t -- Checking for 64-bit off_t - present with _FILE_OFFSET_BITS=64 -- Checking for fseeko/ftello -- Checking for fseeko/ftello - present -- Large File support - found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- Looking for _aligned_malloc -- Looking for _aligned_malloc - not found -- Looking for aligned_alloc -- Looking for aligned_alloc - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for memalign -- Looking for memalign - found -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Could NOT find Valgrind (missing: Valgrind_INCLUDE_DIR Valgrind_EXECUTABLE) -- Performing Test HWY_EMSCRIPTEN -- Performing Test HWY_EMSCRIPTEN - Failed -- Found Perl: /usr/bin/perl (found version "5.34.1") -- Found PerlLibs: /usr/lib/libperl-5.34.so (found version "5.34.1") -- Perl libraries found -- ExifTool Perl module found -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Found ZLIB: /usr/lib/libz.so (found version "1.2.13") -- The system seems to have a zlib available; it will be used to build libpng -- Found PNG: /usr/lib/libpng.so (found version "1.6.39") -- The system seems to have a libpng available, it will be used to support PNG files -- Found TIFF: /usr/lib/libtiff.so (found version "4.4.0") -- The system seems to have a libtiff available, it will be used to support TIFF files. -- Found LCMS2: /usr/lib/liblcms2.so -- The system seems to have a liblsmc2 available, it will be used to support ICC profiles. -- Found JPEG: /usr/lib/libjpeg.so (found version "62") -- The system seems to have libjpeg available, it will be used to support JPEG files -- Setting build type to 'Release' as none was specified. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS HWY_SYSTEM_GTEST INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/libgrokj2k-9.5.0 + make -j8 make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 2%] Building CXX object src/lib/jp2_plugin/CMakeFiles/grokj2k_plugin.dir/Plugin.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 3%] Linking CXX shared library ../../../bin/libgrokj2k_plugin.so make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[1]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 3%] Built target grokj2k_plugin make[1]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 1%] Building CXX object src/lib/jp2/highway/CMakeFiles/hwy.dir/hwy/aligned_allocator.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 2%] Building CXX object src/lib/jp2/highway/CMakeFiles/hwy.dir/hwy/targets.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 0%] Building CXX object src/lib/jp2/highway/CMakeFiles/hwy.dir/hwy/nanobenchmark.cc.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 4%] Linking CXX static library ../../../../bin/libhwy.a make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[1]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 4%] Built target hwy make[1]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 5%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/util/logger.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/logger.cpp:15: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 6%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/util/grk_intmath.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/grk_intmath.cpp:18: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 7%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/util/GrkMappedFile.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/GrkMappedFile.cpp:1: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 8%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/util/MemStream.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/MemStream.cpp:17: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/MemStream.cpp: In function 'bool grk::seek_from_mem(uint64_t, MemStream*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/MemStream.cpp:92:28: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 92 | src->off = numBytes; | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 9%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/util/GrkObjectWrapper.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/GrkObjectWrapper.cpp:1: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 7%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/util/SparseBuffer.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/SparseBuffer.cpp:17: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 11%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/plugin/minpf_dynamic_library.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 4%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/util/BufferedStream.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/BufferedStream.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/BufferedStream.cpp: In member function 'bool grk::BufferedStream::write_seek(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/BufferedStream.cpp:457:33: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 457 | m_buf->offset = offset; | ^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 9%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/util/GrkImage.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/GrkImage.cpp:1: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/GrkImage.cpp: In static member function 'static bool grk::GrkImage::allocData(grk_image_comp*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/GrkImage.cpp:183:60: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 183 | size_t dataSize = (uint64_t)comp->stride * comp->h * sizeof(uint32_t); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/GrkImage.cpp: In member function 'bool grk::GrkImage::allocData()': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/GrkImage.cpp:224:79: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 224 | (uint64_t)dest_comp->stride * dest_comp->h * sizeof(int32_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 11%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/plugin/minpf_plugin_manager.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 10%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/util/GrkMatrix.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/GrkMatrix.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 13%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/Profile.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/Profile.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 13%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/CodeStream.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/CodeStream.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 15%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/FileFormat.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/FileFormat.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 12%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/plugin/plugin_bridge.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/plugin/plugin_bridge.cpp:18: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/plugin/plugin_bridge.cpp: In function 'bool grk::tile_equals(grk_plugin_tile*, Tile*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/plugin/plugin_bridge.cpp:120:62: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 120 | size_t num_precincts = band->numPrecincts; | ~~~~~~^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 16%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/FileFormatCompress.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/FileFormatCompress.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 14%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/CodeStreamCompress.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/CodeStreamCompress.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 15%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/CodeStreamDecompress.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/CodeStreamDecompress.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 17%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/CodingParams.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/CodingParams.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 20%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/markers/PPMMarker.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/markers/PPMMarker.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 18%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/markers/SIZMarker.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/markers/SIZMarker.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 21%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/markers/SOTMarker.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/markers/SOTMarker.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 17%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/codestream/FileFormatDecompress.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/FileFormatDecompress.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/FileFormatDecompress.cpp: In member function 'bool grk::FileFormatDecompress::readHeaderProcedureImpl()': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/codestream/FileFormatDecompress.cpp:491:52: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 491 | auto current_data = (uint8_t*)grkCalloc(1, last_data_size); | ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 21%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/cache/TileCache.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/TileCache.cpp:17: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 22%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/cache/MemManager.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/MemManager.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 23%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/cache/LengthCache.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/LengthCache.cpp:17: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 23%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/cache/PacketLengthMarkers.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/PacketLengthMarkers.cpp:17: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 24%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/cache/PacketLengthCache.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/PacketLengthCache.cpp:17: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:98: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SequentialCache.h: In instantiation of 'T* grk::SequentialCache::get() [with T = grk::PacketInfo]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/PacketLengthCache.cpp:51:39: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SequentialCache.h:64:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 64 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SequentialCache.h:69:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector >::size_type' {aka 'unsigned int'} may change value [-Wconversion] 69 | m_currChunk = chunks[chunkIndex]; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 25%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t2/PacketManager.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketManager.cpp:18: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 26%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t2/T2Compress.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/T2Compress.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/T2Compress.cpp: In member function 'bool grk::T2Compress::compressHeader(grk::BitIO*, grk::Resolution*, uint16_t, uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/T2Compress.cpp:134:52: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 134 | auto prc = band->precincts[precinctIndex]; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/T2Compress.cpp:167:44: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 167 | auto prc = band->precincts[precinctIndex]; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/T2Compress.cpp: In member function 'bool grk::T2Compress::compressPacket(grk::TileCodingParams*, grk::PacketIter*, grk::IBufferedStream*, uint32_t*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/T2Compress.cpp:276:43: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 276 | size_t stream_start = stream->tell(); | ~~~~~~~~~~~~^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/T2Compress.cpp:340:44: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 340 | auto prc = band->precincts[precinctIndex]; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/T2Compress.cpp: In member function 'bool grk::T2Compress::compressPacketSimulate(grk::TileCodingParams*, grk::PacketIter*, uint32_t*, uint32_t, grk::PacketLengthMarkers*, bool)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/T2Compress.cpp:427:44: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 427 | auto prc = band->precincts[precinctIndex]; | ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 27%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t2/T2Decompress.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/T2Decompress.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 27%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t2/RateControl.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/RateControl.cpp:18: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 28%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t2/RateInfo.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/RateInfo.cpp:17: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 29%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t2/BitIO.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/BitIO.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/BitIO.cpp: In constructor 'grk::BitIO::BitIO(uint8_t*, uint64_t, bool)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/BitIO.cpp:26:41: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 26 | : start(bp), offset(0), buf_len(len), buf(0), ct(isCompressor ? 8 : 0), stream(nullptr), | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 29%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t2/PacketIter.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 25%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/point_transform/mct.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp: In static member function 'static void grk::mct::decompress_dc_shift_irrev(grk::Tile*, grk::GrkImage*, grk::TileComponentCodingParams*, uint16_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp:509:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 509 | size_t n = (tile->comps + compno)->getBuffer()->stridedArea(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp: In static member function 'static void grk::mct::decompress_irrev(grk::Tile*, grk::GrkImage*, grk::TileComponentCodingParams*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp:532:41: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 532 | ({c0_i, c1_i, c2_i}, shiftInfo, n); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp: In static member function 'static void grk::mct::decompress_dc_shift_rev(grk::Tile*, grk::GrkImage*, grk::TileComponentCodingParams*, uint16_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp:542:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 542 | size_t n = (tile->comps + compno)->getBuffer()->stridedArea(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp: In static member function 'static void grk::mct::decompress_rev(grk::Tile*, grk::GrkImage*, grk::TileComponentCodingParams*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp:563:35: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 563 | ({c0, c1, c2}, shiftInfo, n); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp: In static member function 'static void grk::mct::compress_rev(grk::Tile*, grk::GrkImage*, grk::TileComponentCodingParams*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp:582:35: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 582 | ({c0, c1, c2}, shiftInfo, n); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp: In static member function 'static void grk::mct::compress_irrev(grk::Tile*, grk::GrkImage*, grk::TileComponentCodingParams*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/point_transform/mct.cpp:602:35: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 602 | ({c0, c1, c2}, shiftInfo, n); | ^ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 30%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/grok.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grok.cpp:33: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grok.cpp: In function 'bool grk_seek_in_file(int64_t, FILE*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grok.cpp:153:39: warning: conversion from 'int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 153 | return GRK_FSEEK(p_user_data, numBytes, SEEK_SET) ? false : true; | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 31%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/tile/TileComponent.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/PostT1DecompressFilters.h:3, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileComponent.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:144: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/SparseCanvas.h: In instantiation of 'bool grk::SparseCanvas::read(uint8_t, grk::eBandOrientation, grk::grkRectU32, int32_t*, uint32_t, uint32_t, bool) [with unsigned int LBW = 6; unsigned int LBH = 6; uint8_t = unsigned char; grk::grkRectU32 = grk::grkRect; int32_t = int; uint32_t = unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/SparseCanvas.h:182:7: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/SparseCanvas.h:182:51: warning: unused parameter 'bandOrientation' [-Wunused-parameter] 182 | bool read(uint8_t resno, eBandOrientation bandOrientation, grkRectU32 window, int32_t* dest, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/SparseCanvas.h: In instantiation of 'bool grk::SparseCanvas::write(uint8_t, grk::eBandOrientation, grk::grkRectU32, const int32_t*, uint32_t, uint32_t, bool) [with unsigned int LBW = 6; unsigned int LBH = 6; uint8_t = unsigned char; grk::grkRectU32 = grk::grkRect; int32_t = int; uint32_t = unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/SparseCanvas.h:188:7: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/SparseCanvas.h:188:52: warning: unused parameter 'bandOrientation' [-Wunused-parameter] 188 | bool write(uint8_t resno, eBandOrientation bandOrientation, grkRectU32 window, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 31%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/tile/TileProcessor.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileProcessor.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileProcessor.cpp: In member function 'bool grk::TileProcessor::ingestUncompressedData(uint8_t*, uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileProcessor.cpp:823:50: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 823 | size_t length_per_component = src_length / headerImage->numcomps; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileProcessor.cpp: In member function 'void grk::PacketTracker::clear()': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileProcessor.cpp:1590:25: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 1590 | memset(bits, 0, currentLen); | ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:102: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/MemManager.h: In instantiation of 'bool grk::grkBuffer2d::alloc2d(bool) [with T = int; A = grk::AllocatorAligned]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileComponentWindowBuffer.h:181:45: required from 'bool grk::ResWindowBuffer::alloc(bool) [with T = int]' /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileComponentWindowBuffer.h:523:16: required from 'bool grk::TileComponentWindowBuffer::alloc() [with T = int]' /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileProcessor.cpp:386:33: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/MemManager.h:260:52: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 260 | if(!grkBuffer::alloc(data_size_needed)) | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/MemManager.h:267:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 267 | memset(this->buf, 0, data_size_needed); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 36%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OpenHTJ2K/coding/ht_block_encoding.cpp.o In file included from /usr/lib/gcc/i586-alt-linux/12/include/x86gprintrin.h:33, from /usr/lib/gcc/i586-alt-linux/12/include/x86intrin.h:27, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:46, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:37, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.hpp:34, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:31, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:30: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'size_t popcount32(uintmax_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:25: warning: conversion from 'uintmax_t' {aka 'long long unsigned int'} to 'unsigned int' may change value [-Wconversion] 54 | precision = _popcnt32(num); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 54 | precision = _popcnt32(num); | ^~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'uint32_t int_log2(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:73:18: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 73 | y = 31 - __builtin_clz(x); | ~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void buf_chain::activate(int)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:177:22: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 177 | node_pos = n; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_bit(uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:282:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 282 | tmp += b << bits; | ~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_Nbits(uint32_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:286:27: warning: comparison is always true due to limited range of data type [-Wtype-limits] 286 | for (int i = n - 1; n >= 0; --n) { | ~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree_node::set_node(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:334:20: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 334 | level = l; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:335:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 335 | index = i; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:336:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 336 | parent_index = pi; | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In constructor 'tagtree::tagtree(uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:410:34: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 410 | parent_node->add_child(node_index); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:429:28: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 429 | -1); // parent index = - 1 means I am the ROOT | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree::build() const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:439:63: warning: conversion to 'std::size_t' {aka 'unsigned int'} from '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} may change the sign of the result [-Wsign-conversion] 439 | uint16_t val = this->node[children[0]].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:441:37: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 441 | uint16_t tmp = this->node[j].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp: In member function 'void j2k_codeblock::modify_state(const std::function&, uint8_t, int16_t, int16_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:105:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 105 | callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)], val); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:105:57: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 105 | callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)], val); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp: In member function 'uint8_t j2k_codeblock::get_state(const std::function&, int16_t, int16_t) const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:108:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 108 | return callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)]); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:108:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 108 | return callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)]); | ~~~~^~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:32: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_local.hpp: In function 'void pi_(uint8_t&, const uint8_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_local.hpp:54:10: warning: unsigned conversion from 'int' to 'uint8_t' {aka 'unsigned char'} changes the value of '-5' [-Wsign-conversion] 54 | data &= ~(1 << SHIFT_PI_); | ~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_local.hpp: In function 'void refinement_indicator(uint8_t&, const uint8_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_local.hpp:63:10: warning: unsigned conversion from 'int' to 'uint8_t' {aka 'unsigned char'} changes the value of '-5' [-Wsign-conversion] 63 | data &= ~(1 << SHIFT_PI_); | ~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In member function 'void j2k_codeblock::set_MagSgn_and_sigma(uint32_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:65:25: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 65 | temp += sign >> 31; | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:65:14: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 65 | temp += sign >> 31; | ~~~~~^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In function 'void print_block(const j2k_codeblock*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:36:40: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 36 | #define ceil_int(a, b) ((a) + ((b)-1)) / (b) | ~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:74:23: note: in expansion of macro 'ceil_int' 74 | const uint16_t QW = ceil_int(block->size.x, 2); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:36:40: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 36 | #define ceil_int(a, b) ((a) + ((b)-1)) / (b) | ~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:75:23: note: in expansion of macro 'ceil_int' 75 | const uint16_t QH = ceil_int(block->size.y, 2); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:83:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 83 | buf[4 * idx] = block->sample_buf[x + y * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:83:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 83 | buf[4 * idx] = block->sample_buf[x + y * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:83:61: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 83 | buf[4 * idx] = block->sample_buf[x + y * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:84:17: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 84 | if (y + 1 < block->size.y) { | ~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:85:53: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 85 | buf[4 * idx + 1] = block->sample_buf[x + (y + 1) * block->size.x]; | ~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:85:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 85 | buf[4 * idx + 1] = block->sample_buf[x + (y + 1) * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:85:73: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 85 | buf[4 * idx + 1] = block->sample_buf[x + (y + 1) * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:87:17: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 87 | if (x + 1 < block->size.x) { | ~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:88:54: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 88 | buf[4 * idx + 2] = block->sample_buf[x + 1 + y * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:88:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 88 | buf[4 * idx + 2] = block->sample_buf[x + 1 + y * block->size.x]; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:88:71: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 88 | buf[4 * idx + 2] = block->sample_buf[x + 1 + y * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:90:18: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 90 | if ((x + 1 < block->size.x) && (y + 1 < block->size.y)) { | ~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:90:45: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 90 | if ((x + 1 < block->size.x) && (y + 1 < block->size.y)) { | ~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:91:57: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 91 | buf[4 * idx + 3] = block->sample_buf[x + 1 + (y + 1) * block->size.x]; | ~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:91:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 91 | buf[4 * idx + 3] = block->sample_buf[x + 1 + (y + 1) * block->size.x]; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:91:77: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 91 | buf[4 * idx + 3] = block->sample_buf[x + 1 + (y + 1) * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In member function 'void state_MS_enc::emitMagSgnBits(uint32_t, uint8_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:144:10: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 144 | cwd -= temp; | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In member function 'void state_MEL_enc::emitMELbit(uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:219:20: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 219 | tmp = (tmp << 1) + bit; | ~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In member function 'void state_MEL_enc::encodeMEL(uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:237:27: warning: conversion from 'int' to 'int8_t' {aka 'signed char'} may change value [-Wconversion] 237 | MEL_k = std::min(12, MEL_k + 1); | ~~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:252:25: warning: conversion from 'int' to 'int8_t' {aka 'signed char'} may change value [-Wconversion] 252 | MEL_k = std::max(0, MEL_k - 1); | ~~~~~~~~^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In member function 'void state_VLC_enc::emitVLCBits(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:272:28: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 272 | tmp |= (cwd & (1 << t) - 1) << bits; | ~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:272:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 272 | tmp |= (cwd & (1 << t) - 1) << bits; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:273:10: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 273 | bits += t; | ~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:275:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 275 | len -= t; | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In function 'void make_storage(const j2k_codeblock*, uint16_t, uint16_t, uint16_t, uint16_t, uint8_t*, uint32_t*, int32_t*, uint8_t*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:322:45: warning: conversion from 'int32_t' {aka 'int'} to 'int16_t' {aka 'short int'} may change value [-Wconversion] 322 | sigma_n[i] = block->get_state(Sigma, y[i], x[i]); | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:322:51: warning: conversion from 'int32_t' {aka 'int'} to 'int16_t' {aka 'short int'} may change value [-Wconversion] 322 | sigma_n[i] = block->get_state(Sigma, y[i], x[i]); | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:324:65: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 324 | rho_q[0] = sigma_n[0] + (sigma_n[1] << 1) + (sigma_n[2] << 2) + (sigma_n[3] << 3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:327:45: warning: conversion from 'int32_t' {aka 'int'} to 'int16_t' {aka 'short int'} may change value [-Wconversion] 327 | sigma_n[i] = block->get_state(Sigma, y[i], x[i]); | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:327:51: warning: conversion from 'int32_t' {aka 'int'} to 'int16_t' {aka 'short int'} may change value [-Wconversion] 327 | sigma_n[i] = block->get_state(Sigma, y[i], x[i]); | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:329:65: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 329 | rho_q[1] = sigma_n[4] + (sigma_n[5] << 1) + (sigma_n[6] << 2) + (sigma_n[7] << 3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:332:28: warning: comparison of integer expressions of different signedness: 'const int32_t' {aka 'const int'} and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 332 | if ((x[i] >= 0 && x[i] < (block->size.x)) && (y[i] >= 0 && y[i] < (block->size.y))) { | ~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:332:69: warning: comparison of integer expressions of different signedness: 'const int32_t' {aka 'const int'} and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 332 | if ((x[i] >= 0 && x[i] < (block->size.x)) && (y[i] >= 0 && y[i] < (block->size.y))) { | ~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:333:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 333 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:333:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 333 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:333:61: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 333 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:340:67: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 340 | E_n[i] = (32 - count_leading_zeros(((v_n[i] >> 1) << 1) + 1)) * sigma_n[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:313:48: warning: unused parameter 'QH' [-Wunused-parameter] 313 | const uint16_t QH, const uint16_t QW, uint8_t *const sigma_n, | ~~~~~~~~~~~~~~~^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:313:67: warning: unused parameter 'QW' [-Wunused-parameter] 313 | const uint16_t QH, const uint16_t QW, uint8_t *const sigma_n, | ~~~~~~~~~~~~~~~^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In function 'void make_storage_one(const j2k_codeblock*, uint16_t, uint16_t, uint16_t, uint16_t, uint8_t*, uint32_t*, int32_t*, uint8_t*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:351:45: warning: conversion from 'int32_t' {aka 'int'} to 'int16_t' {aka 'short int'} may change value [-Wconversion] 351 | sigma_n[i] = block->get_state(Sigma, y[i], x[i]); | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:351:51: warning: conversion from 'int32_t' {aka 'int'} to 'int16_t' {aka 'short int'} may change value [-Wconversion] 351 | sigma_n[i] = block->get_state(Sigma, y[i], x[i]); | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:353:65: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 353 | rho_q[0] = sigma_n[0] + (sigma_n[1] << 1) + (sigma_n[2] << 2) + (sigma_n[3] << 3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:356:28: warning: comparison of integer expressions of different signedness: 'const int32_t' {aka 'const int'} and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 356 | if ((x[i] >= 0 && x[i] < (block->size.x)) && (y[i] >= 0 && y[i] < (block->size.y))) { | ~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:356:69: warning: comparison of integer expressions of different signedness: 'const int32_t' {aka 'const int'} and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 356 | if ((x[i] >= 0 && x[i] < (block->size.x)) && (y[i] >= 0 && y[i] < (block->size.y))) { | ~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:357:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 357 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:357:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 357 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:357:61: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 357 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:364:67: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 364 | E_n[i] = (32 - count_leading_zeros(((v_n[i] >> 1) << 1) + 1)) * sigma_n[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:345:52: warning: unused parameter 'QH' [-Wunused-parameter] 345 | const uint16_t QH, const uint16_t QW, uint8_t *const sigma_n, | ~~~~~~~~~~~~~~~^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:345:71: warning: unused parameter 'QW' [-Wunused-parameter] 345 | const uint16_t QH, const uint16_t QW, uint8_t *const sigma_n, | ~~~~~~~~~~~~~~~^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In lambda function: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:371:39: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 371 | tmp = enc_UVLC_table0[u1 + (u2 << 5)]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:372:14: warning: conversion from 'int32_t' {aka 'int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 372 | lw = (tmp & 0xFF); | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:373:13: warning: conversion from 'int32_t' {aka 'int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 373 | cwd = tmp >> 8; | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In lambda function: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:379:39: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 379 | tmp = enc_UVLC_table1[u1 + (u2 << 5)]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:380:14: warning: conversion from 'int32_t' {aka 'int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 380 | lw = (tmp & 0xFF); | ~~~~~^~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:381:13: warning: conversion from 'int32_t' {aka 'int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 381 | cwd = tmp >> 8; | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In function 'int32_t termMELandVLC(state_VLC_enc&, state_MEL_enc&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:402:72: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 402 | memmove(&MEL.buf[MEL.pos], &VLC.buf[VLC.pos + 1], MAX_Scup - VLC.pos - 1); /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp: In function 'int32_t htj2k_encode(j2k_codeblock*, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:36:40: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 36 | #define ceil_int(a, b) ((a) + ((b)-1)) / (b) | ~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:443:23: note: in expansion of macro 'ceil_int' 443 | const uint16_t QW = ceil_int(block->size.x, 2); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:36:40: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 36 | #define ceil_int(a, b) ((a) + ((b)-1)) / (b) | ~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:444:23: note: in expansion of macro 'ceil_int' 444 | const uint16_t QH = ceil_int(block->size.y, 2); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:459:19: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 459 | return block->length; | ~~~~~~~^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:34:44: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-2' to '4294967294' [-Wsign-conversion] 34 | #define round_up(x, n) (((x) + (n)-1) & (-n)) | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:473:65: note: in expansion of macro 'round_up' 473 | std::unique_ptr Eadj = std::make_unique(round_up(block->size.x, 2) + 2); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:34:44: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-2' to '4294967294' [-Wsign-conversion] 34 | #define round_up(x, n) (((x) + (n)-1) & (-n)) | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:474:25: note: in expansion of macro 'round_up' 474 | memset(Eadj.get(), 0, round_up(block->size.x, 2) + 2); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:34:44: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-2' to '4294967294' [-Wsign-conversion] 34 | #define round_up(x, n) (((x) + (n)-1) & (-n)) | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:475:70: note: in expansion of macro 'round_up' 475 | std::unique_ptr sigma_adj = std::make_unique(round_up(block->size.x, 2) + 2); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:34:44: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-2' to '4294967294' [-Wsign-conversion] 34 | #define round_up(x, n) (((x) + (n)-1) & (-n)) | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:476:30: note: in expansion of macro 'round_up' 476 | memset(sigma_adj.get(), 0, round_up(block->size.x, 2) + 2); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:414:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 414 | (block->block_states[(y[i] + 1) * (block->size.x + 2) + (x[i] + 1)] >> SHIFT_SIGMA) & 1; \ | ~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:414:73: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 414 | (block->block_states[(y[i] + 1) * (block->size.x + 2) + (x[i] + 1)] >> SHIFT_SIGMA) & 1; \ | ~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:415:67: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 415 | rho_q[0] = sigma_n[0] + (sigma_n[1] << 1) + (sigma_n[2] << 2) + (sigma_n[3] << 3); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:418:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 418 | (block->block_states[(y[i] + 1) * (block->size.x + 2) + (x[i] + 1)] >> SHIFT_SIGMA) & 1; \ | ~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:418:73: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 418 | (block->block_states[(y[i] + 1) * (block->size.x + 2) + (x[i] + 1)] >> SHIFT_SIGMA) & 1; \ | ~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:419:67: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 419 | rho_q[1] = sigma_n[4] + (sigma_n[5] << 1) + (sigma_n[6] << 2) + (sigma_n[7] << 3); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:421:30: warning: comparison of integer expressions of different signedness: 'const int32_t' {aka 'const int'} and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 421 | if ((x[i] >= 0 && x[i] < (block->size.x)) && (y[i] >= 0 && y[i] < (block->size.y))) \ | ~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:421:71: warning: comparison of integer expressions of different signedness: 'const int32_t' {aka 'const int'} and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 421 | if ((x[i] >= 0 && x[i] < (block->size.x)) && (y[i] >= 0 && y[i] < (block->size.y))) \ | ~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:422:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 422 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; \ | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:422:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 422 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; \ | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:422:63: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 422 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; \ | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:427:69: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 427 | E_n[i] = (32 - count_leading_zeros(((v_n[i] >> 1) << 1) + 1)) * sigma_n[i]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:490:5: note: in expansion of macro 'MAKE_STORAGE' 490 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:515:45: warning: conversion from 'int32_t' {aka 'int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 515 | n_q[Q0] = emb[Q0] + (rho_q[Q0] << 4) + (c_q[Q0] << 8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:521:37: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 521 | m_n[i] = sigma_n[i] * U_q[Q0] - ((emb_k >> i) & 1); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:543:61: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 543 | c_q[Q0] = (sigma_n[4] | sigma_n[5]) + (sigma_n[6] << 1) + (sigma_n[7] << 2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:545:61: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 545 | c_q[Q1] = (sigma_n[0] | sigma_n[1]) + (sigma_n[2] << 1) + (sigma_n[3] << 2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:582:45: warning: conversion from 'int32_t' {aka 'int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 582 | n_q[Q1] = emb[Q1] + (rho_q[Q1] << 4) + (c_q[Q1] << 8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:587:45: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 587 | m_n[4 + i] = sigma_n[4 + i] * U_q[Q1] - ((emb_k >> i) & 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:633:45: warning: conversion from 'int32_t' {aka 'int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 633 | n_q[Q0] = emb[Q0] + (rho_q[Q0] << 4) + (c_q[Q0] << 8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:638:37: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 638 | m_n[i] = sigma_n[i] * U_q[Q0] - ((emb_k >> i) & 1); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:676:15: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 676 | c_q[Q0] += (sigma_n[6] | sigma_n[7]) << 1; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:414:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 414 | (block->block_states[(y[i] + 1) * (block->size.x + 2) + (x[i] + 1)] >> SHIFT_SIGMA) & 1; \ | ~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:414:73: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 414 | (block->block_states[(y[i] + 1) * (block->size.x + 2) + (x[i] + 1)] >> SHIFT_SIGMA) & 1; \ | ~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:415:67: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 415 | rho_q[0] = sigma_n[0] + (sigma_n[1] << 1) + (sigma_n[2] << 2) + (sigma_n[3] << 3); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:418:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 418 | (block->block_states[(y[i] + 1) * (block->size.x + 2) + (x[i] + 1)] >> SHIFT_SIGMA) & 1; \ | ~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:418:73: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 418 | (block->block_states[(y[i] + 1) * (block->size.x + 2) + (x[i] + 1)] >> SHIFT_SIGMA) & 1; \ | ~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:419:67: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 419 | rho_q[1] = sigma_n[4] + (sigma_n[5] << 1) + (sigma_n[6] << 2) + (sigma_n[7] << 3); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:421:30: warning: comparison of integer expressions of different signedness: 'const int32_t' {aka 'const int'} and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 421 | if ((x[i] >= 0 && x[i] < (block->size.x)) && (y[i] >= 0 && y[i] < (block->size.y))) \ | ~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:421:71: warning: comparison of integer expressions of different signedness: 'const int32_t' {aka 'const int'} and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 421 | if ((x[i] >= 0 && x[i] < (block->size.x)) && (y[i] >= 0 && y[i] < (block->size.y))) \ | ~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:422:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 422 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; \ | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:422:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 422 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; \ | ~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:422:63: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 422 | v_n[i] = block->sample_buf[x[i] + y[i] * block->size.x]; \ | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:427:69: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 427 | E_n[i] = (32 - count_leading_zeros(((v_n[i] >> 1) << 1) + 1)) * sigma_n[i]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:679:7: note: in expansion of macro 'MAKE_STORAGE' 679 | MAKE_STORAGE() | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:683:15: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 683 | c_q[Q1] += (sigma_n[2] | sigma_n[3]) << 1; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:722:47: warning: conversion from 'int32_t' {aka 'int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 722 | n_q[Q0] = emb[Q0] + (rho_q[Q0] << 4) + (c_q[Q0] << 8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:727:39: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 727 | m_n[i] = sigma_n[i] * U_q[Q0] - ((emb_k >> i) & 1); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:781:47: warning: conversion from 'int32_t' {aka 'int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 781 | n_q[Q1] = emb[Q1] + (rho_q[Q1] << 4) + (c_q[Q1] << 8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:786:47: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 786 | m_n[4 + i] = sigma_n[4 + i] * U_q[Q1] - ((emb_k >> i) & 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:810:15: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 810 | c_q[Q0] += (sigma_n[6] | sigma_n[7]) << 1; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:854:47: warning: conversion from 'int32_t' {aka 'int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 854 | n_q[Q0] = emb[Q0] + (rho_q[Q0] << 4) + (c_q[Q0] << 8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:859:39: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 859 | m_n[i] = sigma_n[i] * U_q[Q0] - ((emb_k >> i) & 1); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:881:19: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 881 | memcpy(&fwd_buf[Pcup], &rev_buf[0], Scup); | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:881:39: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 881 | memcpy(&fwd_buf[Pcup], &rev_buf[0], Scup); | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:884:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 884 | fwd_buf[Lcup - 1] = Scup >> 4; | ~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:884:28: warning: conversion from 'int32_t' {aka 'int'} to 'unsigned char' may change value [-Wconversion] 884 | fwd_buf[Lcup - 1] = Scup >> 4; | ~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:885:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 885 | fwd_buf[Lcup - 2] = (fwd_buf[Lcup - 2] & 0xF0) | (Scup & 0x0f); | ~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:885:37: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 885 | fwd_buf[Lcup - 2] = (fwd_buf[Lcup - 2] & 0xF0) | (Scup & 0x0f); | ~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:890:45: warning: conversion from 'int32_t' {aka 'int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 890 | block->set_compressed_data(fwd_buf.get(), Lcup); | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:892:27: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 892 | block->length = Lcup; | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:893:27: warning: conversion to '__gnu_cxx::__alloc_traits, unsigned int>::value_type' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 893 | block->pass_length[0] = Lcup; | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:900:17: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 900 | return block->length; | ~~~~~~~^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:487:12: warning: unused variable 'p_sample' [-Wunused-variable] 487 | int32_t *p_sample = block->sample_buf.get(); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_encoding.cpp:433:64: warning: unused parameter 'ROIshift' [-Wunused-parameter] 433 | int32_t htj2k_encode(j2k_codeblock *const block, const uint8_t ROIshift) noexcept { | ~~~~~~~~~~~~~~^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 32%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/transform/WaveletFwd.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/transform/WaveletFwd.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 36%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OpenHTJ2K/coding/ht_block_decoding.cpp.o In file included from /usr/lib/gcc/i586-alt-linux/12/include/x86gprintrin.h:33, from /usr/lib/gcc/i586-alt-linux/12/include/x86intrin.h:27, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:46, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:37, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.hpp:34, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:31, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:29: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'size_t popcount32(uintmax_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:25: warning: conversion from 'uintmax_t' {aka 'long long unsigned int'} to 'unsigned int' may change value [-Wconversion] 54 | precision = _popcnt32(num); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 54 | precision = _popcnt32(num); | ^~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'uint32_t int_log2(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:73:18: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 73 | y = 31 - __builtin_clz(x); | ~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void buf_chain::activate(int)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:177:22: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 177 | node_pos = n; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_bit(uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:282:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 282 | tmp += b << bits; | ~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_Nbits(uint32_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:286:27: warning: comparison is always true due to limited range of data type [-Wtype-limits] 286 | for (int i = n - 1; n >= 0; --n) { | ~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree_node::set_node(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:334:20: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 334 | level = l; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:335:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 335 | index = i; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:336:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 336 | parent_index = pi; | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In constructor 'tagtree::tagtree(uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:410:34: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 410 | parent_node->add_child(node_index); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:429:28: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 429 | -1); // parent index = - 1 means I am the ROOT | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree::build() const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:439:63: warning: conversion to 'std::size_t' {aka 'unsigned int'} from '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} may change the sign of the result [-Wsign-conversion] 439 | uint16_t val = this->node[children[0]].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:441:37: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 441 | uint16_t tmp = this->node[j].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp: In member function 'void j2k_codeblock::modify_state(const std::function&, uint8_t, int16_t, int16_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:105:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 105 | callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)], val); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:105:57: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 105 | callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)], val); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp: In member function 'uint8_t j2k_codeblock::get_state(const std::function&, int16_t, int16_t) const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:108:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 108 | return callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)]); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:108:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 108 | return callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)]); | ~~~~^~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:31: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.hpp: In constructor 'state_VLC_dec::state_VLC_dec(uint8_t*, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.hpp:143:22: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 143 | : pos(Lcup - 2 - Pcup), ctreg(0), Creg(0), bits(0), buf(Dcup + Pcup) { | ~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.hpp: In constructor 'MR_dec::MR_dec(const uint8_t*, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.hpp:202:27: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] 202 | pos((Lref == 0) ? -1 : magref_length - 1), | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.hpp:202:25: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 202 | pos((Lref == 0) ? -1 : magref_length - 1), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:32: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_local.hpp: In function 'void pi_(uint8_t&, const uint8_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_local.hpp:54:10: warning: unsigned conversion from 'int' to 'uint8_t' {aka 'unsigned char'} changes the value of '-5' [-Wsign-conversion] 54 | data &= ~(1 << SHIFT_PI_); | ~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_local.hpp: In function 'void refinement_indicator(uint8_t&, const uint8_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_local.hpp:63:10: warning: unsigned conversion from 'int' to 'uint8_t' {aka 'unsigned char'} changes the value of '-5' [-Wsign-conversion] 63 | data &= ~(1 << SHIFT_PI_); | ~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In member function 'void j2k_codeblock::calc_mbr(uint8_t&, uint16_t, uint16_t, uint32_t, uint8_t) const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:49:29: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 49 | mbr |= get_state(Sigma, i - 1, j - 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:49:36: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 49 | mbr |= get_state(Sigma, i - 1, j - 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:50:29: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 50 | mbr |= get_state(Sigma, i - 1, j); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:50:34: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 50 | mbr |= get_state(Sigma, i - 1, j); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:51:29: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 51 | mbr |= get_state(Sigma, i - 1, j + 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:51:36: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 51 | mbr |= get_state(Sigma, i - 1, j + 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:52:27: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 52 | mbr |= get_state(Sigma, i, j - 1); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:52:32: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 52 | mbr |= get_state(Sigma, i, j - 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:53:27: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 53 | mbr |= get_state(Sigma, i, j + 1); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:53:32: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 53 | mbr |= get_state(Sigma, i, j + 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:54:29: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 54 | mbr |= get_state(Sigma, i + 1, j - 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:54:36: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 54 | mbr |= get_state(Sigma, i + 1, j - 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:54:43: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 54 | mbr |= get_state(Sigma, i + 1, j - 1) * causal_cond; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:55:29: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 55 | mbr |= get_state(Sigma, i + 1, j) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:55:34: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 55 | mbr |= get_state(Sigma, i + 1, j) * causal_cond; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:55:39: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 55 | mbr |= get_state(Sigma, i + 1, j) * causal_cond; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:56:29: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 56 | mbr |= get_state(Sigma, i + 1, j + 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:56:36: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 56 | mbr |= get_state(Sigma, i + 1, j + 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:56:43: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 56 | mbr |= get_state(Sigma, i + 1, j + 1) * causal_cond; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:58:40: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 58 | mbr |= get_state(Refinement_value, i - 1, j - 1) * get_state(Scan, i - 1, j - 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:58:47: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 58 | mbr |= get_state(Refinement_value, i - 1, j - 1) * get_state(Scan, i - 1, j - 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:58:72: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 58 | mbr |= get_state(Refinement_value, i - 1, j - 1) * get_state(Scan, i - 1, j - 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:58:79: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 58 | mbr |= get_state(Refinement_value, i - 1, j - 1) * get_state(Scan, i - 1, j - 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:58:82: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 58 | mbr |= get_state(Refinement_value, i - 1, j - 1) * get_state(Scan, i - 1, j - 1); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:59:40: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 59 | mbr |= get_state(Refinement_value, i - 1, j) * get_state(Scan, i - 1, j); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:59:45: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 59 | mbr |= get_state(Refinement_value, i - 1, j) * get_state(Scan, i - 1, j); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:59:68: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 59 | mbr |= get_state(Refinement_value, i - 1, j) * get_state(Scan, i - 1, j); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:59:73: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 59 | mbr |= get_state(Refinement_value, i - 1, j) * get_state(Scan, i - 1, j); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:59:74: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 59 | mbr |= get_state(Refinement_value, i - 1, j) * get_state(Scan, i - 1, j); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:60:40: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 60 | mbr |= get_state(Refinement_value, i - 1, j + 1) * get_state(Scan, i - 1, j + 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:60:47: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 60 | mbr |= get_state(Refinement_value, i - 1, j + 1) * get_state(Scan, i - 1, j + 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:60:72: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 60 | mbr |= get_state(Refinement_value, i - 1, j + 1) * get_state(Scan, i - 1, j + 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:60:79: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 60 | mbr |= get_state(Refinement_value, i - 1, j + 1) * get_state(Scan, i - 1, j + 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:60:82: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 60 | mbr |= get_state(Refinement_value, i - 1, j + 1) * get_state(Scan, i - 1, j + 1); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:61:38: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 61 | mbr |= get_state(Refinement_value, i, j - 1) * get_state(Scan, i, j - 1); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:61:43: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 61 | mbr |= get_state(Refinement_value, i, j - 1) * get_state(Scan, i, j - 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:61:66: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 61 | mbr |= get_state(Refinement_value, i, j - 1) * get_state(Scan, i, j - 1); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:61:71: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 61 | mbr |= get_state(Refinement_value, i, j - 1) * get_state(Scan, i, j - 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:61:74: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 61 | mbr |= get_state(Refinement_value, i, j - 1) * get_state(Scan, i, j - 1); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:62:38: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 62 | mbr |= get_state(Refinement_value, i, j + 1) * get_state(Scan, i, j + 1); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:62:43: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 62 | mbr |= get_state(Refinement_value, i, j + 1) * get_state(Scan, i, j + 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:62:66: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 62 | mbr |= get_state(Refinement_value, i, j + 1) * get_state(Scan, i, j + 1); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:62:71: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 62 | mbr |= get_state(Refinement_value, i, j + 1) * get_state(Scan, i, j + 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:62:74: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 62 | mbr |= get_state(Refinement_value, i, j + 1) * get_state(Scan, i, j + 1); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:63:40: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 63 | mbr |= get_state(Refinement_value, i + 1, j - 1) * get_state(Scan, i + 1, j - 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:63:47: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 63 | mbr |= get_state(Refinement_value, i + 1, j - 1) * get_state(Scan, i + 1, j - 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:63:72: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 63 | mbr |= get_state(Refinement_value, i + 1, j - 1) * get_state(Scan, i + 1, j - 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:63:79: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 63 | mbr |= get_state(Refinement_value, i + 1, j - 1) * get_state(Scan, i + 1, j - 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:63:86: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 63 | mbr |= get_state(Refinement_value, i + 1, j - 1) * get_state(Scan, i + 1, j - 1) * causal_cond; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:64:40: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 64 | mbr |= get_state(Refinement_value, i + 1, j) * get_state(Scan, i + 1, j) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:64:45: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 64 | mbr |= get_state(Refinement_value, i + 1, j) * get_state(Scan, i + 1, j) * causal_cond; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:64:68: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 64 | mbr |= get_state(Refinement_value, i + 1, j) * get_state(Scan, i + 1, j) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:64:73: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 64 | mbr |= get_state(Refinement_value, i + 1, j) * get_state(Scan, i + 1, j) * causal_cond; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:64:78: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 64 | mbr |= get_state(Refinement_value, i + 1, j) * get_state(Scan, i + 1, j) * causal_cond; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:65:40: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 65 | mbr |= get_state(Refinement_value, i + 1, j + 1) * get_state(Scan, i + 1, j + 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:65:47: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 65 | mbr |= get_state(Refinement_value, i + 1, j + 1) * get_state(Scan, i + 1, j + 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:65:72: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 65 | mbr |= get_state(Refinement_value, i + 1, j + 1) * get_state(Scan, i + 1, j + 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:65:79: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 65 | mbr |= get_state(Refinement_value, i + 1, j + 1) * get_state(Scan, i + 1, j + 1) * causal_cond; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:65:86: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 65 | mbr |= get_state(Refinement_value, i + 1, j + 1) * get_state(Scan, i + 1, j + 1) * causal_cond; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:46:95: warning: unused parameter 'mbr_info' [-Wunused-parameter] 46 | void j2k_codeblock::calc_mbr(uint8_t &mbr, const uint16_t i, const uint16_t j, const uint32_t mbr_info, | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In member function 'void state_MS_dec::close(int32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:85:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 85 | ctreg -= num_bits; | ~~~~~~^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In member function 'int32_t state_MS_dec::decodeMagSgnValue(int32_t, int32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:120:24: warning: conversion to 'uint64_t' {aka 'long long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 120 | val = bitmask32[m_n] & Creg; | ~~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:120:26: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int32_t' {aka 'int'} may change value [-Wconversion] 120 | val = bitmask32[m_n] & Creg; | ~~~~~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In member function 'uint8_t state_MEL_decoder::decodeMELSym()': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:164:34: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 164 | MEL_run = (MEL_run << 1) + bit; | ~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In member function 'void state_VLC_dec::decodeCxtVLC(const uint16_t&, uint8_t (&)[2], uint8_t (&)[2], uint8_t (&)[2], uint8_t (&)[2], const uint8_t&, const uint16_t*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:282:32: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 282 | uint16_t idx = cwd + (context << 7); | ~~~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:296:45: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 296 | emb_1[first_or_second] = (value & 0xF000) >> 12; | ~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In member function 'uint8_t state_VLC_dec::decodeUSuffix(const uint8_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:332:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 332 | val += (bit << i); | ~~~~^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In member function 'uint8_t state_VLC_dec::decodeUExtension(const uint8_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:344:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 344 | val += (bit << i); | ~~~~^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In function 'void get_sample_position_from_quad(uint16_t, uint16_t, uint16_t, uint16_t, uint16_t&, uint16_t&, uint16_t&, uint16_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:417:21: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 417 | sample_0 = 2 * qx + qy * Wblk; | ~~~~~~~^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:418:21: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 418 | sample_1 = 2 * qx + (qy + 1) * Wblk; | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In function 'void ht_cleanup_decode(j2k_codeblock*, uint8_t*, const uint32_t&, const uint8_t&, const uint8_t&, state_MS_dec&, state_MEL_unPacker&, state_MEL_decoder&, state_VLC_dec&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:36:40: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 36 | #define ceil_int(a, b) ((a) + ((b)-1)) / (b) | ~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:438:23: note: in expansion of macro 'ceil_int' 438 | const uint16_t QW = ceil_int(block->size.x, 2); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:36:40: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 36 | #define ceil_int(a, b) ((a) + ((b)-1)) / (b) | ~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:439:23: note: in expansion of macro 'ceil_int' 439 | const uint16_t QH = ceil_int(block->size.y, 2); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:442:75: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 442 | std::unique_ptr sigma_n = std::make_unique(4 * QW * QH); | ~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:443:75: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 443 | std::unique_ptr E = std::make_unique(4 * QW * QH); | ~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:444:76: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 444 | std::unique_ptr mu_n = std::make_unique(4 * QW * QH); | ~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:486:22: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 486 | sigma_n[4 * q1 + i] = (rho[FIRST_QUAD] >> i) & 1; | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:490:31: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 490 | context |= sigma_n[4 * q1 + 1]; // sf | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:491:31: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 491 | context += sigma_n[4 * q1 + 2] << 1; // w << 1 | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:491:39: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 491 | context += sigma_n[4 * q1 + 2] << 1; // w << 1 | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:492:31: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 492 | context += sigma_n[4 * q1 + 3] << 2; // sw << 2 | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:492:39: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 492 | context += sigma_n[4 * q1 + 3] << 2; // sw << 2 | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:507:22: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 507 | sigma_n[4 * q1 + i] = (rho[FIRST_QUAD] >> i) & 1; | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:516:22: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 516 | sigma_n[4 * q2 + i] = (rho[SECOND_QUAD] >> i) & 1; | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:520:31: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 520 | context |= sigma_n[4 * q2 + 1]; // sf | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:521:31: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 521 | context += sigma_n[4 * q2 + 2] << 1; // w << 1 | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:521:39: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 521 | context += sigma_n[4 * q2 + 2] << 1; // w << 1 | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:522:31: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 522 | context += sigma_n[4 * q2 + 3] << 2; // sw << 2 | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:522:39: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 522 | context += sigma_n[4 * q2 + 3] << 2; // sw << 2 | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:537:22: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 537 | sigma_n[4 * q2 + i] = (rho[SECOND_QUAD] >> i) & 1; | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:587:42: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 587 | m[FIRST_QUAD][i] = sigma_n[4 * q1 + i] * U[FIRST_QUAD] - ((emb_k[FIRST_QUAD] >> i) & 1); | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:588:42: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 588 | m[SECOND_QUAD][i] = sigma_n[4 * q2 + i] * U[SECOND_QUAD] - ((emb_k[SECOND_QUAD] >> i) & 1); | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:601:11: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 601 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:601:59: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 601 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ~~~~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:601:22: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 601 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:602:14: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 602 | mu_n[n] = (v[FIRST_QUAD][i] >> 1) + 1; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:602:43: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 602 | mu_n[n] = (v[FIRST_QUAD][i] >> 1) + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:603:14: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 603 | mu_n[n] <<= pLSB; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:604:14: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 604 | mu_n[n] |= (v[FIRST_QUAD][i] & 1) << 31; // sign bit | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:604:43: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 604 | mu_n[n] |= (v[FIRST_QUAD][i] & 1) << 31; // sign bit | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:616:11: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 616 | E[n] = 32 - count_leading_zeros(v[SECOND_QUAD][i]); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:616:60: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 616 | E[n] = 32 - count_leading_zeros(v[SECOND_QUAD][i]); | ~~~~~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:616:22: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 616 | E[n] = 32 - count_leading_zeros(v[SECOND_QUAD][i]); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:617:14: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 617 | mu_n[n] = (v[SECOND_QUAD][i] >> 1) + 1; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:617:44: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 617 | mu_n[n] = (v[SECOND_QUAD][i] >> 1) + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:618:14: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 618 | mu_n[n] <<= pLSB; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:619:14: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 619 | mu_n[n] |= (v[SECOND_QUAD][i] & 1) << 31; // sign bit | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:619:44: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 619 | mu_n[n] |= (v[SECOND_QUAD][i] & 1) << 31; // sign bit | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:645:22: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 645 | sigma_n[4 * q1 + i] = (rho[FIRST_QUAD] >> i) & 1; | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:659:41: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 659 | m[FIRST_QUAD][i] = sigma_n[4 * q1 + i] * U[FIRST_QUAD] - ((emb_k[FIRST_QUAD] >> i) & 1); | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:670:11: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 670 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:670:59: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 670 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ~~~~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:670:22: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 670 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:671:14: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 671 | mu_n[n] = (v[FIRST_QUAD][i] >> 1) + 1; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:671:43: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 671 | mu_n[n] = (v[FIRST_QUAD][i] >> 1) + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:672:14: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 672 | mu_n[n] <<= pLSB; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:673:14: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 673 | mu_n[n] |= (v[FIRST_QUAD][i] & 1) << 31; // sign bit | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:673:43: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 673 | mu_n[n] |= (v[FIRST_QUAD][i] & 1) << 31; // sign bit | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:690:40: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 690 | context1 = sigma_n[4 * (q1 - QW) + 1]; // n | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:691:42: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 691 | context1 += (sigma_n[4 * (q1 - QW) + 3] << 2); // ne | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:691:51: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 691 | context1 += (sigma_n[4 * (q1 - QW) + 3] << 2); // ne | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:693:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 693 | context1 |= sigma_n[4 * (q1 - QW) - 1]; // nw | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:694:37: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 694 | context1 += (sigma_n[4 * q1 - 1] | sigma_n[4 * q1 - 2]) << 1; // (sw | w) << 1 | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:694:59: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 694 | context1 += (sigma_n[4 * q1 - 1] | sigma_n[4 * q1 - 2]) << 1; // (sw | w) << 1 | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:694:68: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 694 | context1 += (sigma_n[4 * q1 - 1] | sigma_n[4 * q1 - 2]) << 1; // (sw | w) << 1 | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:697:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 697 | context1 |= sigma_n[4 * (q1 - QW) + 5] << 2; // nf << 2 | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:697:51: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 697 | context1 |= sigma_n[4 * (q1 - QW) + 5] << 2; // nf << 2 | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:704:24: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 704 | sigma_n[4 * q1 + i] = (rho[FIRST_QUAD] >> i) & 1; | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:708:40: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 708 | context2 = sigma_n[4 * (q2 - QW) + 1]; // n | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:709:42: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 709 | context2 += (sigma_n[4 * (q2 - QW) + 3] << 2); // ne | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:709:51: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 709 | context2 += (sigma_n[4 * (q2 - QW) + 3] << 2); // ne | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:711:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 711 | context2 |= sigma_n[4 * (q2 - QW) - 1]; // nw | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:712:37: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 712 | context2 += (sigma_n[4 * q2 - 1] | sigma_n[4 * q2 - 2]) << 1; // (sw | w) << 1 | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:712:59: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 712 | context2 += (sigma_n[4 * q2 - 1] | sigma_n[4 * q2 - 2]) << 1; // (sw | w) << 1 | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:712:68: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 712 | context2 += (sigma_n[4 * q2 - 1] | sigma_n[4 * q2 - 2]) << 1; // (sw | w) << 1 | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:715:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 715 | context2 |= sigma_n[4 * (q2 - QW) + 5] << 2; // nf << 2 | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:715:51: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 715 | context2 |= sigma_n[4 * (q2 - QW) + 5] << 2; // nf << 2 | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:722:24: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 722 | sigma_n[4 * q2 + i] = (rho[SECOND_QUAD] >> i) & 1; | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:763:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 763 | E_n[FIRST_QUAD] = E[4 * (q1 - QW) + 1]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:764:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 764 | E_n[SECOND_QUAD] = E[4 * (q2 - QW) + 1]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:765:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 765 | E_ne[FIRST_QUAD] = E[4 * (q1 - QW) + 3]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:766:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 766 | E_ne[SECOND_QUAD] = E[4 * (q2 - QW) + 3]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:768:44: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 768 | E_nw[FIRST_QUAD] = E[4 * (q1 - QW) - 1]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:773:45: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 773 | E_nw[SECOND_QUAD] = E[4 * (q2 - QW) - 1]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:778:44: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 778 | E_nf[FIRST_QUAD] = E[4 * (q1 - QW) + 5]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:783:45: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 783 | E_nf[SECOND_QUAD] = E[4 * (q2 - QW) + 5]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:792:32: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 791 | kappa[FIRST_QUAD] = (1 > gamma[FIRST_QUAD] * (max_E[FIRST_QUAD] - 1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 792 | ? 1 | ^~~ 793 | : gamma[FIRST_QUAD] * (max_E[FIRST_QUAD] - 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:795:32: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 794 | kappa[SECOND_QUAD] = (1 > gamma[SECOND_QUAD] * (max_E[SECOND_QUAD] - 1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 795 | ? 1 | ^~~ 796 | : gamma[SECOND_QUAD] * (max_E[SECOND_QUAD] - 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:801:44: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 801 | m[FIRST_QUAD][i] = sigma_n[4 * q1 + i] * U[FIRST_QUAD] - ((emb_k[FIRST_QUAD] >> i) & 1); | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:802:44: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 802 | m[SECOND_QUAD][i] = sigma_n[4 * q2 + i] * U[SECOND_QUAD] - ((emb_k[SECOND_QUAD] >> i) & 1); | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:813:13: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 813 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:813:61: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 813 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ~~~~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:813:24: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 813 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:814:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 814 | mu_n[n] = (v[FIRST_QUAD][i] >> 1) + 1; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:814:45: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 814 | mu_n[n] = (v[FIRST_QUAD][i] >> 1) + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:815:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 815 | mu_n[n] <<= pLSB; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:816:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 816 | mu_n[n] |= (v[FIRST_QUAD][i] & 1) << 31; // sign bit | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:816:45: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 816 | mu_n[n] |= (v[FIRST_QUAD][i] & 1) << 31; // sign bit | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:828:13: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 828 | E[n] = 32 - count_leading_zeros(v[SECOND_QUAD][i]); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:828:62: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 828 | E[n] = 32 - count_leading_zeros(v[SECOND_QUAD][i]); | ~~~~~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:828:24: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 828 | E[n] = 32 - count_leading_zeros(v[SECOND_QUAD][i]); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:829:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 829 | mu_n[n] = (v[SECOND_QUAD][i] >> 1) + 1; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:829:46: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 829 | mu_n[n] = (v[SECOND_QUAD][i] >> 1) + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:830:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 830 | mu_n[n] <<= pLSB; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:831:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 831 | mu_n[n] |= (v[SECOND_QUAD][i] & 1) << 31; // sign bit | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:831:46: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 831 | mu_n[n] |= (v[SECOND_QUAD][i] & 1) << 31; // sign bit | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:843:40: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 843 | context1 = sigma_n[4 * (q1 - QW) + 1]; // n | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:844:42: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 844 | context1 += (sigma_n[4 * (q1 - QW) + 3] << 2); // ne | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:844:51: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 844 | context1 += (sigma_n[4 * (q1 - QW) + 3] << 2); // ne | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:846:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 846 | context1 |= sigma_n[4 * (q1 - QW) - 1]; // nw | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:847:37: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 847 | context1 += (sigma_n[4 * q1 - 1] | sigma_n[4 * q1 - 2]) << 1; // (sw | w) << 1 | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:847:59: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 847 | context1 += (sigma_n[4 * q1 - 1] | sigma_n[4 * q1 - 2]) << 1; // (sw | w) << 1 | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:847:68: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 847 | context1 += (sigma_n[4 * q1 - 1] | sigma_n[4 * q1 - 2]) << 1; // (sw | w) << 1 | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:850:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 850 | context1 |= sigma_n[4 * (q1 - QW) + 5] << 2; // nf << 2 | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:850:51: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 850 | context1 |= sigma_n[4 * (q1 - QW) + 5] << 2; // nf << 2 | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:857:24: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 857 | sigma_n[4 * q1 + i] = (rho[FIRST_QUAD] >> i) & 1; | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:876:42: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 876 | E_n[FIRST_QUAD] = E[4 * (q1 - QW) + 1]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:877:42: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 877 | E_ne[FIRST_QUAD] = E[4 * (q1 - QW) + 3]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:879:44: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 879 | E_nw[FIRST_QUAD] = E[4 * (q1 - QW) - 1]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:884:44: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 884 | E_nf[FIRST_QUAD] = E[4 * (q1 - QW) + 5]; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:891:31: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 890 | kappa[FIRST_QUAD] = (1 > gamma[FIRST_QUAD] * (max_E[FIRST_QUAD] - 1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 891 | ? 1 | ^~~ 892 | : gamma[FIRST_QUAD] * (max_E[FIRST_QUAD] - 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:897:43: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 897 | m[FIRST_QUAD][i] = sigma_n[4 * q1 + i] * U[FIRST_QUAD] - ((emb_k[FIRST_QUAD] >> i) & 1); | ~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:908:13: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 908 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:908:61: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 908 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ~~~~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:908:24: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 908 | E[n] = 32 - count_leading_zeros(v[FIRST_QUAD][i]); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:909:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 909 | mu_n[n] = (v[FIRST_QUAD][i] >> 1) + 1; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:909:45: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 909 | mu_n[n] = (v[FIRST_QUAD][i] >> 1) + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:910:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 910 | mu_n[n] <<= pLSB; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:911:16: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 911 | mu_n[n] |= (v[FIRST_QUAD][i] & 1) << 31; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:911:45: warning: conversion to 'unsigned int' from 'int32_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 911 | mu_n[n] |= (v[FIRST_QUAD][i] & 1) << 31; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:931:27: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 931 | set_sample(*p_mu, 2 * y, 2 * x); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:931:34: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 931 | set_sample(*p_mu, 2 * y, 2 * x); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:936:33: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 936 | set_sample(*p_mu, 2 * y + 1, 2 * x); | ~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:936:40: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 936 | set_sample(*p_mu, 2 * y + 1, 2 * x); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:937:52: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 937 | block->modify_state(sigma, *p_sigma, 2 * y + 1, 2 * x); | ~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:942:29: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 942 | set_sample(*p_mu, 2 * y, 2 * x + 1); | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:942:40: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 942 | set_sample(*p_mu, 2 * y, 2 * x + 1); | ~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:943:59: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 943 | block->modify_state(sigma, *p_sigma, 2 * y, 2 * x + 1); | ~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:948:33: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 948 | set_sample(*p_mu, 2 * y + 1, 2 * x + 1); | ~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:948:44: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 948 | set_sample(*p_mu, 2 * y + 1, 2 * x + 1); | ~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:949:52: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 949 | block->modify_state(sigma, *p_sigma, 2 * y + 1, 2 * x + 1); | ~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:949:63: warning: conversion from 'int' to 'int16_t' {aka 'short int'} may change value [-Wconversion] 949 | block->modify_state(sigma, *p_sigma, 2 * y + 1, 2 * x + 1); | ~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:434:61: warning: unused parameter 'Dcup' [-Wunused-parameter] 434 | void ht_cleanup_decode(j2k_codeblock *block, uint8_t *const Dcup, const uint32_t &Lcup, | ~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:434:83: warning: unused parameter 'Lcup' [-Wunused-parameter] 434 | void ht_cleanup_decode(j2k_codeblock *block, uint8_t *const Dcup, const uint32_t &Lcup, | ~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:435:39: warning: unused parameter 'ROIshift' [-Wunused-parameter] 435 | const uint8_t &ROIshift, const uint8_t &pLSB, state_MS_dec &MS, | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:436:44: warning: unused parameter 'MEL_unpacker' [-Wunused-parameter] 436 | state_MEL_unPacker &MEL_unpacker, state_MEL_decoder &MEL_decoder, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In lambda function: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:966:20: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 966 | for (int16_t j = j_start; j < j_start + width; j++) { | ^~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:975:22: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 975 | for (int16_t i = i_start; i < i_start + height; i++) { | ^~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:976:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 976 | sp = &block->sample_buf[j + i * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:976:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 976 | sp = &block->sample_buf[j + i * block->size.x]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:980:30: warning: conversion to 'uint16_t' {aka 'short unsigned int'} from 'int16_t' {aka 'short int'} may change the sign of the result [-Wsign-conversion] 980 | block->calc_mbr(mbr, i, j, mbr_info & 0x1EF, causal_cond); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:980:33: warning: conversion to 'uint16_t' {aka 'short unsigned int'} from 'int16_t' {aka 'short int'} may change the sign of the result [-Wsign-conversion] 980 | block->calc_mbr(mbr, i, j, mbr_info & 0x1EF, causal_cond); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:959:48: warning: unused parameter 'dum_stride' [-Wunused-parameter] 959 | const uint16_t dum_stride, const uint8_t &pLSB) { | ~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In function 'void ht_sigprop_decode(j2k_codeblock*, uint8_t*, uint32_t, const uint8_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1008:47: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1008 | const uint16_t num_v_stripe = block->size.y / 4; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1009:47: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1009 | const uint16_t num_h_stripe = block->size.x / 4; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1014:45: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1014 | const uint16_t dum_stride = block->size.x + 2; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In function 'void ht_magref_decode(j2k_codeblock*, uint8_t*, uint32_t, const uint8_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1045:45: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1045 | const uint16_t blk_height = block->size.y; | ~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1046:45: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1046 | const uint16_t blk_width = block->size.x; | ~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1047:47: warning: conversion from 'unsigned int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1047 | const uint16_t num_v_stripe = block->size.y / 4; | ~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1056:37: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1056 | if (block->get_state(Sigma, i, j) != 0) { | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1056:40: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1056 | if (block->get_state(Sigma, i, j) != 0) { | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1057:56: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1057 | block->modify_state(refinement_indicator, 1, i, j); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1057:59: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1057 | block->modify_state(refinement_indicator, 1, i, j); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1068:35: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1068 | if (block->get_state(Sigma, i, j) != 0) { | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1068:38: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1068 | if (block->get_state(Sigma, i, j) != 0) { | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1069:54: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1069 | block->modify_state(refinement_indicator, 1, i, j); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1069:57: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1069 | block->modify_state(refinement_indicator, 1, i, j); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp: In function 'void htj2k_decode(j2k_codeblock*, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1089:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1089 | for (int i = 0; i < block->pass_length.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1090:30: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1090 | if (block->pass_length[i] != 0) { | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1116:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1116 | for (int i = 0; i < block->pass_length.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1117:30: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1117 | if (block->pass_length[i] != 0) { | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1118:32: warning: conversion from 'int' to 'std::vector::value_type' {aka 'unsigned char'} may change value [-Wconversion] 1118 | all_segments.push_back(i); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1124:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1124 | for (int i = 1; i < all_segments.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1125:47: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1125 | Lref += block->pass_length[all_segments[i]]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1139:49: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1139 | const uint32_t Scup = (Dcup[Lcup - 1] << 4) + (Dcup[Lcup - 2] & 0x0F); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1175:38: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1175 | const uint16_t yyy = block->size.y; | ~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1176:38: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1176 | const uint16_t xxx = block->size.x; | ~~~~~~~~~~~~^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1194:56: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1194 | z_n = block->get_state(Refinement_indicator, y, x); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1194:59: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1194 | z_n = block->get_state(Refinement_indicator, y, x); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1239:56: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1239 | z_n = block->get_state(Refinement_indicator, y, x); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.cpp:1239:59: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] 1239 | z_n = block->get_state(Refinement_indicator, y, x); | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 37%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OpenHTJ2K/coding/coding_units.cpp.o In file included from /usr/lib/gcc/i586-alt-linux/12/include/x86gprintrin.h:33, from /usr/lib/gcc/i586-alt-linux/12/include/x86intrin.h:27, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:46, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:37, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.hpp:34, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:31, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.cpp:33: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'size_t popcount32(uintmax_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:25: warning: conversion from 'uintmax_t' {aka 'long long unsigned int'} to 'unsigned int' may change value [-Wconversion] 54 | precision = _popcnt32(num); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 54 | precision = _popcnt32(num); | ^~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'uint32_t int_log2(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:73:18: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 73 | y = 31 - __builtin_clz(x); | ~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void buf_chain::activate(int)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:177:22: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 177 | node_pos = n; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_bit(uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:282:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 282 | tmp += b << bits; | ~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_Nbits(uint32_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:286:27: warning: comparison is always true due to limited range of data type [-Wtype-limits] 286 | for (int i = n - 1; n >= 0; --n) { | ~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree_node::set_node(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:334:20: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 334 | level = l; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:335:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 335 | index = i; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:336:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 336 | parent_index = pi; | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In constructor 'tagtree::tagtree(uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:410:34: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 410 | parent_node->add_child(node_index); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:429:28: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 429 | -1); // parent index = - 1 means I am the ROOT | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree::build() const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:439:63: warning: conversion to 'std::size_t' {aka 'unsigned int'} from '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} may change the sign of the result [-Wsign-conversion] 439 | uint16_t val = this->node[children[0]].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:441:37: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 441 | uint16_t tmp = this->node[j].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp: In member function 'void j2k_codeblock::modify_state(const std::function&, uint8_t, int16_t, int16_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:105:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 105 | callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)], val); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:105:57: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 105 | callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)], val); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp: In member function 'uint8_t j2k_codeblock::get_state(const std::function&, int16_t, int16_t) const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:108:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 108 | return callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)]); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:108:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 108 | return callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)]); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.cpp: In member function 'void j2k_codeblock::create_compressed_buffer(buf_chain*, uint16_t, const uint16_t&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.cpp:103:41: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 103 | layer_length += this->pass_length[i]; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 38%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OpenHTJ2K/codestream/codestream_source.cpp.o In file included from /usr/lib/gcc/i586-alt-linux/12/include/x86gprintrin.h:33, from /usr/lib/gcc/i586-alt-linux/12/include/x86intrin.h:27, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:46, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:37, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream_source.cpp:29: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'size_t popcount32(uintmax_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:25: warning: conversion from 'uintmax_t' {aka 'long long unsigned int'} to 'unsigned int' may change value [-Wconversion] 54 | precision = _popcnt32(num); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 54 | precision = _popcnt32(num); | ^~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'uint32_t int_log2(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:73:18: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 73 | y = 31 - __builtin_clz(x); | ~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void buf_chain::activate(int)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:177:22: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 177 | node_pos = n; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_bit(uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:282:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 282 | tmp += b << bits; | ~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_Nbits(uint32_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:286:27: warning: comparison is always true due to limited range of data type [-Wtype-limits] 286 | for (int i = n - 1; n >= 0; --n) { | ~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree_node::set_node(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:334:20: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 334 | level = l; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:335:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 335 | index = i; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:336:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 336 | parent_index = pi; | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In constructor 'tagtree::tagtree(uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:410:34: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 410 | parent_node->add_child(node_index); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:429:28: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 429 | -1); // parent index = - 1 means I am the ROOT | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree::build() const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:439:63: warning: conversion to 'std::size_t' {aka 'unsigned int'} from '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} may change the sign of the result [-Wsign-conversion] 439 | uint16_t val = this->node[children[0]].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:441:37: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 441 | uint16_t tmp = this->node[j].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream_source.cpp: In member function 'virtual uint16_t j2c_src_memory::get_word()': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream_source.cpp:60:59: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 60 | uint16_t out = (static_cast(get_byte()) << 8) + static_cast(get_byte()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 35%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/T1Factory.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/T1Factory.cpp:19: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 34%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/T1DecompressScheduler.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/T1DecompressScheduler.cpp:17: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/T1DecompressScheduler.cpp: In member function 'bool grk::T1DecompressScheduler::decompress(std::vector*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/T1DecompressScheduler.cpp:131:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 131 | decodeBlocks[i] = blocks->operator[](i); | ^ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 34%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/T1CompressScheduler.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/T1CompressScheduler.cpp:18: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/T1CompressScheduler.cpp: In member function 'void grk::T1CompressScheduler::compress(std::vector*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/T1CompressScheduler.cpp:115:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 115 | encodeBlocks[i] = blocks->operator[](i); | ^ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 33%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/transform/WaveletReverse.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/transform/WaveletReverse.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 43%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OJPH/coding/ojph_block_encoder.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 43%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OJPH/coding/ojph_block_decoder.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 44%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OJPH/others/ojph_arch.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 45%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OJPH/others/ojph_mem.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/common/ojph_mem.h:47, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/others/ojph_mem.cpp:40: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/common/ojph_arch.h: In instantiation of 'size_t ojph::calc_aligned_size(size_t) [with T = int; int N = 32; size_t = unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/common/ojph_mem.h:119:40: required from 'T* ojph::mem_fixed_allocator::post_alloc_local(size_t, ojph::ui32, size_t&, void*&) [with T = int; int N = 32; size_t = unsigned int; ojph::ui32 = unsigned int]' /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/common/ojph_mem.h:92:9: required from 'T* ojph::mem_fixed_allocator::post_alloc_data(size_t, ojph::ui32) [with T = int; size_t = unsigned int; ojph::ui32 = unsigned int]' /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/others/ojph_mem.cpp:57:35: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/common/ojph_arch.h:173:10: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 173 | size &= ~((1ULL << (31 - count_leading_zeros(N))) - 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/common/ojph_arch.h: In instantiation of 'size_t ojph::calc_aligned_size(size_t) [with T = float; int N = 32; size_t = unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/common/ojph_mem.h:119:40: required from 'T* ojph::mem_fixed_allocator::post_alloc_local(size_t, ojph::ui32, size_t&, void*&) [with T = float; int N = 32; size_t = unsigned int; ojph::ui32 = unsigned int]' /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/common/ojph_mem.h:92:9: required from 'T* ojph::mem_fixed_allocator::post_alloc_data(size_t, ojph::ui32) [with T = float; size_t = unsigned int; ojph::ui32 = unsigned int]' /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/others/ojph_mem.cpp:65:36: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/common/ojph_arch.h:173:10: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 45%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OJPH/others/ojph_message.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 38%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OpenHTJ2K/codestream/j2kmarkers.cpp.o In file included from /usr/lib/gcc/i586-alt-linux/12/include/x86gprintrin.h:33, from /usr/lib/gcc/i586-alt-linux/12/include/x86intrin.h:27, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:46, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:37, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.hpp:34, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:29: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'size_t popcount32(uintmax_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:25: warning: conversion from 'uintmax_t' {aka 'long long unsigned int'} to 'unsigned int' may change value [-Wconversion] 54 | precision = _popcnt32(num); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 54 | precision = _popcnt32(num); | ^~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'uint32_t int_log2(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:73:18: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 73 | y = 31 - __builtin_clz(x); | ~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void buf_chain::activate(int)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:177:22: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 177 | node_pos = n; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_bit(uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:282:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 282 | tmp += b << bits; | ~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_Nbits(uint32_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:286:27: warning: comparison is always true due to limited range of data type [-Wtype-limits] 286 | for (int i = n - 1; n >= 0; --n) { | ~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree_node::set_node(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:334:20: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 334 | level = l; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:335:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 335 | index = i; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:336:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 336 | parent_index = pi; | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In constructor 'tagtree::tagtree(uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:410:34: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 410 | parent_node->add_child(node_index); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:429:28: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 429 | -1); // parent index = - 1 means I am the ROOT | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree::build() const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:439:63: warning: conversion to 'std::size_t' {aka 'unsigned int'} from '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} may change the sign of the result [-Wsign-conversion] 439 | uint16_t val = this->node[children[0]].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:441:37: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 441 | uint16_t tmp = this->node[j].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In member function 'uint16_t j2k_marker_io_base::get_word()': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:59:59: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 59 | uint16_t out = (static_cast(get_byte()) << 8) + static_cast(get_byte()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'SIZ_marker::SIZ_marker(uint16_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint16_t, std::vector&, std::vector&, std::vector&, bool)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:109:18: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 109 | Lmar = 38 + 3 * C; | ~~~^~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:110:11: warning: unused variable 's' [-Wunused-variable] 110 | uint8_t s = 0; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'CAP_marker::CAP_marker(j2c_src_memory&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:220:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 220 | unsigned long n = (Lmar - 6) / 2; | ~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:224:19: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 224 | if (Pcap & (1 << (31 - i))) { | ~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In member function 'int CAP_marker::write(j2c_destination_base&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:267:19: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 267 | if (Pcap & (1 << (32 - n - 1))) { | ~~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'CPF_marker::CPF_marker(j2c_src_memory&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:284:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 284 | unsigned long n = (Lmar - len) / 2; | ~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'COD_marker::COD_marker(j2c_src_memory&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:308:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 308 | for (unsigned long i = 0; i < Lmar - len; i++) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'COD_marker::COD_marker(bool, bool, bool, uint8_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, std::vector, std::vector)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:324:8: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 324 | Scod += (is_max_precincts) ? 0 : 1; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:325:8: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 325 | Scod += (use_SOP) ? 2 : 0; | ~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:326:8: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 326 | Scod += (use_EPH) ? 4 : 0; | ~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:352:32: warning: conversion from 'int' to 'std::vector::value_type' {aka 'unsigned char'} may change value [-Wconversion] 352 | tmpPP.push_back(last_PPx + (last_PPy << 4)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:355:40: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 355 | SPcod.push_back(tmpPP[dwt_levels - i]); | ~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'COC_marker::COC_marker(j2c_src_memory&, uint16_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:430:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 430 | for (unsigned long i = 0; i < Lmar - len; i++) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'QCD_marker::QCD_marker(j2c_src_memory&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:508:33: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 508 | for (unsigned long i = 0; i < Lmar - len; ++i) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:518:33: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 518 | for (unsigned long i = 0; i < (Lmar - len) / 2; ++i) { | ~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'QCD_marker::QCD_marker(uint8_t, uint8_t, uint8_t, bool, uint8_t, uint8_t, double, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:538:14: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 538 | Lmar = 4 + 3 * dwt_levels; | ~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:539:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 539 | n = 3 * dwt_levels + 1; | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:545:14: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 545 | Lmar = 5 + 6 * dwt_levels; | ~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:546:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 546 | n = 3 * dwt_levels + 1; | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:551:8: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 551 | Sqcd += number_of_guardbits << 5; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:554:39: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 554 | wmse_or_BIBO.reserve(3 * dwt_levels + 1); | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:613:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 613 | for (int i = 0; i < L.size(); ++i) { | ~~^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:614:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 614 | for (int j = 0; j < L2.size(); ++j) { | ~~^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:615:18: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 615 | tmpL[i + j] += L[i] * L2[j]; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:615:28: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 615 | tmpL[i + j] += L[i] * L2[j]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:615:36: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 615 | tmpL[i + j] += L[i] * L2[j]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:619:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 619 | for (int i = 0; i < L.size(); ++i) { | ~~^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:620:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 620 | for (int j = 0; j < H2.size(); ++j) { | ~~^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:621:18: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 621 | tmpH[i + j] += L[i] * H2[j]; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:621:28: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 621 | tmpH[i + j] += L[i] * H2[j]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:621:36: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 621 | tmpH[i + j] += L[i] * H2[j]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:631:47: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 631 | std::vector epsilon(3 * dwt_levels + 1, 0); | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:632:43: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 632 | std::vector mu(3 * dwt_levels + 1, 0); | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:635:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 635 | for (int i = 0; i < epsilon.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:636:32: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 636 | epsilon[epsilon.size() - i - 1] = RI - number_of_guardbits + use_ycc; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:636:66: warning: conversion from 'int' to '__gnu_cxx::__alloc_traits, unsigned char>::value_type' {aka 'unsigned char'} may change value [-Wconversion] 636 | epsilon[epsilon.size() - i - 1] = RI - number_of_guardbits + use_ycc; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:637:27: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 637 | while (wmse_or_BIBO[i] > 0.9) { | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:638:34: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 638 | epsilon[epsilon.size() - i - 1]++; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:639:22: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 639 | wmse_or_BIBO[i] *= 0.5; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:645:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 645 | for (int i = 0; i < epsilon.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:647:52: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 647 | double fval = basestep / sqrt(wmse_or_BIBO[i]); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:664:34: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 664 | epsilon[epsilon.size() - i - 1] = exponent; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:664:43: warning: conversion from 'int32_t' {aka 'int'} to '__gnu_cxx::__alloc_traits, unsigned char>::value_type' {aka 'unsigned char'} may change value [-Wconversion] 664 | epsilon[epsilon.size() - i - 1] = exponent; | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:665:29: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 665 | mu[epsilon.size() - i - 1] = mantissa; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:665:43: warning: conversion from 'int32_t' {aka 'int'} to '__gnu_cxx::__alloc_traits, short unsigned int>::value_type' {aka 'short unsigned int'} may change value [-Wconversion] 665 | mu[epsilon.size() - i - 1] = mantissa; | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:697:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 697 | for (int i = 0; i < epsilon.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:701:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 701 | w_b = (i == epsilon.size() - 1) ? 1.0 : pow(W_b_Y[i], qfactor_power); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:703:74: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 703 | double fval = (qfactor != 0xFF) ? delta_ref / (sqrt(wmse_or_BIBO[i]) * w_b * G_c) | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:704:72: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 704 | : basestep / sqrt(wmse_or_BIBO[i]); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:721:34: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 721 | epsilon[epsilon.size() - i - 1] = exponent; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:721:43: warning: conversion from 'int32_t' {aka 'int'} to '__gnu_cxx::__alloc_traits, unsigned char>::value_type' {aka 'unsigned char'} may change value [-Wconversion] 721 | epsilon[epsilon.size() - i - 1] = exponent; | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:722:29: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 722 | mu[epsilon.size() - i - 1] = mantissa; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:722:43: warning: conversion from 'int32_t' {aka 'int'} to '__gnu_cxx::__alloc_traits, short unsigned int>::value_type' {aka 'short unsigned int'} may change value [-Wconversion] 722 | mu[epsilon.size() - i - 1] = mantissa; | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:734:67: warning: conversion from 'int' to 'std::vector::value_type' {aka 'short unsigned int'} may change value [-Wconversion] 734 | SPqcd.push_back((static_cast(epsilon[i]) << 11) + mu[i]); /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:737:67: warning: conversion from 'int' to 'std::vector::value_type' {aka 'short unsigned int'} may change value [-Wconversion] 737 | SPqcd.push_back((static_cast(epsilon[0]) << 11) + mu[0]); /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In member function 'uint8_t QCD_marker::get_exponents(uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:769:23: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 769 | return (SPqcd[nb] >> 3); | ~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:772:22: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 772 | return (SPqcd[0] >> 11); | ~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:776:23: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 776 | return (SPqcd[nb] >> 11); | ~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In member function 'uint8_t QCD_marker::get_MAGB()': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:799:32: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 799 | tmp = (tmp < (val >> 3)) ? val >> 3 : tmp; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:801:33: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 801 | tmp = (tmp > (val >> 11)) ? val >> 11 : tmp; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'QCC_marker::QCC_marker(uint16_t, uint16_t, uint8_t, uint8_t, uint8_t, bool, uint8_t, uint8_t, uint8_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:820:31: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 820 | Lmar = 5 + 3 * dwt_levels + ((max_components < 257) ? 0 : 1); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:821:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 821 | n = 3 * dwt_levels + 1; | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:827:31: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 827 | Lmar = 6 + 6 * dwt_levels + ((max_components < 257) ? 0 : 1); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:828:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 828 | n = 3 * dwt_levels + 1; | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:833:8: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 833 | Sqcc += number_of_guardbits << 5; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:836:39: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 836 | wmse_or_BIBO.reserve(3 * dwt_levels + 1); | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:930:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 930 | for (int i = 0; i < L.size(); ++i) { | ~~^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:931:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 931 | for (int j = 0; j < L2.size(); ++j) { | ~~^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:932:18: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 932 | tmpL[i + j] += L[i] * L2[j]; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:932:28: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 932 | tmpL[i + j] += L[i] * L2[j]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:932:36: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 932 | tmpL[i + j] += L[i] * L2[j]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:936:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 936 | for (int i = 0; i < L.size(); ++i) { | ~~^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:937:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 937 | for (int j = 0; j < H2.size(); ++j) { | ~~^~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:938:18: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 938 | tmpH[i + j] += L[i] * H2[j]; | ~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:938:28: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 938 | tmpH[i + j] += L[i] * H2[j]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:938:36: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 938 | tmpH[i + j] += L[i] * H2[j]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:948:47: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 948 | std::vector epsilon(3 * dwt_levels + 1, 0); | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:949:43: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 949 | std::vector mu(3 * dwt_levels + 1, 0); | ~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:952:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 952 | for (int i = 0; i < epsilon.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:953:32: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 953 | epsilon[epsilon.size() - i - 1] = RI - number_of_guardbits + use_ycc; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:953:66: warning: conversion from 'int' to '__gnu_cxx::__alloc_traits, unsigned char>::value_type' {aka 'unsigned char'} may change value [-Wconversion] 953 | epsilon[epsilon.size() - i - 1] = RI - number_of_guardbits + use_ycc; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:954:27: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 954 | while (wmse_or_BIBO[i] > 0.9) { | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:955:34: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 955 | epsilon[epsilon.size() - i - 1]++; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:956:22: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 956 | wmse_or_BIBO[i] *= 0.5; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:990:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 990 | for (int i = 0; i < epsilon.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:994:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 994 | w_b = (i == epsilon.size() - 1) ? 1.0 : pow(W_b_sqrt[Cqcc][i], qfactor_power); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:996:52: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 996 | double fval = delta_ref / (sqrt(wmse_or_BIBO[i]) * w_b * G_c); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1013:32: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1013 | epsilon[epsilon.size() - i - 1] = exponent; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1013:41: warning: conversion from 'int32_t' {aka 'int'} to '__gnu_cxx::__alloc_traits, unsigned char>::value_type' {aka 'unsigned char'} may change value [-Wconversion] 1013 | epsilon[epsilon.size() - i - 1] = exponent; | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1014:27: warning: conversion to 'std::vector::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1014 | mu[epsilon.size() - i - 1] = mantissa; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1014:41: warning: conversion from 'int32_t' {aka 'int'} to '__gnu_cxx::__alloc_traits, short unsigned int>::value_type' {aka 'short unsigned int'} may change value [-Wconversion] 1014 | mu[epsilon.size() - i - 1] = mantissa; | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1025:67: warning: conversion from 'int' to 'std::vector::value_type' {aka 'short unsigned int'} may change value [-Wconversion] 1025 | SPqcc.push_back((static_cast(epsilon[i]) << 11) + mu[i]); /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1028:67: warning: conversion from 'int' to 'std::vector::value_type' {aka 'short unsigned int'} may change value [-Wconversion] 1028 | SPqcc.push_back((static_cast(epsilon[0]) << 11) + mu[0]); /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'QCC_marker::QCC_marker(j2c_src_memory&, uint16_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1052:33: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1052 | for (unsigned long i = 0; i < Lmar - len; ++i) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1062:33: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1062 | for (unsigned long i = 0; i < (Lmar - len) / 2; ++i) { | ~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In member function 'uint8_t QCC_marker::get_exponents(uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1103:23: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1103 | return (SPqcc[nb] >> 3); | ~~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1106:22: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1106 | return (SPqcc[0] >> 11); | ~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1110:23: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 1110 | return (SPqcc[nb] >> 11); | ~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'POC_marker::POC_marker(j2c_src_memory&, uint16_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1151:25: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1151 | nPOC = (Lmar - len) / 7; | ~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1153:25: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1153 | nPOC = (Lmar - len) / 9; | ~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'TLM_marker::TLM_marker(j2c_src_memory&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1243:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1243 | n = (Lmar - 4) / 2; | ~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1245:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1245 | n = (Lmar - 4) / 4; | ~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1249:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1249 | n = (Lmar - 4) / 3; | ~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1251:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1251 | n = (Lmar - 4) / 5; | ~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1255:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1255 | n = (Lmar - 4) / 4; | ~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1257:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1257 | n = (Lmar - 4) / 6; | ~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'CRG_marker::CRG_marker(j2c_src_memory&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1339:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1339 | unsigned long n = (Lmar - len) / 4; | ~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'COM_marker::COM_marker(j2c_src_memory&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1362:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1362 | for (unsigned long i = 0; i < Lmar - len; i++) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In constructor 'COM_marker::COM_marker(std::string, bool)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1373:12: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 1373 | Lmar = 4 + com.size(); | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1379:22: warning: conversion to '__gnu_cxx::__alloc_traits, unsigned char>::value_type' {aka 'unsigned char'} from '__gnu_cxx::__alloc_traits, char>::value_type' {aka 'char'} may change the sign of the result [-Wsign-conversion] 1379 | Ccom[i] = com[i]; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1381:21: warning: conversion to 'std::vector::value_type' {aka 'unsigned char'} from '__gnu_cxx::__alloc_traits, char>::value_type' {aka 'char'} may change the sign of the result [-Wsign-conversion] 1381 | Ccom.push_back(com[i]); | ~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In member function 'void j2k_main_header::flush(j2c_dst_memory&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1553:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1553 | for (int i = 0; i < COC.size(); ++i) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1559:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1559 | for (int i = 0; i < QCC.size(); ++i) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1560:11: warning: conversion to 'std::vector >::size_type' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1560 | QCC[i]->write(buf); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1564:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1564 | for (int i = 0; i < RGN.size(); ++i) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1570:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1570 | for (int i = 0; i < PPM.size(); ++i) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1575:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1575 | for (int i = 0; i < TLM.size(); ++i) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1580:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1580 | for (int i = 0; i < PLM.size(); ++i) { | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp: In member function 'uint32_t j2k_tilepart_header::read(j2c_src_memory&)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1704:65: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1704 | length_of_tilepart_markers += this->COD->get_length() + 2; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1708:87: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1708 | length_of_tilepart_markers += this->COC[this->COC.size() - 1]->get_length() + 2; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1712:87: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1712 | length_of_tilepart_markers += this->PLT[this->PLT.size() - 1]->get_length() + 2; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1716:65: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1716 | length_of_tilepart_markers += this->QCD->get_length() + 2; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1720:87: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1720 | length_of_tilepart_markers += this->QCC[this->QCC.size() - 1]->get_length() + 2; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1724:87: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1724 | length_of_tilepart_markers += this->RGN[this->RGN.size() - 1]->get_length() + 2; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1728:65: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1728 | length_of_tilepart_markers += this->POC->get_length() + 2; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1732:87: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1732 | length_of_tilepart_markers += this->PPT[this->PPT.size() - 1]->get_length() + 2; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.cpp:1736:87: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1736 | length_of_tilepart_markers += this->COM[this->COM.size() - 1]->get_length() + 2; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 40%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OpenHTJ2K/T1OpenHTJ2K.cpp.o In file included from /usr/lib/gcc/i586-alt-linux/12/include/x86gprintrin.h:33, from /usr/lib/gcc/i586-alt-linux/12/include/x86intrin.h:27, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/util/simd.h:31, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.cpp:17: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'size_t popcount32(uintmax_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:25: warning: conversion from 'uintmax_t' {aka 'long long unsigned int'} to 'unsigned int' may change value [-Wconversion] 54 | precision = _popcnt32(num); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:37, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/j2kmarkers.hpp:34, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:31, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.cpp:18: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:54:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 54 | precision = _popcnt32(num); | ^~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp: In function 'uint32_t int_log2(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/common/utils.hpp:73:18: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 73 | y = 31 - __builtin_clz(x); | ~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void buf_chain::activate(int)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:177:22: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 177 | node_pos = n; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_bit(uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:282:9: warning: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 282 | tmp += b << bits; | ~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void packet_header_writer::put_Nbits(uint32_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:286:27: warning: comparison is always true due to limited range of data type [-Wtype-limits] 286 | for (int i = n - 1; n >= 0; --n) { | ~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree_node::set_node(uint32_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:334:20: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 334 | level = l; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:335:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 335 | index = i; | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:336:20: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 336 | parent_index = pi; | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In constructor 'tagtree::tagtree(uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:410:34: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 410 | parent_node->add_child(node_index); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:429:28: warning: unsigned conversion from 'int' to 'uint32_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] 429 | -1); // parent index = - 1 means I am the ROOT | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp: In member function 'void tagtree::build() const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:439:63: warning: conversion to 'std::size_t' {aka 'unsigned int'} from '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} may change the sign of the result [-Wsign-conversion] 439 | uint16_t val = this->node[children[0]].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/codestream/codestream.hpp:441:37: warning: conversion to 'std::size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 441 | uint16_t tmp = this->node[j].get_value(); | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp: In member function 'void j2k_codeblock::modify_state(const std::function&, uint8_t, int16_t, int16_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:105:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 105 | callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)], val); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:105:57: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 105 | callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)], val); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp: In member function 'uint8_t j2k_codeblock::get_state(const std::function&, int16_t, int16_t) const': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:108:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 108 | return callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)]); | ~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/coding_units.hpp:108:64: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 108 | return callback(block_states[(j1 + 1) * (size.x + 2) + (j2 + 1)]); | ~~~~^~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.cpp:19: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.hpp: In constructor 'state_VLC_dec::state_VLC_dec(uint8_t*, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.hpp:143:22: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 143 | : pos(Lcup - 2 - Pcup), ctreg(0), Creg(0), bits(0), buf(Dcup + Pcup) { | ~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.hpp: In constructor 'MR_dec::MR_dec(const uint8_t*, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.hpp:202:27: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] 202 | pos((Lref == 0) ? -1 : magref_length - 1), | ^~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/coding/ht_block_decoding.hpp:202:25: warning: conversion to 'int32_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 202 | pos((Lref == 0) ? -1 : magref_length - 1), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileProcessor.h:23, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.h:20, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.cpp: In member function 'virtual bool openhtj2k::T1OpenHTJ2K::compress(grk::CompressBlockExec*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.cpp:93:83: warning: conversion from 'uint16_t' {aka 'short unsigned int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 93 | numlayers,codelbock_style,p0,p1,s); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.cpp: In member function 'virtual bool openhtj2k::T1OpenHTJ2K::decompress(grk::DecompressBlockExec*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.cpp:147:118: warning: conversion from 'uint16_t' {aka 'short unsigned int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 147 | 0, numlayers,codelbock_style,p0,p1,s); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.cpp:148:57: warning: conversion from 'size_t' {aka 'unsigned int'} to 'uint8_t' {aka 'unsigned char'} may change value [-Wconversion] 148 | j2k_block->num_passes = num_passes; | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/T1OpenHTJ2K.cpp:154:76: warning: conversion from 'size_t' {aka 'unsigned int'} to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 154 | j2k_block->set_compressed_data(coded_data, offset); | ^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 41%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OpenHTJ2K/QuantizerOpenHTJ2K.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OpenHTJ2K/QuantizerOpenHTJ2K.cpp:57: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 41%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OJPH/T1OJPH.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/tile/TileProcessor.h:23, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/T1OJPH.h:20, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/T1OJPH.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 42%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/OJPH/QuantizerOJPH.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/OJPH/QuantizerOJPH.cpp:57: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 47%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/part1/impl/mqc_enc.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/impl/T1.h:23, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/impl/t1_common.h:88, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/impl/mqc_enc.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 48%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/part1/impl/mqc_dec.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/impl/T1.h:23, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/impl/t1_common.h:88, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/impl/mqc_dec.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 48%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/part1/T1Part1.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/T1Part1.cpp:17: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:102: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/MemManager.h: In instantiation of 'bool grk::grkBuffer2d::alloc2d(bool) [with T = int; A = grk::AllocatorAligned]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/T1Part1.cpp:135:16: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/MemManager.h:260:52: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 260 | if(!grkBuffer::alloc(data_size_needed)) | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/MemManager.h:267:54: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 267 | memset(this->buf, 0, data_size_needed); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 46%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/part1/impl/T1.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/impl/T1.cpp:21: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 49%] Building CXX object src/lib/jp2/CMakeFiles/grokj2k.dir/t1/part1/Quantizer.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:137, from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/part1/Quantizer.cpp:22: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::getPrecinct(uint64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:74:34: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 74 | return precincts[index]; | ^~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h: In member function 'grk::Precinct* grk::Subband::createPrecinct(bool, uint64_t, grk::grkPointU32, grk::grkPointU32, uint32_t, grk::grkPointU32)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Subband.h:95:48: warning: conversion from 'long long unsigned int' to 'std::vector::size_type' {aka 'unsigned int'} may change value [-Wconversion] 95 | return precincts[temp->second]; | ~~~~~~^~~~~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:142: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h: In member function 'uint8_t* grk::IncludeTracker::get_include(uint16_t, uint8_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t2/PacketIter.h:121:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 121 | memset(buf, 0, len); | ^~~ In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/grk_includes.h:99: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::CompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:208:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 71 | memset(m_currChunk, 0, m_chunkSize * sizeof(T*)); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h: In instantiation of 'T* grk::SparseCache::get(uint64_t) [with T = grk::DecompressCodeblock; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/t1/Precinct.h:212:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/lib/jp2/cache/SparseCache.h:71:68: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 50%] Linking CXX shared library ../../../bin/libgrokj2k.so make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[1]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 50%] Built target grokj2k make[1]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 53%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/image_format/ImageFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 56%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/convert.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/convert.cpp: In function 'grk_image* upsample_image_components(grk_image*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/convert.cpp:178:38: warning: comparing the result of pointer addition '(original->_grk_image::comps + ((sizetype)(compno * 52)))' and NULL [-Waddress] 178 | if(!(original->comps + compno)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 52%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/convert.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/convert.cpp: In function 'grk_image* upsample_image_components(grk_image*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/convert.cpp:178:38: warning: comparing the result of pointer addition '(original->_grk_image::comps + ((sizetype)(compno * 52)))' and NULL [-Waddress] 178 | if(!(original->comps + compno)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 56%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/image_format/FileStreamIO.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/FileStreamIO.cpp:20: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/FileStreamIO.cpp: In member function 'virtual bool FileStreamIO::seek(int64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/FileStreamIO.cpp:86:40: warning: conversion from 'int64_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 86 | return GRK_FSEEK(m_fileHandle, pos, SEEK_SET) == 0; | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 56%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/image_format/PNMFormat.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:29: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In function 'bool header_rewind(char*, char*, FILE*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:128:67: warning: conversion from 'int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 128 | if(GRK_FSEEK(reader, -int64_t(strlen(line)) + len + 2, SEEK_CUR)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In member function 'bool PNMFormat::decodeHeader(pnm_header*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:379:49: warning: conversion from 'int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 379 | GRK_FSEEK(m_fileStream, currentPos, SEEK_SET); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In member function 'grk_image* PNMFormat::decode(grk_cparameters*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:600:70: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 600 | rc = readBytes(m_fileStream, image, area); | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:602:71: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 602 | rc = readBytes(m_fileStream, image, area); | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:625:52: warning: conversion from 'int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 625 | if(GRK_FSEEK(m_fileStream, currentPos, SEEK_SET)) | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:641:60: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 641 | size_t bytesRead = fread(chunk, 1, toRead, m_fileStream); | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In instantiation of 'bool readBytes(FILE*, grk_image*, size_t) [with T = unsigned char; FILE = FILE; grk_image = _grk_image; size_t = unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:600:27: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:415:60: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 415 | size_t bytesRead = fread(chunk, sizeof(T), toRead, fp); | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In instantiation of 'bool readBytes(FILE*, grk_image*, size_t) [with T = short unsigned int; FILE = FILE; grk_image = _grk_image; size_t = unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:602:28: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:415:60: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 57%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/image_format/ImageFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 53%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/grk_dump.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 56%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/image_format/PGXFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 58%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/image_format/BMPFormat.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/BMPFormat.cpp: In member function 'virtual bool BMPFormat::encodeStrip(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/BMPFormat.cpp:638:37: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 638 | if(!write(destBuff, destInd)) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 51%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/grk_decompress.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 52%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/grk_compress.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/jp2/grk_compress.cpp: In function 'bool pluginCompressCallback(grk_plugin_compress_user_callback_info*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/jp2/grk_compress.cpp:1974:64: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 1974 | (size_t)fileLength > imageSize ? (size_t)fileLength : imageSize; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 60%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/image_format/RAWFormat.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = signed char; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:310:27: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 204 | size_t target = (i + bufSize > nloop) ? (nloop - i) : bufSize; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = unsigned char; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:312:28: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = short int; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:331:28: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = short unsigned int; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:333:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 60%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/color.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 60%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/convert.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/convert.cpp: In function 'grk_image* upsample_image_components(grk_image*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/convert.cpp:178:38: warning: comparing the result of pointer addition '(original->_grk_image::comps + ((sizetype)(compno * 52)))' and NULL [-Waddress] 178 | if(!(original->comps + compno)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 60%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/image_format/FileStreamIO.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/FileStreamIO.cpp:20: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/FileStreamIO.cpp: In member function 'virtual bool FileStreamIO::seek(int64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/FileStreamIO.cpp:86:40: warning: conversion from 'int64_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 86 | return GRK_FSEEK(m_fileHandle, pos, SEEK_SET) == 0; | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 63%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/exif.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 61%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/image_format/PNMFormat.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:29: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In function 'bool header_rewind(char*, char*, FILE*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:128:67: warning: conversion from 'int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 128 | if(GRK_FSEEK(reader, -int64_t(strlen(line)) + len + 2, SEEK_CUR)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In member function 'bool PNMFormat::decodeHeader(pnm_header*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:379:49: warning: conversion from 'int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 379 | GRK_FSEEK(m_fileStream, currentPos, SEEK_SET); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In member function 'grk_image* PNMFormat::decode(grk_cparameters*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:600:70: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 600 | rc = readBytes(m_fileStream, image, area); | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:602:71: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 602 | rc = readBytes(m_fileStream, image, area); | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:625:52: warning: conversion from 'int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 625 | if(GRK_FSEEK(m_fileStream, currentPos, SEEK_SET)) | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:641:60: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 641 | size_t bytesRead = fread(chunk, 1, toRead, m_fileStream); | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In instantiation of 'bool readBytes(FILE*, grk_image*, size_t) [with T = unsigned char; FILE = FILE; grk_image = _grk_image; size_t = unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:600:27: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:415:60: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 415 | size_t bytesRead = fread(chunk, sizeof(T), toRead, fp); | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In instantiation of 'bool readBytes(FILE*, grk_image*, size_t) [with T = short unsigned int; FILE = FILE; grk_image = _grk_image; size_t = unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:602:28: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:415:60: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 66%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/image_format/ImageFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 62%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/common.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 64%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/image_format/PGXFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 65%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/spdlog/color_sinks.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 66%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/image_format/BMPFormat.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/BMPFormat.cpp: In member function 'virtual bool BMPFormat::encodeStrip(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/BMPFormat.cpp:638:37: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 638 | if(!write(destBuff, destInd)) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 67%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/spdlog/stdout_sinks.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 70%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/spdlog/fmt.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 68%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/image_format/RAWFormat.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = signed char; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:310:27: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 204 | size_t target = (i + bufSize > nloop) ? (nloop - i) : bufSize; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = unsigned char; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:312:28: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = short int; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:331:28: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = short unsigned int; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:333:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 69%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/image_format/FileStreamIO.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/FileStreamIO.cpp:20: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/FileStreamIO.cpp: In member function 'virtual bool FileStreamIO::seek(int64_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/FileStreamIO.cpp:86:40: warning: conversion from 'int64_t' {aka 'long long int'} to 'long int' may change value [-Wconversion] 86 | return GRK_FSEEK(m_fileHandle, pos, SEEK_SET) == 0; | ^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 71%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/color.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 71%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/spdlog/async.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 72%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/spdlog/file_sinks.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 71%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/common.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 74%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/exif.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 73%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/FileProvider.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 74%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/image_format/PNMFormat.cpp.o In file included from /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:29: /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In function 'bool header_rewind(char*, char*, FILE*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:128:67: warning: conversion from 'int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 128 | if(GRK_FSEEK(reader, -int64_t(strlen(line)) + len + 2, SEEK_CUR)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In member function 'bool PNMFormat::decodeHeader(pnm_header*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:379:49: warning: conversion from 'int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 379 | GRK_FSEEK(m_fileStream, currentPos, SEEK_SET); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In member function 'grk_image* PNMFormat::decode(grk_cparameters*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:600:70: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 600 | rc = readBytes(m_fileStream, image, area); | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:602:71: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 602 | rc = readBytes(m_fileStream, image, area); | ^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:625:52: warning: conversion from 'int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Wconversion] 625 | if(GRK_FSEEK(m_fileStream, currentPos, SEEK_SET)) | ^~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/common/common.h:68:57: note: in definition of macro 'GRK_FSEEK' 68 | #define GRK_FSEEK(stream, offset, whence) fseek(stream, offset, whence) | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:641:60: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 641 | size_t bytesRead = fread(chunk, 1, toRead, m_fileStream); | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In instantiation of 'bool readBytes(FILE*, grk_image*, size_t) [with T = unsigned char; FILE = FILE; grk_image = _grk_image; size_t = unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:600:27: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:415:60: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 415 | size_t bytesRead = fread(chunk, sizeof(T), toRead, fp); | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp: In instantiation of 'bool readBytes(FILE*, grk_image*, size_t) [with T = short unsigned int; FILE = FILE; grk_image = _grk_image; size_t = unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:602:28: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/PNMFormat.cpp:415:60: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 64%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/spdlog/spdlog.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 80%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/image_format/iccjpeg.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 75%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/image_format/TIFFFormat.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In function 'bool readTiffPixels(TIFF*, grk_image_comp*, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:280:63: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 280 | rowStride = (comps[0].w * tiSpp * comps[0].prec + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In member function 'virtual bool TIFFFormat::encodeHeader(grk_image*, const std::string&, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:643:73: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 643 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:643:71: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 643 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:647:56: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 647 | stride = (width * numcomps * bps + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:652:25: warning: comparison of integer expressions of different signedness: 'tsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 652 | if(rowsPerStrip > height) | ~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:653:32: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 653 | rowsPerStrip = height; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In member function 'virtual bool TIFFFormat::encodeStrip(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:799:26: warning: conversion to 'unsigned int' from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 799 | stride = (tsize_t)((width * chroma_subsample_y + units * 2U) * bps + 7U) / 8U; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:799:90: warning: conversion to 'tsize_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 799 | stride = (tsize_t)((width * chroma_subsample_y + units * 2U) * bps + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:800:73: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 800 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:800:71: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 800 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:804:56: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 804 | stride = (width * numcomps * bps + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:809:25: warning: comparison of integer expressions of different signedness: 'tsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 809 | if(rowsPerStrip > height) | ~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:810:32: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 810 | rowsPerStrip = height; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:827:42: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 827 | if(h > 0 && (h % rowsPerStrip == 0)) | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:879:25: warning: comparison of integer expressions of different signedness: 'tmsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 879 | while(h < height) | ~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:882:75: warning: comparison of integer expressions of different signedness: 'tmsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 882 | for(h = h_start; h < h_start + rowsPerStrip && (h < height); h++) | ~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In member function 'virtual grk_image* TIFFFormat::decode(const std::string&, grk_cparameters*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:1319:66: warning: conversion to 'tmsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1319 | TIFFSwabArrayOfLong((uint32_t*)iptc_buf, iptc_len); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In instantiation of 'bool readTiffPixelsSigned(TIFF*, grk_image_comp*, uint32_t, uint16_t, uint16_t) [with T = signed char; TIFF = tiff; grk_image_comp = _grk_image_comp; uint32_t = unsigned int; uint16_t = short unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:1339:42: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:401:63: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 401 | rowStride = (comps[0].w * tiSpp * comps[0].prec + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In instantiation of 'bool readTiffPixelsSigned(TIFF*, grk_image_comp*, uint32_t, uint16_t, uint16_t) [with T = short int; TIFF = tiff; grk_image_comp = _grk_image_comp; uint32_t = unsigned int; uint16_t = short unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:1341:43: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:401:63: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 76%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/spdlog/color_sinks.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 76%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/image_format/PNGFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 77%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/spdlog/stdout_sinks.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 78%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/image_format/JPEGFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 80%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/image_format/PGXFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 81%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/image_format/BMPFormat.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/BMPFormat.cpp: In member function 'virtual bool BMPFormat::encodeStrip(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/BMPFormat.cpp:638:37: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 638 | if(!write(destBuff, destInd)) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 81%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/image_format/RAWFormat.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = signed char; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:310:27: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 204 | size_t target = (i + bufSize > nloop) ? (nloop - i) : bufSize; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = unsigned char; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:312:28: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = short int; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:331:28: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp: In instantiation of 'bool readFile(FILE*, bool, int32_t*, uint64_t) [with T = short unsigned int; FILE = FILE; int32_t = int; uint64_t = long long unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:333:29: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/RAWFormat.cpp:204:55: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 82%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/spdlog/async.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 83%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/spdlog/file_sinks.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 82%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/spdlog/fmt.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 85%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/color.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 87%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/exif.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 75%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/spdlog/spdlog.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 86%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/common.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 88%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/common/FileProvider.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 93%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/image_format/iccjpeg.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 89%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/image_format/PNGFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 89%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/image_format/TIFFFormat.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In function 'bool readTiffPixels(TIFF*, grk_image_comp*, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:280:63: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 280 | rowStride = (comps[0].w * tiSpp * comps[0].prec + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In member function 'virtual bool TIFFFormat::encodeHeader(grk_image*, const std::string&, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:643:73: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 643 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:643:71: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 643 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:647:56: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 647 | stride = (width * numcomps * bps + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:652:25: warning: comparison of integer expressions of different signedness: 'tsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 652 | if(rowsPerStrip > height) | ~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:653:32: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 653 | rowsPerStrip = height; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In member function 'virtual bool TIFFFormat::encodeStrip(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:799:26: warning: conversion to 'unsigned int' from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 799 | stride = (tsize_t)((width * chroma_subsample_y + units * 2U) * bps + 7U) / 8U; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:799:90: warning: conversion to 'tsize_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 799 | stride = (tsize_t)((width * chroma_subsample_y + units * 2U) * bps + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:800:73: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 800 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:800:71: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 800 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:804:56: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 804 | stride = (width * numcomps * bps + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:809:25: warning: comparison of integer expressions of different signedness: 'tsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 809 | if(rowsPerStrip > height) | ~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:810:32: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 810 | rowsPerStrip = height; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:827:42: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 827 | if(h > 0 && (h % rowsPerStrip == 0)) | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:879:25: warning: comparison of integer expressions of different signedness: 'tmsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 879 | while(h < height) | ~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:882:75: warning: comparison of integer expressions of different signedness: 'tmsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 882 | for(h = h_start; h < h_start + rowsPerStrip && (h < height); h++) | ~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In member function 'virtual grk_image* TIFFFormat::decode(const std::string&, grk_cparameters*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:1319:66: warning: conversion to 'tmsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1319 | TIFFSwabArrayOfLong((uint32_t*)iptc_buf, iptc_len); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In instantiation of 'bool readTiffPixelsSigned(TIFF*, grk_image_comp*, uint32_t, uint16_t, uint16_t) [with T = signed char; TIFF = tiff; grk_image_comp = _grk_image_comp; uint32_t = unsigned int; uint16_t = short unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:1339:42: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:401:63: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 401 | rowStride = (comps[0].w * tiSpp * comps[0].prec + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In instantiation of 'bool readTiffPixelsSigned(TIFF*, grk_image_comp*, uint32_t, uint16_t, uint16_t) [with T = short int; TIFF = tiff; grk_image_comp = _grk_image_comp; uint32_t = unsigned int; uint16_t = short unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:1341:43: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:401:63: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 90%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/spdlog/color_sinks.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 91%] Building CXX object src/bin/jp2/CMakeFiles/grk_compress.dir/__/image_format/JPEGFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 92%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/spdlog/stdout_sinks.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 93%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/spdlog/fmt.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 94%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/spdlog/async.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 95%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/spdlog/file_sinks.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 98%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/image_format/iccjpeg.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 95%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/FileProvider.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 96%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/image_format/TIFFFormat.cpp.o /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In function 'bool readTiffPixels(TIFF*, grk_image_comp*, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:280:63: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 280 | rowStride = (comps[0].w * tiSpp * comps[0].prec + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In member function 'virtual bool TIFFFormat::encodeHeader(grk_image*, const std::string&, uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:643:73: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 643 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:643:71: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 643 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:647:56: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 647 | stride = (width * numcomps * bps + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:652:25: warning: comparison of integer expressions of different signedness: 'tsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 652 | if(rowsPerStrip > height) | ~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:653:32: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 653 | rowsPerStrip = height; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In member function 'virtual bool TIFFFormat::encodeStrip(uint32_t)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:799:26: warning: conversion to 'unsigned int' from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 799 | stride = (tsize_t)((width * chroma_subsample_y + units * 2U) * bps + 7U) / 8U; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:799:90: warning: conversion to 'tsize_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] 799 | stride = (tsize_t)((width * chroma_subsample_y + units * 2U) * bps + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:800:73: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 800 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:800:71: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 800 | rowsPerStrip = (chroma_subsample_y * 8 * 1024 * 1024) / stride; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:804:56: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 804 | stride = (width * numcomps * bps + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:809:25: warning: comparison of integer expressions of different signedness: 'tsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 809 | if(rowsPerStrip > height) | ~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:810:32: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 810 | rowsPerStrip = height; | ^~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:827:42: warning: conversion to 'uint32_t' {aka 'unsigned int'} from 'tsize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] 827 | if(h > 0 && (h % rowsPerStrip == 0)) | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:879:25: warning: comparison of integer expressions of different signedness: 'tmsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 879 | while(h < height) | ~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:882:75: warning: comparison of integer expressions of different signedness: 'tmsize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 882 | for(h = h_start; h < h_start + rowsPerStrip && (h < height); h++) | ~~^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In member function 'virtual grk_image* TIFFFormat::decode(const std::string&, grk_cparameters*)': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:1319:66: warning: conversion to 'tmsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 1319 | TIFFSwabArrayOfLong((uint32_t*)iptc_buf, iptc_len); | ^~~~~~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In instantiation of 'bool readTiffPixelsSigned(TIFF*, grk_image_comp*, uint32_t, uint16_t, uint16_t) [with T = signed char; TIFF = tiff; grk_image_comp = _grk_image_comp; uint32_t = unsigned int; uint16_t = short unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:1339:42: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:401:63: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 401 | rowStride = (comps[0].w * tiSpp * comps[0].prec + 7U) / 8U; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp: In instantiation of 'bool readTiffPixelsSigned(TIFF*, grk_image_comp*, uint32_t, uint16_t, uint16_t) [with T = short int; TIFF = tiff; grk_image_comp = _grk_image_comp; uint32_t = unsigned int; uint16_t = short unsigned int]': /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:1341:43: required from here /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/bin/image_format/TIFFFormat.cpp:401:63: warning: conversion to 'tsize_t' {aka 'int'} from 'uint32_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 97%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/image_format/JPEGFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 97%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/image_format/PNGFormat.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 89%] Building CXX object src/bin/jp2/CMakeFiles/grk_dump.dir/__/common/spdlog/spdlog.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 84%] Linking CXX executable ../../../bin/grk_decompress /usr/include/bits/dirent.h:22:8: note: type '__ino64_t' should match type '__ino_t' 22 | struct dirent | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:179:6: warning: type 'spdlog::level::level_enum' violates the C++ One Definition Rule [-Wodr] 179 | enum level_enum | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:179:6: note: an enum with different value name is defined in another translation unit 179 | enum level_enum | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:184:5: note: name 'warn' differs from name 'Perl_warn_nocontext' defined in another translation unit 184 | warn = SPDLOG_LEVEL_WARN, | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:184:5: note: mismatching definition 184 | warn = SPDLOG_LEVEL_WARN, | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[1]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [100%] Built target grk_decompress make[1]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 95%] Linking CXX executable ../../../bin/grk_compress /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:179:6: warning: type 'spdlog::level::level_enum' violates the C++ One Definition Rule [-Wodr] 179 | enum level_enum | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:179:6: note: an enum with different value name is defined in another translation unit 179 | enum level_enum | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:184:5: note: name 'warn' differs from name 'Perl_warn_nocontext' defined in another translation unit 184 | warn = SPDLOG_LEVEL_WARN, | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:184:5: note: mismatching definition 184 | warn = SPDLOG_LEVEL_WARN, | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[1]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [100%] Built target grk_compress make[1]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [100%] Linking CXX executable ../../../bin/grk_dump /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:179:6: warning: type 'spdlog::level::level_enum' violates the C++ One Definition Rule [-Wodr] 179 | enum level_enum | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:179:6: note: an enum with different value name is defined in another translation unit 179 | enum level_enum | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:184:5: note: name 'warn' differs from name 'Perl_warn_nocontext' defined in another translation unit 184 | warn = SPDLOG_LEVEL_WARN, | ^ /usr/src/RPM/BUILD/libgrokj2k-9.5.0/src/include/spdlog/common.h:184:5: note: mismatching definition 184 | warn = SPDLOG_LEVEL_WARN, | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[1]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [100%] Built target grk_dump make[1]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.49932 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libgrokj2k-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libgrokj2k-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd libgrokj2k-9.5.0 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/libgrokj2k-buildroot make: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[1]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' Consolidate compiler generated dependencies of target hwy make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 3%] Built target hwy make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' Consolidate compiler generated dependencies of target grokj2k make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 49%] Built target grokj2k make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' Consolidate compiler generated dependencies of target grokj2k_plugin make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 50%] Built target grokj2k_plugin make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' Consolidate compiler generated dependencies of target grk_decompress make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 67%] Built target grk_decompress make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' Consolidate compiler generated dependencies of target grk_compress make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [ 83%] Built target grk_compress make[2]: Entering directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' Consolidate compiler generated dependencies of target grk_dump make[2]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' [100%] Built target grk_dump make[1]: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' Install the project... -- Install configuration: "Release" -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/include/grok-9.5/grk_config.h -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/lib/libgrokj2k.so.9.5.0 -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/lib/libgrokj2k.so.1 -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/lib/libgrokj2k.so -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/include/grok-9.5/grok.h -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/bin/grk_decompress -- Set runtime path of "/usr/src/tmp/libgrokj2k-buildroot/usr/bin/grk_decompress" to "" -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/bin/grk_compress -- Set runtime path of "/usr/src/tmp/libgrokj2k-buildroot/usr/bin/grk_compress" to "" -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/bin/grk_dump -- Set runtime path of "/usr/src/tmp/libgrokj2k-buildroot/usr/bin/grk_dump" to "" -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/lib/cmake/grok-9.5/GrokTargets.cmake -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/lib/cmake/grok-9.5/GrokTargets-release.cmake -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/lib/cmake/grok-9.5/GrokConfig.cmake -- Installing: /usr/src/tmp/libgrokj2k-buildroot/usr/lib/pkgconfig/libgrokj2k.pc make: Leaving directory '/usr/src/RPM/BUILD/libgrokj2k-9.5.0' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libgrokj2k-buildroot (auto) mode of './usr/lib/libgrokj2k.so.9.5.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libgrokj2k-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/lib/pkgconfig/libgrokj2k.pc: Libs: '-L${libdir} -lgrokj2k' --> '-lgrokj2k' Checking contents of files in /usr/src/tmp/libgrokj2k-buildroot/ (default) Compressing files in /usr/src/tmp/libgrokj2k-buildroot (auto) Adjusting library links in /usr/src/tmp/libgrokj2k-buildroot ./usr/lib: (from :0) libgrokj2k.so.1 -> libgrokj2k.so.9.5.0 Verifying ELF objects in /usr/src/tmp/libgrokj2k-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/grk_dump: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/bin/grk_compress: uses non-LFS functions: fopen fseeko ftello readdir stat verify-elf: WARNING: ./usr/bin/grk_decompress: uses non-LFS functions: fopen fseeko ftello readdir stat verify-elf: WARNING: ./usr/lib/libgrokj2k.so.9.5.0: uses non-LFS functions: fopen fseeko ftello Processing files: libgrokj2k-9.5.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.96153 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libgrokj2k-9.5.0 + DOCDIR=/usr/src/tmp/libgrokj2k-buildroot/usr/share/doc/libgrokj2k-9.5.0 + export DOCDIR + rm -rf /usr/src/tmp/libgrokj2k-buildroot/usr/share/doc/libgrokj2k-9.5.0 + /bin/mkdir -p /usr/src/tmp/libgrokj2k-buildroot/usr/share/doc/libgrokj2k-9.5.0 + cp -prL README.md /usr/src/tmp/libgrokj2k-buildroot/usr/share/doc/libgrokj2k-9.5.0 + chmod -R go-w /usr/src/tmp/libgrokj2k-buildroot/usr/share/doc/libgrokj2k-9.5.0 + chmod -R a+rX /usr/src/tmp/libgrokj2k-buildroot/usr/share/doc/libgrokj2k-9.5.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gz19uy find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/libgrokj2k-buildroot/usr/lib/libgrokj2k.so.1: 334 symbols, 19 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yr9bas find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libgrokj2k.so.1 = set:mdwZDxGO9Jh7okxPfzbDyk0F557qciqIsr6G8G0pNnjA1mkGvK3BgeA6qwi2tSX0Oiqh7N5mFZ0nWzYFTSBwVcO3mM4iEyAcIu0aGPyMAnipj66BHS7wsyj6tl28XWQLhw3cGLIGGk6eQoafjo38XPlzMq58OWNBhCoYKShFW1SlEidpvB54PURVaX33gnlFrqGLpOQJ8a2hrR9EHo2kWbZoFi5w5gSqvI8rwthbZJPfjZ2MpSPIYZpv4FDmkZ68TSurdvqZBkZy92gzvzW8dwaLZrCAwINtdFyKgcvOP7SYNCUwxFktTGQ7yZ3D4QdyKhgrbZ1wlDwj3XQ2CjUrhYOZ8EOuGPclvmUuYf8MeRCu5zj6khJjCB0cDC7IQjTObb8tGdAXqSujwlVdQvCnvtWD09lsgMu3kxCQHzAPMEE89go6hJpRpnD2LDdKG2LQWNQEZesrDyrN0YdHPl1lDEBZc83Zm2wLQZ89or4jzica1qRFi6wmfKrnMIcR3wzpehRVngAS2M7uDDUztLUvkJusOc8o2Gv8iQ75siulzdUFZJlUbYkV2wuVxEkpZ6FrgCrGYwENhZwy4UNrEaOOnRg3X4yLbgVoFgyOZsaMwQDHXKpgV2dJwyDszI0OnwswOhdwGxlyAzDBQqUw54Ka7IvIPNv6oN2D9Rb18BadEgf Requires: ld-linux.so.2 >= set:jiL26, ld-linux.so.2(GLIBC_2.3), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.16), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GCC_3.4), libgcc_s.so.1(GLIBC_2.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libm.so.6(GLIBC_2.27), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.11), libstdc++.so.6(CXXABI_1.3.13), libstdc++.so.6(CXXABI_1.3.2), libstdc++.so.6(CXXABI_1.3.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.17), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.22), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.30), libstdc++.so.6(GLIBCXX_3.4.9), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.eXajEr Creating libgrokj2k-debuginfo package Processing files: libgrokj2k-devel-9.5.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.g9L54b find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AY9rBY find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(libgrokj2k) = 9.5.0 Requires: libgrokj2k = 9.5.0-alt1, /usr/lib/libgrokj2k.so.1, /usr/lib/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ckiOUr Processing files: grokj2k-tools-9.5.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bIizkZ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KkPeAN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) lib.req: WARNING: /usr/src/tmp/libgrokj2k-buildroot/usr/bin/grk_dump: overlinked libraries: /usr/lib/libjpeg.so.62 /usr/lib/liblcms2.so.2 /usr/lib/libperl-5.34.so /usr/lib/libtiff.so.5 Requires: libgrokj2k = 9.5.0-alt1, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GCC_3.4), libgcc_s.so.1(GCC_7.0.0), libgcc_s.so.1(GLIBC_2.0), libgrokj2k.so.1 >= set:mgiweMCMpXkfztiZgAe4V0wSvbvFf4CZhNraLg3ZiZgx6ZECL4G2N77McnZidhjEqBlKwkyeXfhOMcZhs1qR0qr6d4WGAHrgvXFy9ZrGn90Bil0, libjpeg.so.62 >= set:jeTwFtkK0mCQziYg3vm1zec1Au12XeGm1HZqPlODZfUC7, liblcms2.so.2 >= set:miZ3tQYOLECGVLWS8TGGv67GZliliMOS1lCEvq3, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), libperl-5.34.so >= set:okWU8g0MjgEBNbbOcd7Vxmht74GnzCwDI2dy4, libpng16.so.16 >= set:lfmxVRcLRACyWVQVgOPOQ5Xb6spAzuw9pNdcP3xc1iLZJv1mpZujZHwL4fWZK3cJJ1REA9cIINhAQhhHBm, libpng16.so.16(PNG16_0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.5), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.19), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.9), libtiff.so.5 >= set:lhyGFVQUg9ZKxrP7R1hgjZGwWSLA9xWWS6vzm2CLe9, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dTCh0G Creating grokj2k-tools-debuginfo package Processing files: libgrokj2k-debuginfo-9.5.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9Ouwbb find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vjiZdz find-requires: running scripts (debuginfo) Provides: debug(libgrokj2k.so.1) Requires: libgrokj2k = 9.5.0-alt1, debug(ld-linux.so.2), debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libstdc++.so.6) Processing files: grokj2k-tools-debuginfo-9.5.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cvkppl find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HozGe5 find-requires: running scripts (debuginfo) Requires: grokj2k-tools = 9.5.0-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libgcc_s.so.1), debug(libgrokj2k.so.1), debug(libjpeg.so.62), debug(liblcms2.so.2), debug(libm.so.6), debug(libperl-5.34.so), debug(libpng16.so.16), debug(libstdc++.so.6), debug(libtiff.so.5) Adding to libgrokj2k-devel a strict dependency on libgrokj2k Adding to grokj2k-tools a strict dependency on libgrokj2k Adding to libgrokj2k-debuginfo a strict dependency on libgrokj2k Adding to grokj2k-tools-debuginfo a strict dependency on grokj2k-tools Adding to grokj2k-tools-debuginfo a strict dependency on libgrokj2k-debuginfo Removing from grokj2k-tools-debuginfo 1 sources provided by libgrokj2k-debuginfo also prunning dir /usr/src/debug/libgrokj2k-9.5.0/src/lib/jp2 also prunning dir /usr/src/debug/libgrokj2k-9.5.0/src/lib Removing 1 extra deps from libgrokj2k-devel due to dependency on libgrokj2k Removing 1 extra deps from grokj2k-tools due to dependency on libgrokj2k Removing 1 extra deps from grokj2k-tools-debuginfo due to dependency on libgrokj2k-debuginfo Removing 25 extra deps from grokj2k-tools due to repentancy on libgrokj2k Removing 4 extra deps from grokj2k-tools-debuginfo due to repentancy on libgrokj2k-debuginfo Wrote: /usr/src/RPM/RPMS/i586/libgrokj2k-9.5.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libgrokj2k-devel-9.5.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/grokj2k-tools-9.5.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libgrokj2k-debuginfo-9.5.0-alt1.i586.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/i586/grokj2k-tools-debuginfo-9.5.0-alt1.i586.rpm (w2T8.xzdio) 450.04user 35.85system 1:28.00elapsed 552%CPU (0avgtext+0avgdata 460032maxresident)k 0inputs+0outputs (0major+13362607minor)pagefaults 0swaps 3.70user 1.78system 1:41.33elapsed 5%CPU (0avgtext+0avgdata 109072maxresident)k 66264inputs+0outputs (0major+280294minor)pagefaults 0swaps --- grokj2k-tools-9.5.0-alt1.i586.rpm.repo 2021-12-13 10:27:40.000000000 +0000 +++ grokj2k-tools-9.5.0-alt1.i586.rpm.hasher 2023-06-03 07:20:11.031625221 +0000 @@ -21,5 +21,5 @@ Provides: grokj2k-tools = 9.5.0-alt1:sisyphus+291892.40.2.1 -File: /usr/bin/grk_compress 100755 root:root c25175e354996eb10f9d5c6c5193e785 -File: /usr/bin/grk_decompress 100755 root:root 5d00965eb0e3cfa82d0da9d20f9f09ba -File: /usr/bin/grk_dump 100755 root:root a72882eabefa99fcccd49c720b3c159e -RPMIdentity: 9d5d8ae7ec54401ef4a8a59b5caa0607fd3aeb03856e7a1b78a59dd00c3fb0158d3bfea7e072f55a683b2fb49835f85fd4201e7eaffe4c90515de2ae1053a445 +File: /usr/bin/grk_compress 100755 root:root e4beaf1e21eec2a25618571b216405fb +File: /usr/bin/grk_decompress 100755 root:root e1a54b036ff5ac183a83a17dfa844a73 +File: /usr/bin/grk_dump 100755 root:root fdae7aff78618ed8258ef8acef48ac55 +RPMIdentity: de77df9f404f175946a454fc81cc274f011f5b379ace9837892489742001c8ae01ffd385badb792086c6c68af69e19106c6faa4effa32ac8d7e4f176ef18d996 --- grokj2k-tools-debuginfo-9.5.0-alt1.i586.rpm.repo 2021-12-13 10:27:41.000000000 +0000 +++ grokj2k-tools-debuginfo-9.5.0-alt1.i586.rpm.hasher 2023-06-03 07:20:11.117626156 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/0d 40755 root:root -/usr/lib/debug/.build-id/0d/fa1db8a891b7f54a395f94e5a58c00f6f3551d 120777 root:root ../../../../bin/grk_decompress -/usr/lib/debug/.build-id/0d/fa1db8a891b7f54a395f94e5a58c00f6f3551d.debug 120777 root:root ../../usr/bin/grk_decompress.debug -/usr/lib/debug/.build-id/46 40755 root:root -/usr/lib/debug/.build-id/46/4af0369520d44d1f1dcd2cd8d1c2a9c722ba5e 120777 root:root ../../../../bin/grk_compress -/usr/lib/debug/.build-id/46/4af0369520d44d1f1dcd2cd8d1c2a9c722ba5e.debug 120777 root:root ../../usr/bin/grk_compress.debug -/usr/lib/debug/.build-id/77 40755 root:root -/usr/lib/debug/.build-id/77/b60bc743b24db3a6b9332981b43f1332213836 120777 root:root ../../../../bin/grk_dump -/usr/lib/debug/.build-id/77/b60bc743b24db3a6b9332981b43f1332213836.debug 120777 root:root ../../usr/bin/grk_dump.debug +/usr/lib/debug/.build-id/4c 40755 root:root +/usr/lib/debug/.build-id/4c/90e421063443961b263fe6bfaef61b0affbdcd 120777 root:root ../../../../bin/grk_compress +/usr/lib/debug/.build-id/4c/90e421063443961b263fe6bfaef61b0affbdcd.debug 120777 root:root ../../usr/bin/grk_compress.debug +/usr/lib/debug/.build-id/88 40755 root:root +/usr/lib/debug/.build-id/88/205de745c1e3cc1a9fa1d38c60ced729de856c 120777 root:root ../../../../bin/grk_dump +/usr/lib/debug/.build-id/88/205de745c1e3cc1a9fa1d38c60ced729de856c.debug 120777 root:root ../../usr/bin/grk_dump.debug +/usr/lib/debug/.build-id/d4 40755 root:root +/usr/lib/debug/.build-id/d4/20df25f3323e39da779f11974661feeb10f446 120777 root:root ../../../../bin/grk_decompress +/usr/lib/debug/.build-id/d4/20df25f3323e39da779f11974661feeb10f446.debug 120777 root:root ../../usr/bin/grk_decompress.debug /usr/lib/debug/usr/bin/grk_compress.debug 100644 root:root @@ -149,14 +149,14 @@ Provides: grokj2k-tools-debuginfo = 9.5.0-alt1:sisyphus+291892.40.2.1 -File: /usr/lib/debug/.build-id/0d 40755 root:root -File: /usr/lib/debug/.build-id/0d/fa1db8a891b7f54a395f94e5a58c00f6f3551d 120777 root:root ../../../../bin/grk_decompress -File: /usr/lib/debug/.build-id/0d/fa1db8a891b7f54a395f94e5a58c00f6f3551d.debug 120777 root:root ../../usr/bin/grk_decompress.debug -File: /usr/lib/debug/.build-id/46 40755 root:root -File: /usr/lib/debug/.build-id/46/4af0369520d44d1f1dcd2cd8d1c2a9c722ba5e 120777 root:root ../../../../bin/grk_compress -File: /usr/lib/debug/.build-id/46/4af0369520d44d1f1dcd2cd8d1c2a9c722ba5e.debug 120777 root:root ../../usr/bin/grk_compress.debug -File: /usr/lib/debug/.build-id/77 40755 root:root -File: /usr/lib/debug/.build-id/77/b60bc743b24db3a6b9332981b43f1332213836 120777 root:root ../../../../bin/grk_dump -File: /usr/lib/debug/.build-id/77/b60bc743b24db3a6b9332981b43f1332213836.debug 120777 root:root ../../usr/bin/grk_dump.debug -File: /usr/lib/debug/usr/bin/grk_compress.debug 100644 root:root 1460fce031e9d7bc227b00cd8c46be09 -File: /usr/lib/debug/usr/bin/grk_decompress.debug 100644 root:root 5496723a161a5a4c5386ea000fb5c544 -File: /usr/lib/debug/usr/bin/grk_dump.debug 100644 root:root 56725dc1c15d2f162f8f03718910c037 +File: /usr/lib/debug/.build-id/4c 40755 root:root +File: /usr/lib/debug/.build-id/4c/90e421063443961b263fe6bfaef61b0affbdcd 120777 root:root ../../../../bin/grk_compress +File: /usr/lib/debug/.build-id/4c/90e421063443961b263fe6bfaef61b0affbdcd.debug 120777 root:root ../../usr/bin/grk_compress.debug +File: /usr/lib/debug/.build-id/88 40755 root:root +File: /usr/lib/debug/.build-id/88/205de745c1e3cc1a9fa1d38c60ced729de856c 120777 root:root ../../../../bin/grk_dump +File: /usr/lib/debug/.build-id/88/205de745c1e3cc1a9fa1d38c60ced729de856c.debug 120777 root:root ../../usr/bin/grk_dump.debug +File: /usr/lib/debug/.build-id/d4 40755 root:root +File: /usr/lib/debug/.build-id/d4/20df25f3323e39da779f11974661feeb10f446 120777 root:root ../../../../bin/grk_decompress +File: /usr/lib/debug/.build-id/d4/20df25f3323e39da779f11974661feeb10f446.debug 120777 root:root ../../usr/bin/grk_decompress.debug +File: /usr/lib/debug/usr/bin/grk_compress.debug 100644 root:root 8c1570059cee113a6d5f5e95d4c3d8b3 +File: /usr/lib/debug/usr/bin/grk_decompress.debug 100644 root:root 1e7b8a3d71ea9c69e6e5df4f71f7fd9d +File: /usr/lib/debug/usr/bin/grk_dump.debug 100644 root:root 7dfab741538719803d828c4deb90b572 File: /usr/src/debug/libgrokj2k-9.5.0 40755 root:root @@ -288,2 +288,2 @@ File: /usr/src/debug/libgrokj2k-9.5.0/src/include/tclap/sstream.h 100644 root:root 9626548569d7d3e1d4a4294bc9871576 -RPMIdentity: 8a449d32862a4d8c66b1db65260bea0235114526cd330b0a55ac5f819edffd756ce0278349f877bc16c20fbcb1fb5cb12e9eba4b476fd71d2df4d04e668292b2 +RPMIdentity: f845494ebf307330c92fc4f424b96cc016c084a5eadf70e561579d0dad2df9fa8ec9bf9065adb9b192e5178da7ea7fa51f016c20a2ece72b5aec747c698302d2 --- libgrokj2k-9.5.0-alt1.i586.rpm.repo 2021-12-13 10:27:40.000000000 +0000 +++ libgrokj2k-9.5.0-alt1.i586.rpm.hasher 2023-06-03 07:20:11.200627059 +0000 @@ -4,3 +4,3 @@ /usr/share/doc/libgrokj2k-9.5.0/README.md 100644 root:root -Requires: ld-linux.so.2 >= set:ihL26 +Requires: ld-linux.so.2 >= set:jiL26 Requires: rpmlib(SetVersions) @@ -39,2 +39,3 @@ Requires: libstdc++.so.6(GLIBCXX_3.4.29) +Requires: libstdc++.so.6(GLIBCXX_3.4.30) Requires: libstdc++.so.6(GLIBCXX_3.4.9) @@ -42,8 +43,8 @@ Requires: rpmlib(PayloadIsLzma) -Provides: libgrokj2k.so.1 = set:mdwZDxGO9Jh7okxPfzbDyk0F557qciqIsr6G8G0pNnjA1mkGvK3BgeA6q84FwjDZe0Oiqh7N5mFZ0nWzYFTSBwVcO3mM4iEyAcIu0aGPyMAnipj66BHS7wsyj6tl28XWQLhw3cGLIGGk6eQoafjo38XPlzMq58OWNBhCoYKShFW1SlEidpvB54PURVaX33gnlFrqGLpOQJ8a2hrR9EHo2kWbZoFi5w5gSqvI8rwthbZJPfjZ2MpSPIYZpv4FDmkZ68TSurdvqZBkZy92gzvzW8dwaLZrCAwINtdFyKgcvOP7SYNCUwxFktTGQ7yZ3D4QdyKhgrbZ1wlDwj3XQ2CjUrhYOZ8EOuGPclvmUuYf8MeRCu5zj6khJjCB0cDC7IQjTObb8tGdAXqSujwlVdQvCnvtWD09lsgMu3kxCQHzAPMEE89go6hJpRpnD2LDdKG2LQWNQEZesrDyrN0YdHPl1lDEBZc83Zm2wLQZ89or4jzica1qRFi6wmfKrnMIcR3wzpehRVngAS2M7uDDUztLUvkJusOc8o2Gv8iQ75siulzdUFZJlUbYkV2wuVxEkpZ6FrgCrGYwENhZwy4UNzF5vl3dIj8Zu2kemaAEIfH03ivKKXC1BbQQ2auOdO28v1O1a7R0G6m9ieumiHx3mgUGsMZhXsYD1mIMpiZ218BadEgf +Provides: libgrokj2k.so.1 = set:mdwZDxGO9Jh7okxPfzbDyk0F557qciqIsr6G8G0pNnjA1mkGvK3BgeA6qwi2tSX0Oiqh7N5mFZ0nWzYFTSBwVcO3mM4iEyAcIu0aGPyMAnipj66BHS7wsyj6tl28XWQLhw3cGLIGGk6eQoafjo38XPlzMq58OWNBhCoYKShFW1SlEidpvB54PURVaX33gnlFrqGLpOQJ8a2hrR9EHo2kWbZoFi5w5gSqvI8rwthbZJPfjZ2MpSPIYZpv4FDmkZ68TSurdvqZBkZy92gzvzW8dwaLZrCAwINtdFyKgcvOP7SYNCUwxFktTGQ7yZ3D4QdyKhgrbZ1wlDwj3XQ2CjUrhYOZ8EOuGPclvmUuYf8MeRCu5zj6khJjCB0cDC7IQjTObb8tGdAXqSujwlVdQvCnvtWD09lsgMu3kxCQHzAPMEE89go6hJpRpnD2LDdKG2LQWNQEZesrDyrN0YdHPl1lDEBZc83Zm2wLQZ89or4jzica1qRFi6wmfKrnMIcR3wzpehRVngAS2M7uDDUztLUvkJusOc8o2Gv8iQ75siulzdUFZJlUbYkV2wuVxEkpZ6FrgCrGYwENhZwy4UNrEaOOnRg3X4yLbgVoFgyOZsaMwQDHXKpgV2dJwyDszI0OnwswOhdwGxlyAzDBQqUw54Ka7IvIPNv6oN2D9Rb18BadEgf Provides: libgrokj2k = 9.5.0-alt1:sisyphus+291892.40.2.1 File: /usr/lib/libgrokj2k.so.1 120777 root:root libgrokj2k.so.9.5.0 -File: /usr/lib/libgrokj2k.so.9.5.0 100644 root:root 1d412077a5260bdfe4dc4d1c5be5bf1d +File: /usr/lib/libgrokj2k.so.9.5.0 100644 root:root f9f4169ad0c51a883dbcf85ed12b121a File: /usr/share/doc/libgrokj2k-9.5.0 40755 root:root File: /usr/share/doc/libgrokj2k-9.5.0/README.md 100644 root:root 4d427b835609a079e7caabc295d87086 -RPMIdentity: d105cd010dbeb6217db325fe90301f988a106668dd94e98afc3bd165432c8346d44a1107deffc769f7b60c6085fc434263cbb8ec718d3954f0dcee02543004a8 +RPMIdentity: ad0a079b56b56d101f86ef5217556a3e4d3a59e312f0aac02118546cc15abade76a43d2ac7cb9d17904fdb6c7db1002d0289ab4068eadbbb3a9e5aba20814550 --- libgrokj2k-debuginfo-9.5.0-alt1.i586.rpm.repo 2021-12-13 10:27:40.000000000 +0000 +++ libgrokj2k-debuginfo-9.5.0-alt1.i586.rpm.hasher 2023-06-03 07:20:11.289628027 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/c0 40755 root:root -/usr/lib/debug/.build-id/c0/6205900cb42e23002b59b0e2b80f27521d9410 120777 root:root ../../../libgrokj2k.so.9.5.0 -/usr/lib/debug/.build-id/c0/6205900cb42e23002b59b0e2b80f27521d9410.debug 120777 root:root ../../usr/lib/libgrokj2k.so.9.5.0.debug +/usr/lib/debug/.build-id/43 40755 root:root +/usr/lib/debug/.build-id/43/792c0b8a8f58dea16ff5efca791670c6b2bddd 120777 root:root ../../../libgrokj2k.so.9.5.0 +/usr/lib/debug/.build-id/43/792c0b8a8f58dea16ff5efca791670c6b2bddd.debug 120777 root:root ../../usr/lib/libgrokj2k.so.9.5.0.debug /usr/lib/debug/usr/lib/libgrokj2k.so.1.debug 120777 root:root libgrokj2k.so.9.5.0.debug @@ -228,7 +228,7 @@ Provides: libgrokj2k-debuginfo = 9.5.0-alt1:sisyphus+291892.40.2.1 -File: /usr/lib/debug/.build-id/c0 40755 root:root -File: /usr/lib/debug/.build-id/c0/6205900cb42e23002b59b0e2b80f27521d9410 120777 root:root ../../../libgrokj2k.so.9.5.0 -File: /usr/lib/debug/.build-id/c0/6205900cb42e23002b59b0e2b80f27521d9410.debug 120777 root:root ../../usr/lib/libgrokj2k.so.9.5.0.debug +File: /usr/lib/debug/.build-id/43 40755 root:root +File: /usr/lib/debug/.build-id/43/792c0b8a8f58dea16ff5efca791670c6b2bddd 120777 root:root ../../../libgrokj2k.so.9.5.0 +File: /usr/lib/debug/.build-id/43/792c0b8a8f58dea16ff5efca791670c6b2bddd.debug 120777 root:root ../../usr/lib/libgrokj2k.so.9.5.0.debug File: /usr/lib/debug/usr/lib/libgrokj2k.so.1.debug 120777 root:root libgrokj2k.so.9.5.0.debug -File: /usr/lib/debug/usr/lib/libgrokj2k.so.9.5.0.debug 100644 root:root d69cf3a9b126082f9b49ca2b7f382a5b +File: /usr/lib/debug/usr/lib/libgrokj2k.so.9.5.0.debug 100644 root:root dba81c8d68a1df2519011c6a691ab935 File: /usr/src/debug/libgrokj2k-9.5.0 40755 root:root @@ -447,2 +447,2 @@ File: /usr/src/debug/libgrokj2k-9.5.0/src/lib/jp2/util/util.h 100644 root:root 98b4a9ca95e8fd355f246df23acfe844 -RPMIdentity: 8473ff1076744bb2113441c37bcf07aefa21388a1c0316fdc5feb9f690bd8636055aae5bb2752f7c55947fdd16d4d8177194baf164dd7195c7bf974b912bd90e +RPMIdentity: d6dc17035b8c9ee78f59b90c5b95534fbc86add8a97cbefd8e1c5e93eddd427496a14f2d526d14016e44467e9c8b1009647b766233e4f3bbe1664767c0ed7da7 --- libgrokj2k-devel-9.5.0-alt1.i586.rpm.repo 2021-12-13 10:27:40.000000000 +0000 +++ libgrokj2k-devel-9.5.0-alt1.i586.rpm.hasher 2023-06-03 07:20:11.368628886 +0000 @@ -20,5 +20,5 @@ File: /usr/lib/cmake/grok-9.5/GrokTargets-release.cmake 100644 root:root 51ae6c3fffd8a59e465ac2ff0389c46f -File: /usr/lib/cmake/grok-9.5/GrokTargets.cmake 100644 root:root 1be7b3e11c69c389c1d0c90b922ee333 +File: /usr/lib/cmake/grok-9.5/GrokTargets.cmake 100644 root:root 8f1a21aa53865d723a2d8e503d356a31 File: /usr/lib/libgrokj2k.so 120777 root:root libgrokj2k.so.1 File: /usr/lib/pkgconfig/libgrokj2k.pc 100644 root:root 5f2e495f50eefb4c067003519ef469e9 -RPMIdentity: d5e814da3d15a964643f66a487f0d0905c9f06bae025350a581551838ac20f111f85fb28bf308984cd31aa2e6e7961f385fe5ae3adbd52988765f9c51a6a7daf +RPMIdentity: 4f4f63532bf20b4fd174327eea76ce5ed3ae4753c00eebebbaaa21a76bebf7bae7e3589bd164a938e98e263bad5fa0793ae96a9a7a4d57ea28e35d5d1d1b3e1b