FreeBSD Bugzilla – Attachment 164877 Details for
Bug 205732
audio/sox: strange --version output
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
poudriere testport
sox-14.4.2-poudriere.log (text/plain), 352.42 KB, created by
Rodrigo N. Hernandez
on 2015-12-30 21:09:40 UTC
(
hide
)
Description:
poudriere testport
Filename:
MIME Type:
Creator:
Rodrigo N. Hernandez
Created:
2015-12-30 21:09:40 UTC
Size:
352.42 KB
patch
obsolete
>build started at Wed Dec 30 18:59:19 BRST 2015 >port directory: /usr/ports/audio/sox >building for: FreeBSD 10amd64-HEADdev-headdev 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 amd64 >maintained by: dnelson@allantgroup.com >Makefile ident: $FreeBSD: head/audio/sox/Makefile 394778 2015-08-19 13:29:59Z mat $ >Poudriere version: 3.1.8 >Host OSVERSION: 1002000 >Jail OSVERSION: 1002000 > >---Begin Environment--- >PKGREPOSITORY=/tmp/pkgs >PACKAGES=/tmp/pkgs >OSVERSION=1002000 >UNAME_v=FreeBSD 10.2-RELEASE-p7 >UNAME_r=10.2-RELEASE-p7 >BLOCKSIZE=K >MAIL=/var/mail/root >STATUS=1 >SAVED_TERM=screen >NO_WARNING_PKG_INSTALL_EOL=yes >MASTERMNT=/usr/local/poudriere/data/.m/10amd64-HEADdev-headdev/ref >FORCE_PACKAGE=yes >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin >POUDRIERE_BUILD_TYPE=bulk >OLDPWD=/root/runscripts >PWD=/ >MASTERNAME=10amd64-HEADdev-headdev >SCRIPTPREFIX=/usr/local/share/poudriere >USER=root >HOME=/root >POUDRIERE_VERSION=3.1.8 >SCRIPTPATH=/usr/local/share/poudriere/testport.sh >TRYBROKEN=yes >LIBEXECPREFIX=/usr/local/libexec/poudriere >LOCALBASE=/usr/local >PACKAGE_BUILDING=yes >---End Environment--- > >---Begin OPTIONS List--- >===> The following configuration options are available for sox-14.4.2: > ALSA=off: ALSA audio architecture support > AMRNB=off: AMR Speech Codec (Narrowband) > AMRWB=off: AMR Speech Codec (Wideband) > AO=on: libao audio library support > FLAC=on: FLAC lossless audio codec support > GSM=on: Use libgsm from ports (else use bundled lib) > ID3TAG=on: ID3 v1/v2 tags support > LADSPA=off: LADSPA audio plugins support > LAME=off: LAME MP3 audio encoder support > MAD=on: MAD MP3 audio decoder support > OPUS=on: Opus audio codec support > PNG=on: PNG spectrogram creation > PULSEAUDIO=off: PulseAudio sound server support > SNDFILE=on: Audio conversion support via libsndfile > TWOLAME=off: TwoLAME MP2 audio encoder support > VORBIS=on: Ogg Vorbis audio codec support > WAVPACK=off: WavPack lossless audio format support >===> Use 'make config' to modify these settings >---End OPTIONS List--- > >--CONFIGURE_ARGS-- >--with-pkgconfigdir="/usr/local/libdata/pkgconfig" --with-distro="amd64-portbld-freebsd10.2 sox-14.4.2" --with-gsm --disable-stack-protector --without-alsa --without-amrnb --without-amrwb --with-ao --with-flac --with-id3tag --without-ladspa --without-lame --with-mad --with-opus --with-png --without-pulseaudio --with-sndfile --without-twolame --with-oggvorbis --without-wavpack --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} >--End CONFIGURE_ARGS-- > >--CONFIGURE_ENV-- >PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/audio/sox/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/sox/work HOME=/wrkdirs/usr/ports/audio/sox/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 >--End CONFIGURE_ENV-- > >--MAKE_ENV-- >XDG_DATA_HOME=/wrkdirs/usr/ports/audio/sox/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/sox/work HOME=/wrkdirs/usr/ports/audio/sox/work TMPDIR="/tmp" NO_PIE=yes NO_DEBUG_FILES=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -lpthread -L/usr/local/lib -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" >--End MAKE_ENV-- > >--PLIST_SUB-- >OSREL=10.2 >PREFIX=%D >LOCALBASE=/usr/local >RESETPREFIX=/usr/local >PORTDOCS="" >PORTEXAMPLES="" >LIB32DIR=lib >DOCSDIR="share/doc/sox" >EXAMPLESDIR="share/examples/sox" >DATADIR="share/sox" >WWWDIR="www/sox" >ETCDIR="etc/sox" >--End PLIST_SUB-- > >--SUB_LIST-- >PREFIX=/usr/local >LOCALBASE=/usr/local >DATADIR=/usr/local/share/sox >DOCSDIR=/usr/local/share/doc/sox >EXAMPLESDIR=/usr/local/share/examples/sox >WWWDIR=/usr/local/www/sox >ETCDIR=/usr/local/etc/sox >--End SUB_LIST-- > >---Begin make.conf--- >USE_PACKAGE_DEPENDS=yes >BATCH=yes >WRKDIRPREFIX=/wrkdirs >PORTSDIR=/usr/ports >PACKAGES=/packages >DISTDIR=/distfiles >---End make.conf--- >=======================<phase: check-sanity >============================ >===> License LGPL21 GPLv2 accepted by the user >=========================================================================== >=======================<phase: pkg-depends >============================ >===> sox-14.4.2 depends on file: /usr/local/sbin/pkg - not found >===> Installing existing package /packages/All/pkg-1.6.2.txz >[10amd64-HEADdev-headdev] Installing pkg-1.6.2... >[10amd64-HEADdev-headdev] Extracting pkg-1.6.2: .......... done >Message from pkg-1.6.2: >If you are upgrading from the old package format, first run: > > # pkg2ng >===> sox-14.4.2 depends on file: /usr/local/sbin/pkg - found >===> Returning to build of sox-14.4.2 >=========================================================================== >=======================<phase: fetch-depends >============================ >=========================================================================== >=======================<phase: fetch >============================ >===> License LGPL21 GPLv2 accepted by the user >===> sox-14.4.2 depends on file: /usr/local/sbin/pkg - found >=> 0001-Remove-pure-attribute-from-functions-with-side-effec.patch doesn't seem to exist in /portdistfiles/. >=> Attempting to fetch https://sourceforge.net/p/sox/patches/104/attachment/0001-Remove-pure-attribute-from-functions-with-side-effec.patch >0001-Remove-pure-attribute-from-functions-with-side-effec.patch 0 B 0 Bps >===> Fetching all distfiles required by sox-14.4.2 for building >=========================================================================== >=======================<phase: checksum >============================ >===> License LGPL21 GPLv2 accepted by the user >===> sox-14.4.2 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by sox-14.4.2 for building >=> SHA256 Checksum OK for sox-14.4.2.tar.gz. >=> SHA256 Checksum OK for 0001-Remove-pure-attribute-from-functions-with-side-effec.patch. >=========================================================================== >=======================<phase: extract-depends>============================ >=========================================================================== >=======================<phase: extract >============================ >===> License LGPL21 GPLv2 accepted by the user >===> sox-14.4.2 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by sox-14.4.2 for building >===> Extracting for sox-14.4.2 >=> SHA256 Checksum OK for sox-14.4.2.tar.gz. >=> SHA256 Checksum OK for 0001-Remove-pure-attribute-from-functions-with-side-effec.patch. >=========================================================================== >=======================<phase: patch-depends >============================ >=========================================================================== >=======================<phase: patch >============================ >===> Patching for sox-14.4.2 >===> Applying distribution patches for sox-14.4.2 >=========================================================================== >=======================<phase: build-depends >============================ >===> sox-14.4.2 depends on executable: autoconf-2.69 - not found >===> Installing existing package /packages/All/autoconf-2.69.txz >[10amd64-HEADdev-headdev] Installing autoconf-2.69... >[10amd64-HEADdev-headdev] `-- Installing indexinfo-0.2.4... >[10amd64-HEADdev-headdev] `-- Extracting indexinfo-0.2.4: .... done >[10amd64-HEADdev-headdev] `-- Installing autoconf-wrapper-20131203... >[10amd64-HEADdev-headdev] `-- Extracting autoconf-wrapper-20131203: ........ done >[10amd64-HEADdev-headdev] `-- Installing perl5-5.20.3_8... >[10amd64-HEADdev-headdev] `-- Extracting perl5-5.20.3_8: .......... done >[10amd64-HEADdev-headdev] `-- Installing m4-1.4.17_1,1... >[10amd64-HEADdev-headdev] `-- Extracting m4-1.4.17_1,1: .......... done >[10amd64-HEADdev-headdev] Extracting autoconf-2.69: .......... done >Message from perl5-5.20.3_8: >The /usr/bin/perl symlink has been removed starting with Perl 5.20. >For shebangs, you should either use: > >#!/usr/local/bin/perl > >or > >#!/usr/bin/env perl > >The first one will only work if you have a /usr/local/bin/perl, >the second will work as long as perl is in PATH. >===> sox-14.4.2 depends on executable: autoconf-2.69 - found >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on executable: autoheader-2.69 - found >===> sox-14.4.2 depends on executable: autoreconf-2.69 - found >===> sox-14.4.2 depends on executable: aclocal-1.15 - not found >===> Installing existing package /packages/All/automake-1.15_1.txz >[10amd64-HEADdev-headdev] Installing automake-1.15_1... >[10amd64-HEADdev-headdev] `-- Installing automake-wrapper-20131203... >[10amd64-HEADdev-headdev] `-- Extracting automake-wrapper-20131203: ... done >[10amd64-HEADdev-headdev] Extracting automake-1.15_1: .......... done >===> sox-14.4.2 depends on executable: aclocal-1.15 - found >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on executable: automake-1.15 - found >===> sox-14.4.2 depends on executable: libtoolize - not found >===> Installing existing package /packages/All/libtool-2.4.6.txz >[10amd64-HEADdev-headdev] Installing libtool-2.4.6... >[10amd64-HEADdev-headdev] Extracting libtool-2.4.6: .......... done >===> sox-14.4.2 depends on executable: libtoolize - found >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on executable: pkgconf - not found >===> Installing existing package /packages/All/pkgconf-0.9.12_1.txz >[10amd64-HEADdev-headdev] Installing pkgconf-0.9.12_1... >[10amd64-HEADdev-headdev] Extracting pkgconf-0.9.12_1: ....... done >===> sox-14.4.2 depends on executable: pkgconf - found >===> Returning to build of sox-14.4.2 >=========================================================================== >=======================<phase: lib-depends >============================ >===> sox-14.4.2 depends on shared library: libltdl.so - not found >===> Installing existing package /packages/All/libltdl-2.4.6.txz >[10amd64-HEADdev-headdev] Installing libltdl-2.4.6... >[10amd64-HEADdev-headdev] Extracting libltdl-2.4.6: .......... done >===> sox-14.4.2 depends on shared library: libltdl.so - found (/usr/local/lib/libltdl.so) >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on shared library: libao.so - not found >===> Installing existing package /packages/All/libao-1.2.0_2.txz >[10amd64-HEADdev-headdev] Installing libao-1.2.0_2... >[10amd64-HEADdev-headdev] Extracting libao-1.2.0_2: .......... done >===> sox-14.4.2 depends on shared library: libao.so - found (/usr/local/lib/libao.so) >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on shared library: libFLAC.so - not found >===> Installing existing package /packages/All/flac-1.3.1_1.txz >[10amd64-HEADdev-headdev] Installing flac-1.3.1_1... >[10amd64-HEADdev-headdev] `-- Installing libogg-1.3.2_1,4... >[10amd64-HEADdev-headdev] `-- Extracting libogg-1.3.2_1,4: .......... done >[10amd64-HEADdev-headdev] Extracting flac-1.3.1_1: .......... done >===> sox-14.4.2 depends on shared library: libFLAC.so - found (/usr/local/lib/libFLAC.so) >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on shared library: libgsm.so - not found >===> Installing existing package /packages/All/gsm-1.0.13_2.txz >[10amd64-HEADdev-headdev] Installing gsm-1.0.13_2... >[10amd64-HEADdev-headdev] Extracting gsm-1.0.13_2: .......... done >===> sox-14.4.2 depends on shared library: libgsm.so - found (/usr/local/lib/libgsm.so) >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on shared library: libid3tag.so - not found >===> Installing existing package /packages/All/libid3tag-0.15.1b_1.txz >[10amd64-HEADdev-headdev] Installing libid3tag-0.15.1b_1... >[10amd64-HEADdev-headdev] Extracting libid3tag-0.15.1b_1: .......... done >===> sox-14.4.2 depends on shared library: libid3tag.so - found (/usr/local/lib/libid3tag.so) >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on shared library: libmad.so - not found >===> Installing existing package /packages/All/libmad-0.15.1b_6.txz >[10amd64-HEADdev-headdev] Installing libmad-0.15.1b_6... >[10amd64-HEADdev-headdev] Extracting libmad-0.15.1b_6: ......... done >===> sox-14.4.2 depends on shared library: libmad.so - found (/usr/local/lib/libmad.so) >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on shared library: libopusfile.so - not found >===> Installing existing package /packages/All/opusfile-0.6_1.txz >[10amd64-HEADdev-headdev] Installing opusfile-0.6_1... >[10amd64-HEADdev-headdev] `-- Installing opus-1.1.1_1... >[10amd64-HEADdev-headdev] `-- Extracting opus-1.1.1_1: .......... done >[10amd64-HEADdev-headdev] Extracting opusfile-0.6_1: .......... done >===> sox-14.4.2 depends on shared library: libopusfile.so - found (/usr/local/lib/libopusfile.so) >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on shared library: libpng.so - not found >===> Installing existing package /packages/All/png-1.6.20.txz >[10amd64-HEADdev-headdev] Installing png-1.6.20... >[10amd64-HEADdev-headdev] Extracting png-1.6.20: .......... done >===> sox-14.4.2 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on shared library: libsndfile.so - not found >===> Installing existing package /packages/All/libsndfile-1.0.26.txz >[10amd64-HEADdev-headdev] Installing libsndfile-1.0.26... >[10amd64-HEADdev-headdev] `-- Installing libvorbis-1.3.5,3... >[10amd64-HEADdev-headdev] `-- Extracting libvorbis-1.3.5,3: .......... done >[10amd64-HEADdev-headdev] Extracting libsndfile-1.0.26: .......... done >===> sox-14.4.2 depends on shared library: libsndfile.so - found (/usr/local/lib/libsndfile.so) >===> Returning to build of sox-14.4.2 >===> sox-14.4.2 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) >=========================================================================== >====>> Recording filesystem state for prebuild... done >=======================<phase: configure >============================ >===> sox-14.4.2 depends on executable: autoconf-2.69 - found >===> sox-14.4.2 depends on executable: autoheader-2.69 - found >===> sox-14.4.2 depends on executable: autoreconf-2.69 - found >===> sox-14.4.2 depends on executable: aclocal-1.15 - found >===> sox-14.4.2 depends on executable: automake-1.15 - found >===> sox-14.4.2 depends on executable: libtoolize - found >===> sox-14.4.2 depends on executable: pkgconf - found >===> sox-14.4.2 depends on shared library: libltdl.so - found (/usr/local/lib/libltdl.so) >===> sox-14.4.2 depends on shared library: libao.so - found (/usr/local/lib/libao.so) >===> sox-14.4.2 depends on shared library: libFLAC.so - found (/usr/local/lib/libFLAC.so) >===> sox-14.4.2 depends on shared library: libgsm.so - found (/usr/local/lib/libgsm.so) >===> sox-14.4.2 depends on shared library: libid3tag.so - found (/usr/local/lib/libid3tag.so) >===> sox-14.4.2 depends on shared library: libmad.so - found (/usr/local/lib/libmad.so) >===> sox-14.4.2 depends on shared library: libopusfile.so - found (/usr/local/lib/libopusfile.so) >===> sox-14.4.2 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) >===> sox-14.4.2 depends on shared library: libsndfile.so - found (/usr/local/lib/libsndfile.so) >===> sox-14.4.2 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) >===> Configuring for sox-14.4.2 >libtoolize: putting auxiliary files in '.'. >libtoolize: copying file './ltmain.sh' >libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. >libtoolize: copying file 'm4/libtool.m4' >libtoolize: copying file 'm4/ltoptions.m4' >libtoolize: copying file 'm4/ltsugar.m4' >libtoolize: copying file 'm4/ltversion.m4' >libtoolize: copying file 'm4/lt~obsolete.m4' >configure.ac:22: installing './compile' >configure.ac:12: installing './missing' >libgsm/Makefile.am: installing './depcomp' >configure: loading site script /usr/ports/Templates/config.site >checking build system type... amd64-portbld-freebsd10.2 >checking host system type... amd64-portbld-freebsd10.2 >checking target system type... amd64-portbld-freebsd10.2 >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p >checking for gawk... (cached) /usr/bin/awk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether make supports nested variables... (cached) yes >checking for gcc... cc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether cc accepts -g... yes >checking for cc option to accept ISO C89... none needed >checking whether cc understands -c and -o together... yes >checking for style of include used by make... GNU >checking dependency style of cc... gcc3 >checking whether ln -s works... yes >checking how to print strings... printf >checking for a sed that does not truncate output... (cached) /usr/bin/sed >checking for grep that handles long lines and -e... (cached) /usr/bin/grep >checking for egrep... (cached) /usr/bin/egrep >checking for fgrep... (cached) /usr/bin/fgrep >checking for ld used by cc... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B >checking the name lister (/usr/bin/nm -B) interface... BSD nm >checking the maximum length of command line arguments... (cached) 262144 >checking how to convert amd64-portbld-freebsd10.2 file names to amd64-portbld-freebsd10.2 format... func_convert_file_noop >checking how to convert amd64-portbld-freebsd10.2 file names to toolchain format... func_convert_file_noop >checking for /usr/bin/ld option to reload object files... -r >checking for objdump... objdump >checking how to recognize dependent libraries... pass_all >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for ar... ar >checking for archiver @FILE support... no >checking for strip... strip >checking for ranlib... ranlib >checking command to parse /usr/bin/nm -B output from cc object... ok >checking for sysroot... no >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for mt... mt >checking if mt is a manifest tool... no >checking how to run the C preprocessor... cpp >checking for ANSI C header files... (cached) yes >checking for sys/types.h... (cached) yes >checking for sys/stat.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for memory.h... (cached) yes >checking for strings.h... (cached) yes >checking for inttypes.h... (cached) yes >checking for stdint.h... (cached) yes >checking for unistd.h... (cached) yes >checking for dlfcn.h... (cached) yes >checking for objdir... .libs >checking if cc supports -fno-rtti -fno-exceptions... yes >checking for cc option to produce PIC... -fPIC -DPIC >checking if cc PIC flag -fPIC -DPIC works... yes >checking if cc static flag -static works... yes >checking if cc supports -c -o file.o... yes >checking if cc supports -c -o file.o... (cached) yes >checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... freebsd10.2 ld.so >checking how to hardcode library paths into programs... immediate >checking for shl_load... no >checking for shl_load in -ldld... no >checking for dlopen... (cached) yes >checking whether a program can dlopen itself... yes >checking whether a statically linked program can dlopen itself... no >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking pkg-config is at least version 0.9.0... yes >checking whether to make a debug build... >checking gcc version... 4.2.1 >checking whether byte ordering is bigendian... no >checking for inline... inline >checking for ANSI C header files... (cached) yes >checking for fcntl.h... (cached) yes >checking for unistd.h... (cached) yes >checking for byteswap.h... (cached) no >checking for sys/stat.h... (cached) yes >checking for sys/time.h... (cached) yes >checking sys/timeb.h usability... yes >checking sys/timeb.h presence... yes >checking for sys/timeb.h... yes >checking for sys/types.h... (cached) yes >checking sys/utsname.h usability... yes >checking sys/utsname.h presence... yes >checking for sys/utsname.h... yes >checking termios.h usability... yes >checking termios.h presence... yes >checking for termios.h... yes >checking for glob.h... (cached) yes >checking fenv.h usability... yes >checking fenv.h presence... yes >checking for fenv.h... yes >checking for strcasecmp... (cached) yes >checking for strdup... (cached) yes >checking for popen... yes >checking for vsnprintf... (cached) yes >checking for gettimeofday... (cached) yes >checking for mkstemp... (cached) yes >checking for fmemopen... yes >checking for library containing pow... -lm >checking for library containing lrint... none required >checking for lrint... yes >checking for special C compiler options needed for large files... no >checking for _FILE_OFFSET_BITS value needed for large files... no >checking for _LARGEFILE_SOURCE value needed for large files... no >checking whether libtool should be silenced... yes >checking ltdl.h usability... yes >checking ltdl.h presence... yes >checking for ltdl.h... yes >checking for lt_dlinit in -lltdl... yes >checking for cc option to support OpenMP... unsupported >checking magic.h usability... yes >checking magic.h presence... yes >checking for magic.h... yes >checking for magic_open in -lmagic... yes >checking png.h usability... yes >checking png.h presence... yes >checking for png.h... yes >checking libpng/png.h usability... no >checking libpng/png.h presence... no >checking for libpng/png.h... no >checking for png_set_rows in -lpng... yes >checking mad.h usability... yes >checking mad.h presence... yes >checking for mad.h... yes >checking whether to dlopen mad... no >checking for mad_stream_buffer in -lmad... yes >checking id3tag.h usability... yes >checking id3tag.h presence... yes >checking for id3tag.h... yes >checking for id3_file_open in -lid3tag... yes >checking gsm/gsm.h usability... no >checking gsm/gsm.h presence... no >checking for gsm/gsm.h... no >checking gsm.h usability... yes >checking gsm.h presence... yes >checking for gsm.h... yes >checking for gsm_create in -lgsm... yes >checking lpc10.h usability... no >checking lpc10.h presence... no >checking for lpc10.h... no >checking for lpc10.h... (cached) no >checking for create_lpc10_encoder_state in -llpc10... no >checking vorbis/codec.h usability... yes >checking vorbis/codec.h presence... yes >checking for vorbis/codec.h... yes >checking for ogg_packet_clear in -logg... yes >checking for vorbis_analysis_headerout in -lvorbis... yes >checking for ov_clear in -lvorbisfile... yes >checking for vorbis_encode_init_vbr in -lvorbisenc... yes >checking for OPUS... yes >checking FLAC/all.h usability... yes >checking FLAC/all.h presence... yes >checking for FLAC/all.h... yes >checking whether FLAC_API_VERSION_CURRENT is declared... yes >checking for FLAC__stream_encoder_new in -lFLAC... yes >checking opencore-amrwb/dec_if.h usability... no >checking opencore-amrwb/dec_if.h presence... no >checking for opencore-amrwb/dec_if.h... no >checking amrwb/dec.h usability... no >checking amrwb/dec.h presence... no >checking for amrwb/dec.h... no >checking opencore-amrnb/interf_dec.h usability... no >checking opencore-amrnb/interf_dec.h presence... no >checking for opencore-amrnb/interf_dec.h... no >checking amrnb/sp_dec.h usability... no >checking amrnb/sp_dec.h presence... no >checking for amrnb/sp_dec.h... no >checking sndio.h usability... no >checking sndio.h presence... no >checking for sndio.h... no >checking CoreAudio/CoreAudio.h usability... no >checking CoreAudio/CoreAudio.h presence... no >checking for CoreAudio/CoreAudio.h... no >checking ao/ao.h usability... yes >checking ao/ao.h presence... yes >checking for ao/ao.h... yes >checking for ao_play in -lao... yes >checking for mmsystem.h... no >checking for SNDFILE... yes >checking sndfile.h usability... yes >checking sndfile.h presence... yes >checking for sndfile.h... yes >checking for sf_open_virtual... yes >checking whether SF_FORMAT_OGG is declared... yes >checking whether SFC_SET_SCALE_INT_FLOAT_WRITE is declared... yes >checking sys/soundcard.h usability... yes >checking sys/soundcard.h presence... yes >checking for sys/soundcard.h... yes >checking sys/audioio.h usability... no >checking sys/audioio.h presence... no >checking for sys/audioio.h... no >checking sun/audioio.h usability... no >checking sun/audioio.h presence... no >checking for sun/audioio.h... no >checking whether to enable symlinks... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating libgsm/Makefile >config.status: creating lpc10/Makefile >config.status: creating msvc9/Makefile >config.status: creating msvc10/Makefile >config.status: creating sox.pc >config.status: creating src/soxconfig.h >config.status: executing depfiles commands >config.status: executing libtool commands > >BUILD OPTIONS >Debugging build............no >Distro name ...............amd64-portbld-freebsd10.2 sox-14.4.2 >Dynamic loading support....yes >Pkg-config location......../usr/local/libdata/pkgconfig >Play and rec symlinks......yes >Symlinks enabled...........yes > >OPTIONAL DEVICE DRIVERS >ao (Xiph)..................yes >alsa (Linux)...............no >coreaudio (Mac OS X).......no >sndio (OpenBSD)............no >oss........................yes >pulseaudio.................no >sunaudio...................no >waveaudio (MS-Windows).....no > >OPTIONAL FILE FORMATS >amrnb......................no >amrwb......................no >flac.......................yes >gsm........................yes (external) >lpc10......................yes (in-tree) >mp2/mp3....................yes > id3tag....................yes > lame......................no > mad.......................yes > dlopen mad................no > twolame...................no >oggvorbis..................yes >opus.......................yes >sndfile....................yes > dlopen sndfile............no >wavpack....................no > >OTHER OPTIONS >ladspa effects.............no >magic support..............yes >png support................yes >OpenMP support.............no > >Configure finished. Do 'make -s && make install' to compile and install SoX. > >=========================================================================== >=======================<phase: build >============================ >===> Building for sox-14.4.2 >--- all-recursive --- >Making all in lpc10 >--- analys.lo --- >--- bsynz.lo --- >--- analys.lo --- > CC analys.lo >--- bsynz.lo --- > CC bsynz.lo >--- chanwr.lo --- > CC chanwr.lo >--- dcbias.lo --- > CC dcbias.lo >--- decode.lo --- > CC decode.lo >--- deemp.lo --- > CC deemp.lo >--- difmag.lo --- > CC difmag.lo >--- dyptrk.lo --- > CC dyptrk.lo >--- encode.lo --- > CC encode.lo >--- energy.lo --- > CC energy.lo >--- f2clib.lo --- > CC f2clib.lo >--- ham84.lo --- > CC ham84.lo >--- hp100.lo --- > CC hp100.lo >--- invert.lo --- > CC invert.lo >--- irc2pc.lo --- > CC irc2pc.lo >--- ivfilt.lo --- > CC ivfilt.lo >--- lpcdec.lo --- > CC lpcdec.lo >--- lpcenc.lo --- > CC lpcenc.lo >--- lpcini.lo --- > CC lpcini.lo >--- lpfilt.lo --- > CC lpfilt.lo >--- median.lo --- > CC median.lo >--- mload.lo --- > CC mload.lo >--- onset.lo --- > CC onset.lo >--- pitsyn.lo --- > CC pitsyn.lo >--- placea.lo --- > CC placea.lo >--- placev.lo --- > CC placev.lo >--- preemp.lo --- > CC preemp.lo >--- prepro.lo --- > CC prepro.lo >--- random.lo --- > CC random.lo >--- rcchk.lo --- > CC rcchk.lo >--- synths.lo --- > CC synths.lo >--- tbdm.lo --- > CC tbdm.lo >--- voicin.lo --- > CC voicin.lo >--- vparms.lo --- > CC vparms.lo >--- liblpc10.la --- >CCLD liblpc10.la >Making all in libgsm >Making all in src >--- sox.o --- >--- libsox_la-adpcms.lo --- >--- sox.o --- > CC sox.o >--- libsox_la-adpcms.lo --- >CC libsox_la-adpcms.lo >--- sox.o --- >In file included from sox.c:76: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >sox.c:287:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int hours, mins = seconds / 60; > ~~~~ ~~~~~~~~^~~~ >sox.c:298:16: warning: implicit conversion changes signedness: 'sox_uint64_t' (aka 'unsigned long') to 'off_t' (aka 'long') [-Wsign-conversion] > off_t size = lsx_filelength(ft); > ~~~~ ^~~~~~~~~~~~~~~~~~ >sox.c:503:14: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *buf++ = SOX_ROUND_CLIP_COUNT(d, f->volume_clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >sox.c:503:14: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *buf++ = SOX_ROUND_CLIP_COUNT(d, f->volume_clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >sox.c:579:20: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *p = SOX_ROUND_CLIP_COUNT(sample, mixing_clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >sox.c:579:20: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *p = SOX_ROUND_CLIP_COUNT(sample, mixing_clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >sox.c:589:18: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *p = SOX_ROUND_CLIP_COUNT(sample, mixing_clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >sox.c:589:18: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *p = SOX_ROUND_CLIP_COUNT(sample, mixing_clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >sox.c:857:85: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > for (j = 0; j < (size_t)(argc - optstate.ind) && !sox_find_effect(argv[optstate.ind + j]) && > ~~~~~~~~~^~~ ~ >sox.c:858:42: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > !is_pseudo_effect(argv[optstate.ind + j]); ++j) { > ~~~~~~~~~^~~ ~ >sox.c:864:84: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > user_effargs[eff_chain_count][eff_offset].argv[j] = lsx_strdup(argv[optstate.ind + j]); > ~~~~~~~~~^~~ ~ >./xmalloc.h:29:25: note: expanded from macro 'lsx_strdup' >#define lsx_strdup(p) ((p)? strcpy((char *)lsx_malloc(strlen(p) + 1), p) : NULL) > ^ >sox.c:864:84: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > user_effargs[eff_chain_count][eff_offset].argv[j] = lsx_strdup(argv[optstate.ind + j]); > ~~~~~~~~~^~~ ~ >./xmalloc.h:29:62: note: expanded from macro 'lsx_strdup' >#define lsx_strdup(p) ((p)? strcpy((char *)lsx_malloc(strlen(p) + 1), p) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >sox.c:864:84: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > user_effargs[eff_chain_count][eff_offset].argv[j] = lsx_strdup(argv[optstate.ind + j]); > ~~~~~~~~~^~~ ~ >./xmalloc.h:29:71: note: expanded from macro 'lsx_strdup' >#define lsx_strdup(p) ((p)? strcpy((char *)lsx_malloc(strlen(p) + 1), p) : NULL) > ^ >sox.c:866:54: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > user_effargs[eff_chain_count][eff_offset].argc = j; > ~ ^ >sox.c:888:32: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > lsx_revalloc(argv, *argc + 1); > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >./xmalloc.h:32:48: note: expanded from macro 'lsx_revalloc' >#define lsx_revalloc(v,n) v = lsx_realloc(v, (n)*sizeof(*(v))) > ^ >sox.c:931:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > while(fgets(s + pos, (int) (buffer_size - pos), file)) { > ~ ^~~ >sox.c:935:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > else if (len == (int)(buffer_size - pos - 1)) { > ~ ^~~ >sox.c:932:17: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > int len = strlen(s + pos); > ~~~ ^~~~~~~~~~~~~~~ >sox.c:1230:23: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int vu_dB = linear? floor(2 * white + red + dB) : 0; > ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >sox.c:1549:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_uint64_t' (aka 'unsigned long') [-Wconversion] > oob.loops[i].start = oob.loops[i].start * factor; > ~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~ >sox.c:1550:47: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_uint64_t' (aka 'unsigned long') [-Wconversion] > oob.loops[i].length = oob.loops[i].length * factor; > ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ >sox.c:1637:61: warning: implicit conversion turns floating-point number into integer: 'sox_rate_t' (aka 'double') to 'size_t' (aka 'unsigned long') [-Wconversion] > min_rate = min(min_rate , files[i]->ft->signal.rate); > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~ >./util.h:194:40: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >sox.c:1638:61: warning: implicit conversion turns floating-point number into integer: 'sox_rate_t' (aka 'double') to 'size_t' (aka 'unsigned long') [-Wconversion] > max_rate = max(max_rate , files[i]->ft->signal.rate); > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~ >./util.h:199:40: note: expanded from macro 'max' >#define max(a, b) ((a) >= (b) ? (a) : (b)) > ^ >sox.c:1664:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] > combine_method == sox_merge? total_channels : max_channels; > ^~~~~~~~~~~~~~ >sox.c:1664:53: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] > combine_method == sox_merge? total_channels : max_channels; > ^~~~~~~~~~~~ >sox.c:1787:33: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > modified_termios.c_lflag &= ~(ICANON | ECHO); > ~~ ^~~~~~~~~~~~~~~~ >sox.c:2151:19: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] > text[i++] = c; > ~ ^ >sox.c:2285:13: warning: implicit conversion changes signedness: 'const unsigned int' to 'int' [-Wsign-conversion] > return p->value; > ~~~~~~ ~~~^~~~~ >sox.c:2313:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > sox_globals.bufsiz = i; > ~ ^ >sox.c:2317:26: warning: implicit conversion changes signedness: 'int' to 'enum <anonymous enum at sox.c:120:8>' [-Wsign-conversion] > combine_method = enum_option(optstate.arg, optstate.lngind, combine_methods); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sox.c:2346:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > sox_globals.input_bufsiz = i; > ~ ^ >sox.c:2360:36: warning: implicit conversion changes signedness: 'int' to 'sox_plot_t' (aka 'enum sox_plot_t') [-Wsign-conversion] > sox_effects_globals.plot = enum_option(optstate.arg, optstate.lngind, plot_methods); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sox.c:2362:35: warning: implicit conversion changes signedness: 'int' to 'rg_mode' [-Wsign-conversion] > case 12: replay_gain_mode = enum_option(optstate.arg, optstate.lngind, rg_modes); break; > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sox.c:2387:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > sox_globals.log2_dft_min_size = i; > ~ ^ >sox.c:2403:14: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] > return c; > ~~~~~~ ^ >sox.c:2421:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > size_t n = sscanf(optstate.arg, "%lf %c %c", &f->signal.rate, &k, &dummy); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sox.c:2446:28: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > f->signal.channels = i; > ~ ^ >sox.c:2461:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > f->encoding.bits_per_sample = i; > ~ ^ >sox.c:2785:24: warning: implicit conversion loses integer precision: 'long' to 'soxi_t' [-Wshorten-64-to-32] > else if ((type = 1 + (strchr(opts, opt) - opts)) > Annotation) > ~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >--- libsox_la-adpcms.lo --- >adpcms.c:191:12: warning: implicit conversion loses integer precision: 'int' to 'int16_t' (aka 'short') [-Wconversion] > word = lsx_adpcm_decode(state->store.byte, &state->encoder); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >adpcms.c:197:12: warning: implicit conversion loses integer precision: 'int' to 'int16_t' (aka 'short') [-Wconversion] > word = lsx_adpcm_decode(byte >> 4, &state->encoder); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >adpcms.c:201:14: warning: implicit conversion loses integer precision: 'int' to 'int16_t' (aka 'short') [-Wconversion] > word = lsx_adpcm_decode(byte, &state->encoder); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >adpcms.c:263:46: warning: implicit conversion changes signedness: 'uint8_t' (aka 'unsigned char') to 'char' [-Wsign-conversion] > state->file.buf[state->file.count++] = byte; > ~ ^~~~ >adpcms.c:300:44: warning: implicit conversion changes signedness: 'uint8_t' (aka 'unsigned char') to 'char' [-Wsign-conversion] > state->file.buf[state->file.count++] = byte; > ~ ^~~~ >5 warnings generated. >--- libsox_la-aiff.lo --- > CC libsox_la-aiff.lo >aiff.c:200:17: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'unsigned char' [-Wconversion] > len = chunksize; > ~ ^~~~~~~~~ >aiff.c:207:32: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion] > marks[i].name[j] = tmp_c; > ~ ^~~~~ >aiff.c:235:31: warning: implicit conversion loses integer precision: 'unsigned short' to 'unsigned char' [-Wconversion] > ft->oob.loops[0].type = looptype; > ~ ^~~~~~~~ >aiff.c:239:31: warning: implicit conversion loses integer precision: 'unsigned short' to 'unsigned char' [-Wconversion] > ft->oob.loops[1].type = looptype; > ~ ^~~~~~~~ >aiff.c:691:16: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > size = hsize + nframes * (ft->encoding.bits_per_sample >> 3) * ft->signal.channels; > ^~~~~ ~ >aiff.c:744:48: warning: implicit conversion loses integer precision: 'sox_uint64_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] > : ft->oob.loops[i].start; > ~~~~~~~~~~~~~~~~~^~~~~ >aiff.c:747:54: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] > : ft->oob.loops[i].start + ft->oob.loops[i].length; > ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >aiff.c:885:21: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] > cname_len = strlen(cname); > ~ ^~~~~~~~~~~~~ >aiff.c:1040:22: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] > bytes[0] = expon >> 8; > ~ ~~~~~~^~~~ >aiff.c:1041:16: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] > bytes[1] = expon; > ~ ^~~~~ >aiff.c:1042:23: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'char' [-Wsign-conversion] > bytes[2] = hiMant >> 24; > ~ ~~~~~~~^~~~~ >aiff.c:1043:23: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'char' [-Wconversion] > bytes[3] = hiMant >> 16; > ~ ~~~~~~~^~~~~ >aiff.c:1044:23: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'char' [-Wconversion] > bytes[4] = hiMant >> 8; > ~ ~~~~~~~^~~~ >aiff.c:1045:16: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'char' [-Wconversion] > bytes[5] = hiMant; > ~ ^~~~~~ >aiff.c:1046:23: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'char' [-Wsign-conversion] > bytes[6] = loMant >> 24; > ~ ~~~~~~~^~~~~ >aiff.c:1047:23: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'char' [-Wconversion] > bytes[7] = loMant >> 16; > ~ ~~~~~~~^~~~~ >aiff.c:1048:23: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'char' [-Wconversion] > bytes[8] = loMant >> 8; > ~ ~~~~~~~^~~~ >aiff.c:1049:16: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'char' [-Wconversion] > bytes[9] = loMant; > ~ ^~~~~~ >18 warnings generated. >--- sox.o --- >40 warnings generated. >--- libsox_la-cvsd.lo --- > CC libsox_la-cvsd.lo >--- libsox_la-g711.lo --- > CC libsox_la-g711.lo >--- libsox_la-cvsd.lo --- >In file included from cvsd.c:46: >./cvsdfilt.h:27:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001102, 0.001159, 0.000187, -0.000175, > ^~~~~~~~ >./cvsdfilt.h:27:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001102, 0.001159, 0.000187, -0.000175, > ^~~~~~~~ >./cvsdfilt.h:27:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001102, 0.001159, 0.000187, -0.000175, > ^~~~~~~~ >./cvsdfilt.h:27:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001102, 0.001159, 0.000187, -0.000175, > ^~~~~~~~~ >./cvsdfilt.h:28:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.002097, 0.006543, 0.009384, 0.008004, > ^~~~~~~~ >./cvsdfilt.h:28:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.002097, 0.006543, 0.009384, 0.008004, > ^~~~~~~~ >./cvsdfilt.h:28:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.002097, 0.006543, 0.009384, 0.008004, > ^~~~~~~~ >./cvsdfilt.h:28:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.002097, 0.006543, 0.009384, 0.008004, > ^~~~~~~~ >./cvsdfilt.h:29:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.006562, 0.013569, 0.030745, 0.047053, > ^~~~~~~~ >./cvsdfilt.h:29:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.006562, 0.013569, 0.030745, 0.047053, > ^~~~~~~~ >./cvsdfilt.h:29:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.006562, 0.013569, 0.030745, 0.047053, > ^~~~~~~~ >./cvsdfilt.h:29:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.006562, 0.013569, 0.030745, 0.047053, > ^~~~~~~~ >./cvsdfilt.h:30:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.050491, 0.047388, 0.062171, 0.109115, > ^~~~~~~~ >./cvsdfilt.h:30:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.050491, 0.047388, 0.062171, 0.109115, > ^~~~~~~~ >./cvsdfilt.h:30:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.050491, 0.047388, 0.062171, 0.109115, > ^~~~~~~~ >./cvsdfilt.h:30:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.050491, 0.047388, 0.062171, 0.109115, > ^~~~~~~~ >./cvsdfilt.h:31:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.167120, 0.197144, 0.195471, 0.222098, > ^~~~~~~~ >./cvsdfilt.h:31:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.167120, 0.197144, 0.195471, 0.222098, > ^~~~~~~~ >./cvsdfilt.h:31:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.167120, 0.197144, 0.195471, 0.222098, > ^~~~~~~~ >./cvsdfilt.h:31:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.167120, 0.197144, 0.195471, 0.222098, > ^~~~~~~~ >./cvsdfilt.h:32:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.354745, 0.599184, 0.849632, 0.956536, > ^~~~~~~~ >./cvsdfilt.h:32:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.354745, 0.599184, 0.849632, 0.956536, > ^~~~~~~~ >./cvsdfilt.h:32:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.354745, 0.599184, 0.849632, 0.956536, > ^~~~~~~~ >./cvsdfilt.h:32:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.354745, 0.599184, 0.849632, 0.956536, > ^~~~~~~~ >./cvsdfilt.h:33:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.849632, 0.599184, 0.354745, 0.222098, > ^~~~~~~~ >./cvsdfilt.h:33:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.849632, 0.599184, 0.354745, 0.222098, > ^~~~~~~~ >./cvsdfilt.h:33:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.849632, 0.599184, 0.354745, 0.222098, > ^~~~~~~~ >./cvsdfilt.h:33:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.849632, 0.599184, 0.354745, 0.222098, > ^~~~~~~~ >./cvsdfilt.h:34:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.195471, 0.197144, 0.167120, 0.109115, > ^~~~~~~~ >./cvsdfilt.h:34:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.195471, 0.197144, 0.167120, 0.109115, > ^~~~~~~~ >./cvsdfilt.h:34:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.195471, 0.197144, 0.167120, 0.109115, > ^~~~~~~~ >./cvsdfilt.h:34:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.195471, 0.197144, 0.167120, 0.109115, > ^~~~~~~~ >./cvsdfilt.h:35:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.062171, 0.047388, 0.050491, 0.047053, > ^~~~~~~~ >./cvsdfilt.h:35:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.062171, 0.047388, 0.050491, 0.047053, > ^~~~~~~~ >./cvsdfilt.h:35:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.062171, 0.047388, 0.050491, 0.047053, > ^~~~~~~~ >./cvsdfilt.h:35:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.062171, 0.047388, 0.050491, 0.047053, > ^~~~~~~~ >./cvsdfilt.h:36:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.030745, 0.013569, 0.006562, 0.008004, > ^~~~~~~~ >./cvsdfilt.h:36:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.030745, 0.013569, 0.006562, 0.008004, > ^~~~~~~~ >./cvsdfilt.h:36:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.030745, 0.013569, 0.006562, 0.008004, > ^~~~~~~~ >./cvsdfilt.h:36:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.030745, 0.013569, 0.006562, 0.008004, > ^~~~~~~~ >./cvsdfilt.h:37:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.009384, 0.006543, 0.002097, -0.000175, > ^~~~~~~~ >./cvsdfilt.h:37:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.009384, 0.006543, 0.002097, -0.000175, > ^~~~~~~~ >./cvsdfilt.h:37:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.009384, 0.006543, 0.002097, -0.000175, > ^~~~~~~~ >./cvsdfilt.h:37:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.009384, 0.006543, 0.002097, -0.000175, > ^~~~~~~~~ >./cvsdfilt.h:38:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.000187, 0.001159, 0.001102, 0.000000 > ^~~~~~~~ >./cvsdfilt.h:38:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.000187, 0.001159, 0.001102, 0.000000 > ^~~~~~~~ >./cvsdfilt.h:38:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.000187, 0.001159, 0.001102, 0.000000 > ^~~~~~~~ >./cvsdfilt.h:44:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001950, 0.004180, 0.006331, 0.007907, > ^~~~~~~~ >./cvsdfilt.h:44:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001950, 0.004180, 0.006331, 0.007907, > ^~~~~~~~ >./cvsdfilt.h:44:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001950, 0.004180, 0.006331, 0.007907, > ^~~~~~~~ >./cvsdfilt.h:44:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001950, 0.004180, 0.006331, 0.007907, > ^~~~~~~~ >./cvsdfilt.h:45:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008510, 0.008342, 0.008678, 0.011827, > ^~~~~~~~ >./cvsdfilt.h:45:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008510, 0.008342, 0.008678, 0.011827, > ^~~~~~~~ >./cvsdfilt.h:45:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008510, 0.008342, 0.008678, 0.011827, > ^~~~~~~~ >./cvsdfilt.h:45:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008510, 0.008342, 0.008678, 0.011827, > ^~~~~~~~ >./cvsdfilt.h:46:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.020282, 0.035231, 0.055200, 0.075849, > ^~~~~~~~ >./cvsdfilt.h:46:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.020282, 0.035231, 0.055200, 0.075849, > ^~~~~~~~ >./cvsdfilt.h:46:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.020282, 0.035231, 0.055200, 0.075849, > ^~~~~~~~ >./cvsdfilt.h:46:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.020282, 0.035231, 0.055200, 0.075849, > ^~~~~~~~ >./cvsdfilt.h:47:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.091585, 0.098745, 0.099031, 0.101287, > ^~~~~~~~ >./cvsdfilt.h:47:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.091585, 0.098745, 0.099031, 0.101287, > ^~~~~~~~ >./cvsdfilt.h:47:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.091585, 0.098745, 0.099031, 0.101287, > ^~~~~~~~ >./cvsdfilt.h:47:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.091585, 0.098745, 0.099031, 0.101287, > ^~~~~~~~ >./cvsdfilt.h:48:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.120058, 0.170672, 0.262333, 0.392047, > ^~~~~~~~ >./cvsdfilt.h:48:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.120058, 0.170672, 0.262333, 0.392047, > ^~~~~~~~ >./cvsdfilt.h:48:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.120058, 0.170672, 0.262333, 0.392047, > ^~~~~~~~ >./cvsdfilt.h:48:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.120058, 0.170672, 0.262333, 0.392047, > ^~~~~~~~ >./cvsdfilt.h:49:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.542347, 0.684488, 0.786557, 0.823702, > ^~~~~~~~ >./cvsdfilt.h:49:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.542347, 0.684488, 0.786557, 0.823702, > ^~~~~~~~ >./cvsdfilt.h:49:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.542347, 0.684488, 0.786557, 0.823702, > ^~~~~~~~ >./cvsdfilt.h:49:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.542347, 0.684488, 0.786557, 0.823702, > ^~~~~~~~ >./cvsdfilt.h:50:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.786557, 0.684488, 0.542347, 0.392047, > ^~~~~~~~ >./cvsdfilt.h:50:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.786557, 0.684488, 0.542347, 0.392047, > ^~~~~~~~ >./cvsdfilt.h:50:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.786557, 0.684488, 0.542347, 0.392047, > ^~~~~~~~ >./cvsdfilt.h:50:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.786557, 0.684488, 0.542347, 0.392047, > ^~~~~~~~ >./cvsdfilt.h:51:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.262333, 0.170672, 0.120058, 0.101287, > ^~~~~~~~ >./cvsdfilt.h:51:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.262333, 0.170672, 0.120058, 0.101287, > ^~~~~~~~ >./cvsdfilt.h:51:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.262333, 0.170672, 0.120058, 0.101287, > ^~~~~~~~ >./cvsdfilt.h:51:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.262333, 0.170672, 0.120058, 0.101287, > ^~~~~~~~ >./cvsdfilt.h:52:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.099031, 0.098745, 0.091585, 0.075849, > ^~~~~~~~ >./cvsdfilt.h:52:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.099031, 0.098745, 0.091585, 0.075849, > ^~~~~~~~ >./cvsdfilt.h:52:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.099031, 0.098745, 0.091585, 0.075849, > ^~~~~~~~ >./cvsdfilt.h:52:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.099031, 0.098745, 0.091585, 0.075849, > ^~~~~~~~ >./cvsdfilt.h:53:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.055200, 0.035231, 0.020282, 0.011827, > ^~~~~~~~ >./cvsdfilt.h:53:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.055200, 0.035231, 0.020282, 0.011827, > ^~~~~~~~ >./cvsdfilt.h:53:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.055200, 0.035231, 0.020282, 0.011827, > ^~~~~~~~ >./cvsdfilt.h:53:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.055200, 0.035231, 0.020282, 0.011827, > ^~~~~~~~ >./cvsdfilt.h:54:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008678, 0.008342, 0.008510, 0.007907, > ^~~~~~~~ >./cvsdfilt.h:54:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008678, 0.008342, 0.008510, 0.007907, > ^~~~~~~~ >./cvsdfilt.h:54:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008678, 0.008342, 0.008510, 0.007907, > ^~~~~~~~ >./cvsdfilt.h:54:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008678, 0.008342, 0.008510, 0.007907, > ^~~~~~~~ >./cvsdfilt.h:55:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.006331, 0.004180, 0.001950, -0.000000 > ^~~~~~~~ >./cvsdfilt.h:55:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.006331, 0.004180, 0.001950, -0.000000 > ^~~~~~~~ >./cvsdfilt.h:55:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.006331, 0.004180, 0.001950, -0.000000 > ^~~~~~~~ >./cvsdfilt.h:61:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000362, 0.004648, 0.001381, 0.008312, > ^~~~~~~~~ >./cvsdfilt.h:61:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000362, 0.004648, 0.001381, 0.008312, > ^~~~~~~~ >./cvsdfilt.h:61:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000362, 0.004648, 0.001381, 0.008312, > ^~~~~~~~ >./cvsdfilt.h:61:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000362, 0.004648, 0.001381, 0.008312, > ^~~~~~~~ >./cvsdfilt.h:62:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.041490, -0.001410, 0.124061, 0.247446, > ^~~~~~~~ >./cvsdfilt.h:62:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.041490, -0.001410, 0.124061, 0.247446, > ^~~~~~~~~ >./cvsdfilt.h:62:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.041490, -0.001410, 0.124061, 0.247446, > ^~~~~~~~ >./cvsdfilt.h:62:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.041490, -0.001410, 0.124061, 0.247446, > ^~~~~~~~ >./cvsdfilt.h:63:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.106761, -0.236326, -0.023798, -0.023506, > ^~~~~~~~~ >./cvsdfilt.h:63:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.106761, -0.236326, -0.023798, -0.023506, > ^~~~~~~~~ >./cvsdfilt.h:63:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.106761, -0.236326, -0.023798, -0.023506, > ^~~~~~~~~ >./cvsdfilt.h:63:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.106761, -0.236326, -0.023798, -0.023506, > ^~~~~~~~~ >./cvsdfilt.h:64:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.030097, 0.001493, -0.005363, -0.001672 > ^~~~~~~~~ >./cvsdfilt.h:64:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.030097, 0.001493, -0.005363, -0.001672 > ^~~~~~~~ >./cvsdfilt.h:64:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.030097, 0.001493, -0.005363, -0.001672 > ^~~~~~~~~ >./cvsdfilt.h:64:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.030097, 0.001493, -0.005363, -0.001672 > ^~~~~~~~~ >./cvsdfilt.h:68:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001672, 0.005363, -0.001493, 0.030097, > ^~~~~~~~ >./cvsdfilt.h:68:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001672, 0.005363, -0.001493, 0.030097, > ^~~~~~~~ >./cvsdfilt.h:68:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001672, 0.005363, -0.001493, 0.030097, > ^~~~~~~~~ >./cvsdfilt.h:68:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001672, 0.005363, -0.001493, 0.030097, > ^~~~~~~~ >./cvsdfilt.h:69:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.023506, 0.023798, 0.236326, 0.106761, > ^~~~~~~~ >./cvsdfilt.h:69:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.023506, 0.023798, 0.236326, 0.106761, > ^~~~~~~~ >./cvsdfilt.h:69:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.023506, 0.023798, 0.236326, 0.106761, > ^~~~~~~~ >./cvsdfilt.h:69:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.023506, 0.023798, 0.236326, 0.106761, > ^~~~~~~~ >./cvsdfilt.h:70:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.247446, -0.124061, 0.001410, -0.041490, > ^~~~~~~~~ >./cvsdfilt.h:70:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.247446, -0.124061, 0.001410, -0.041490, > ^~~~~~~~~ >./cvsdfilt.h:70:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.247446, -0.124061, 0.001410, -0.041490, > ^~~~~~~~ >./cvsdfilt.h:70:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.247446, -0.124061, 0.001410, -0.041490, > ^~~~~~~~~ >./cvsdfilt.h:71:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.008312, -0.001381, -0.004648, 0.000362 > ^~~~~~~~~ >./cvsdfilt.h:71:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.008312, -0.001381, -0.004648, 0.000362 > ^~~~~~~~~ >./cvsdfilt.h:71:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.008312, -0.001381, -0.004648, 0.000362 > ^~~~~~~~~ >./cvsdfilt.h:71:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.008312, -0.001381, -0.004648, 0.000362 > ^~~~~~~~ >./cvsdfilt.h:81:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000289, 0.002112, 0.001421, 0.002235, > ^~~~~~~~~ >./cvsdfilt.h:81:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000289, 0.002112, 0.001421, 0.002235, > ^~~~~~~~ >./cvsdfilt.h:81:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000289, 0.002112, 0.001421, 0.002235, > ^~~~~~~~ >./cvsdfilt.h:81:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000289, 0.002112, 0.001421, 0.002235, > ^~~~~~~~ >./cvsdfilt.h:82:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.021003, 0.001237, 0.047132, 0.129636, > ^~~~~~~~ >./cvsdfilt.h:82:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.021003, 0.001237, 0.047132, 0.129636, > ^~~~~~~~ >./cvsdfilt.h:82:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.021003, 0.001237, 0.047132, 0.129636, > ^~~~~~~~ >./cvsdfilt.h:82:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.021003, 0.001237, 0.047132, 0.129636, > ^~~~~~~~ >./cvsdfilt.h:83:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.027328, -0.126462, -0.021456, -0.008069, > ^~~~~~~~~ >./cvsdfilt.h:83:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.027328, -0.126462, -0.021456, -0.008069, > ^~~~~~~~~ >./cvsdfilt.h:83:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.027328, -0.126462, -0.021456, -0.008069, > ^~~~~~~~~ >./cvsdfilt.h:83:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.027328, -0.126462, -0.021456, -0.008069, > ^~~~~~~~~ >./cvsdfilt.h:84:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.017959, 0.000301, -0.002538, -0.001278 > ^~~~~~~~~ >./cvsdfilt.h:84:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.017959, 0.000301, -0.002538, -0.001278 > ^~~~~~~~ >./cvsdfilt.h:84:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.017959, 0.000301, -0.002538, -0.001278 > ^~~~~~~~~ >./cvsdfilt.h:84:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.017959, 0.000301, -0.002538, -0.001278 > ^~~~~~~~~ >./cvsdfilt.h:88:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000010, 0.002787, 0.000055, 0.006813, > ^~~~~~~~~ >./cvsdfilt.h:88:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000010, 0.002787, 0.000055, 0.006813, > ^~~~~~~~ >./cvsdfilt.h:88:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000010, 0.002787, 0.000055, 0.006813, > ^~~~~~~~ >./cvsdfilt.h:88:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.000010, 0.002787, 0.000055, 0.006813, > ^~~~~~~~ >./cvsdfilt.h:89:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.020249, -0.000995, 0.077912, 0.112870, > ^~~~~~~~ >./cvsdfilt.h:89:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.020249, -0.000995, 0.077912, 0.112870, > ^~~~~~~~~ >./cvsdfilt.h:89:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.020249, -0.000995, 0.077912, 0.112870, > ^~~~~~~~ >./cvsdfilt.h:89:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.020249, -0.000995, 0.077912, 0.112870, > ^~~~~~~~ >./cvsdfilt.h:90:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.076980, -0.106971, -0.005096, -0.015449, > ^~~~~~~~~ >./cvsdfilt.h:90:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.076980, -0.106971, -0.005096, -0.015449, > ^~~~~~~~~ >./cvsdfilt.h:90:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.076980, -0.106971, -0.005096, -0.015449, > ^~~~~~~~~ >./cvsdfilt.h:90:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.076980, -0.106971, -0.005096, -0.015449, > ^~~~~~~~~ >./cvsdfilt.h:91:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.012591, 0.000813, -0.003003, -0.000527 > ^~~~~~~~~ >./cvsdfilt.h:91:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.012591, 0.000813, -0.003003, -0.000527 > ^~~~~~~~ >./cvsdfilt.h:91:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.012591, 0.000813, -0.003003, -0.000527 > ^~~~~~~~~ >./cvsdfilt.h:91:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.012591, 0.000813, -0.003003, -0.000527 > ^~~~~~~~~ >./cvsdfilt.h:95:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.000527, 0.003003, -0.000813, 0.012591, > ^~~~~~~~ >./cvsdfilt.h:95:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.000527, 0.003003, -0.000813, 0.012591, > ^~~~~~~~ >./cvsdfilt.h:95:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.000527, 0.003003, -0.000813, 0.012591, > ^~~~~~~~~ >./cvsdfilt.h:95:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.000527, 0.003003, -0.000813, 0.012591, > ^~~~~~~~ >./cvsdfilt.h:96:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.015449, 0.005096, 0.106971, 0.076980, > ^~~~~~~~ >./cvsdfilt.h:96:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.015449, 0.005096, 0.106971, 0.076980, > ^~~~~~~~ >./cvsdfilt.h:96:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.015449, 0.005096, 0.106971, 0.076980, > ^~~~~~~~ >./cvsdfilt.h:96:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.015449, 0.005096, 0.106971, 0.076980, > ^~~~~~~~ >./cvsdfilt.h:97:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.112870, -0.077912, 0.000995, -0.020249, > ^~~~~~~~~ >./cvsdfilt.h:97:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.112870, -0.077912, 0.000995, -0.020249, > ^~~~~~~~~ >./cvsdfilt.h:97:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.112870, -0.077912, 0.000995, -0.020249, > ^~~~~~~~ >./cvsdfilt.h:97:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.112870, -0.077912, 0.000995, -0.020249, > ^~~~~~~~~ >./cvsdfilt.h:98:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.006813, -0.000055, -0.002787, 0.000010 > ^~~~~~~~~ >./cvsdfilt.h:98:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.006813, -0.000055, -0.002787, 0.000010 > ^~~~~~~~~ >./cvsdfilt.h:98:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.006813, -0.000055, -0.002787, 0.000010 > ^~~~~~~~~ >./cvsdfilt.h:98:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.006813, -0.000055, -0.002787, 0.000010 > ^~~~~~~~ >./cvsdfilt.h:102:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001278, 0.002538, -0.000301, 0.017959, > ^~~~~~~~ >./cvsdfilt.h:102:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001278, 0.002538, -0.000301, 0.017959, > ^~~~~~~~ >./cvsdfilt.h:102:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001278, 0.002538, -0.000301, 0.017959, > ^~~~~~~~~ >./cvsdfilt.h:102:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.001278, 0.002538, -0.000301, 0.017959, > ^~~~~~~~ >./cvsdfilt.h:103:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008069, 0.021456, 0.126462, 0.027328, > ^~~~~~~~ >./cvsdfilt.h:103:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008069, 0.021456, 0.126462, 0.027328, > ^~~~~~~~ >./cvsdfilt.h:103:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008069, 0.021456, 0.126462, 0.027328, > ^~~~~~~~ >./cvsdfilt.h:103:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > 0.008069, 0.021456, 0.126462, 0.027328, > ^~~~~~~~ >./cvsdfilt.h:104:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.129636, -0.047132, -0.001237, -0.021003, > ^~~~~~~~~ >./cvsdfilt.h:104:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.129636, -0.047132, -0.001237, -0.021003, > ^~~~~~~~~ >./cvsdfilt.h:104:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.129636, -0.047132, -0.001237, -0.021003, > ^~~~~~~~~ >./cvsdfilt.h:104:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.129636, -0.047132, -0.001237, -0.021003, > ^~~~~~~~~ >./cvsdfilt.h:105:8: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.002235, -0.001421, -0.002112, 0.000289 > ^~~~~~~~~ >./cvsdfilt.h:105:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.002235, -0.001421, -0.002112, 0.000289 > ^~~~~~~~~ >./cvsdfilt.h:105:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.002235, -0.001421, -0.002112, 0.000289 > ^~~~~~~~~ >./cvsdfilt.h:105:57: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > -0.002235, -0.001421, -0.002112, 0.000289 > ^~~~~~~~ >cvsd.c:189:26: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->com.mla_tc0 = exp((-200.0)/((float)(p->cvsd_rate))); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cvsd.c:219:30: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->com.mla_tc1 = 0.1 * (1 - p->com.mla_tc0); > ~ ~~~~^~~~~~~~~~~~~~~~~~~~~~ >cvsd.c:247:30: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->com.mla_tc1 = 0.1 * (1 - p->com.mla_tc0); > ~ ~~~~^~~~~~~~~~~~~~~~~~~~~~ >cvsd.c:348:40: warning: implicit conversion turns floating-point number into integer: 'float' to 'sox_sample_t' (aka 'int') [-Wconversion] > *buf++ = (oval * ((float)SOX_SAMPLE_MAX)); > ~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >cvsd.c:433:28: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] > (((*p)[1]) << 8) | (**p); > ~~~~~~~~~~~~~~~~~^~~~~~~ >cvsd.c:440:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > unsigned val = (((*p)[1]) << 8) | (**p); > ~~~ ~~~~~~~~~~~~~~~~~^~~~~~~ >cvsd.c:442:10: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint16_t' (aka 'unsigned short') [-Wconversion] > return val; > ~~~~~~ ^~~ >197 warnings generated. >--- libsox_la-g721.lo --- > CC libsox_la-g721.lo >--- libsox_la-g723_24.lo --- > CC libsox_la-g723_24.lo >--- libsox_la-g721.lo --- >g721.c:103:9: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sezi = predictor_zero(state_ptr); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:44:24: note: expanded from macro 'predictor_zero' >#define predictor_zero lsx_g72x_predictor_zero > ^ >g721.c:105:42: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > se = (sezi + predictor_pole(state_ptr)) >> 1; /* estimated signal */ > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >g721.c:107:9: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > d = sl - se; /* estimation difference */ > ~ ~~~^~~~ >g721.c:110:6: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > y = step_size(state_ptr); /* quantizer step size */ > ~ ^~~~~~~~~~~~~~~~~~~~ >./g72x.h:47:19: note: expanded from macro 'step_size' >#define step_size lsx_g72x_step_size > ^ >g721.c:111:6: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > i = quantize(d, y, qtab_721, 7); /* i = ADPCM code */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:45:18: note: expanded from macro 'quantize' >#define quantize lsx_g72x_quantize > ^ >g721.c:113:7: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dq = reconstruct(i & 8, _dqlntab[i], y); /* quantized est diff */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:46:21: note: expanded from macro 'reconstruct' >#define reconstruct lsx_g72x_reconstruct > ^ >g721.c:142:9: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sezi = predictor_zero(state_ptr); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:44:24: note: expanded from macro 'predictor_zero' >#define predictor_zero lsx_g72x_predictor_zero > ^ >g721.c:144:13: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sei = sezi + predictor_pole(state_ptr); > ~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >g721.c:147:6: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > y = step_size(state_ptr); /* dynamic quantizer step size */ > ~ ^~~~~~~~~~~~~~~~~~~~ >./g72x.h:47:19: note: expanded from macro 'step_size' >#define step_size lsx_g72x_step_size > ^ >g721.c:149:7: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dq = reconstruct(i & 0x08, _dqlntab[i], y); /* quantized diff. */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:46:21: note: expanded from macro 'reconstruct' >#define reconstruct lsx_g72x_reconstruct > ^ >10 warnings generated. >--- libsox_la-g723_40.lo --- > CC libsox_la-g723_40.lo >--- libsox_la-g723_24.lo --- >g723_24.c:90:9: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sezi = predictor_zero(state_ptr); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:44:24: note: expanded from macro 'predictor_zero' >#define predictor_zero lsx_g72x_predictor_zero > ^ >g723_24.c:92:13: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sei = sezi + predictor_pole(state_ptr); > ~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >g723_24.c:95:9: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > d = sl - se; /* d = estimation diff. */ > ~ ~~~^~~~ >g723_24.c:98:6: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > y = step_size(state_ptr); /* quantizer step size */ > ~ ^~~~~~~~~~~~~~~~~~~~ >./g72x.h:47:19: note: expanded from macro 'step_size' >#define step_size lsx_g72x_step_size > ^ >g723_24.c:99:6: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > i = quantize(d, y, qtab_723_24, 3); /* i = ADPCM code */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:45:18: note: expanded from macro 'quantize' >#define quantize lsx_g72x_quantize > ^ >g723_24.c:100:7: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dq = reconstruct(i & 4, _dqlntab[i], y); /* quantized diff. */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:46:21: note: expanded from macro 'reconstruct' >#define reconstruct lsx_g72x_reconstruct > ^ >g723_24.c:127:9: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sezi = predictor_zero(state_ptr); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:44:24: note: expanded from macro 'predictor_zero' >#define predictor_zero lsx_g72x_predictor_zero > ^ >g723_24.c:129:13: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sei = sezi + predictor_pole(state_ptr); > ~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >g723_24.c:132:6: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > y = step_size(state_ptr); /* adaptive quantizer step size */ > ~ ^~~~~~~~~~~~~~~~~~~~ >./g72x.h:47:19: note: expanded from macro 'step_size' >#define step_size lsx_g72x_step_size > ^ >g723_24.c:133:7: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dq = reconstruct(i & 0x04, _dqlntab[i], y); /* unquantize pred diff */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:46:21: note: expanded from macro 'reconstruct' >#define reconstruct lsx_g72x_reconstruct > ^ >10 warnings generated. >--- libsox_la-g72x.lo --- > CC libsox_la-g72x.lo >--- libsox_la-g723_40.lo --- >g723_40.c:109:9: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sezi = predictor_zero(state_ptr); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:44:24: note: expanded from macro 'predictor_zero' >#define predictor_zero lsx_g72x_predictor_zero > ^ >g723_40.c:111:13: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sei = sezi + predictor_pole(state_ptr); > ~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >g723_40.c:114:9: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > d = sl - se; /* d = estimation difference */ > ~ ~~~^~~~ >g723_40.c:117:6: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > y = step_size(state_ptr); /* adaptive quantizer step size */ > ~ ^~~~~~~~~~~~~~~~~~~~ >./g72x.h:47:19: note: expanded from macro 'step_size' >#define step_size lsx_g72x_step_size > ^ >g723_40.c:118:6: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > i = quantize(d, y, qtab_723_40, 15); /* i = ADPCM code */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:45:18: note: expanded from macro 'quantize' >#define quantize lsx_g72x_quantize > ^ >g723_40.c:120:7: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dq = reconstruct(i & 0x10, _dqlntab[i], y); /* quantized diff */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:46:21: note: expanded from macro 'reconstruct' >#define reconstruct lsx_g72x_reconstruct > ^ >g723_40.c:147:9: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sezi = predictor_zero(state_ptr); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:44:24: note: expanded from macro 'predictor_zero' >#define predictor_zero lsx_g72x_predictor_zero > ^ >g723_40.c:149:13: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > sei = sezi + predictor_pole(state_ptr); > ~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >g723_40.c:152:6: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > y = step_size(state_ptr); /* adaptive quantizer step size */ > ~ ^~~~~~~~~~~~~~~~~~~~ >./g72x.h:47:19: note: expanded from macro 'step_size' >#define step_size lsx_g72x_step_size > ^ >g723_40.c:153:7: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dq = reconstruct(i & 0x10, _dqlntab[i], y); /* estimation diff. */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:46:21: note: expanded from macro 'reconstruct' >#define reconstruct lsx_g72x_reconstruct > ^ >10 warnings generated. >--- libsox_la-vox.lo --- > CC libsox_la-vox.lo >--- libsox_la-g72x.lo --- >g72x.c:82:36: warning: operand of ? changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > r = (t = tt >> 8) ? 24 + LogTable256[t] : 16 + LogTable256[tt]; > ~ ~~~^~~~~~~~~~~~~~~~ >g72x.c:82:58: warning: operand of ? changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > r = (t = tt >> 8) ? 24 + LogTable256[t] : 16 + LogTable256[tt]; > ~ ~~~^~~~~~~~~~~~~~~~~ >g72x.c:86:34: warning: operand of ? changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > r = (t = v >> 8) ? 8 + LogTable256[t] : LogTable256[v]; > ~ ~~^~~~~~~~~~~~~~~~ >g72x.c:86:53: warning: operand of ? changes signedness: 'const char' to 'unsigned int' [-Wsign-conversion] > r = (t = v >> 8) ? 8 + LogTable256[t] : LogTable256[v]; > ~ ^~~~~~~~~~~~~~ >g72x.c:89:18: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > return r + 1; > ~~~~~~ ~~^~~ >g72x.c:122:28: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > anmag = (an > 0) ? an : ((-an) & 0x1FFF); > ~ ^~ >g72x.c:123:34: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > anexp = log2plus1(anmag) - 6; > ~ ~~~~~~~~~~~~~~~~~^~~ >g72x.c:125:51: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > (anexp >= 0) ? anmag >> anexp : anmag << -anexp; > ~~~~~~^~~~~~~~~ >g72x.c:205:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] > y = state_ptr->yl >> 6; > ~ ~~~~~~~~~~~~~~^~~~ >g72x.c:239:15: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dqm = abs(d); > ~ ^~~~~~ >g72x.c:240:15: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > exp = log2plus1(dqm >> 1); > ~ ^~~~~~~~~~~~~~~~~~~ >g72x.c:242:25: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dl = (exp << 7) + mant; > ~ ~~~~~~~~~~~^~~~~~ >g72x.c:249:18: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dln = dl - (y >> 2); > ~ ~~~^~~~~~~~~~ >g72x.c:278:20: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dql = dqln + (y >> 2); /* ADDA */ > ~ ~~~~~^~~~~~~~~~ >g72x.c:285:33: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dq = (dqt << 7) >> (14 - dex); > ~ ~~~~~~~~~~~^~~~~~~~~~~~~ >g72x.c:314:31: warning: implicit conversion loses integer precision: 'long' to 'short' [-Wconversion] > ylint = state_ptr->yl >> 15; /* exponent part of yl */ > ~ ~~~~~~~~~~~~~~^~~~~ >g72x.c:316:30: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > thr1 = (32 + ylfrac) << ylint; /* threshold */ > ~ ~~~~~~~~~~~~~~^~~~~~~~ >g72x.c:332:27: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > state_ptr->yu = y + ((wi - y) >> 5); > ~ ~~^~~~~~~~~~~~~~~~~ >g72x.c:430:23: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > exp = log2plus1(mag); > ~ ^~~~~~~~~~~~~~ >g72x.c:432:32: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > (exp << 6) + ((mag << 6) >> exp) : > ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >g72x.c:433:54: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > (exp << 6) + ((mag << 6) >> exp) - 0x400; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ >g72x.c:441:23: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > exp = log2plus1(sr); > ~ ^~~~~~~~~~~~~ >g72x.c:442:47: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > state_ptr->sr[0] = (exp << 6) + ((sr << 6) >> exp); > ~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ >g72x.c:444:23: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > mag = -sr; > ~ ^~~ >g72x.c:445:23: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > exp = log2plus1(mag); > ~ ^~~~~~~~~~~~~~ >g72x.c:446:70: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > state_ptr->sr[0] = (exp << 6) + ((mag << 6) >> exp) - 0x400; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ >g72x.c:511:43: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dx = (sox_alaw2linear16(sp) >> 2) - se; /* 16-bit prediction error */ > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >g72x.c:512:14: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] > id = quantize(dx, y, qtab, sign - 1); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:45:18: note: expanded from macro 'quantize' >#define quantize lsx_g72x_quantize > ^ >g72x.c:553:43: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > dx = (sox_ulaw2linear16(sp) >> 2) - se; /* 16-bit prediction error */ > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >g72x.c:554:14: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] > id = quantize(dx, y, qtab, sign - 1); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./g72x.h:45:18: note: expanded from macro 'quantize' >#define quantize lsx_g72x_quantize > ^ >30 warnings generated. >--- libsox_la-raw.lo --- > CC libsox_la-raw.lo >--- libsox_la-formats.lo --- > CC libsox_la-formats.lo >--- libsox_la-raw.lo --- >raw.c:123:56: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] >WRITE_SAMPLES_FUNC(f, sizeof(float), su, float, float, SOX_SAMPLE_TO_FLOAT_32BIT) >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ >raw.c:106:17: note: expanded from macro 'WRITE_SAMPLES_FUNC' > data[n] = cast(buf[n], ft->clips); \ > ^ >./sox.h:981:105: note: expanded from macro 'SOX_SAMPLE_TO_FLOAT_32BIT' >#define SOX_SAMPLE_TO_FLOAT_32BIT(d,clips) (LSX_USE_VAR(sox_macro_temp_double),sox_macro_temp_sample=(d),sox_macro_temp_sample>SOX_SAMPLE_MAX-64?++(clips),1:(((sox_macro_temp_sample+64)&~127)*(1./(SOX_SAMPLE_MAX+1.)))) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >--- libsox_la-formats.lo --- >formats.c:237:24: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > size_t len = end - comment; > ~~~ ~~~~^~~~~~~~~ >formats.c:302:72: warning: implicit conversion from enumeration type 'enum sox_bool' to different enumeration type 'sox_option_t' (aka 'enum sox_option_t') [-Wenum-conversion] > !(ft->handler.flags & SOX_FILE_ENDBIG) != MACHINE_IS_BIGENDIAN : sox_true; > ^~~~~~~~ >formats.c:305:72: warning: implicit conversion from enumeration type 'enum sox_bool' to different enumeration type 'sox_option_t' (aka 'enum sox_option_t') [-Wenum-conversion] > !(ft->handler.flags & SOX_FILE_ENDBIG) == MACHINE_IS_BIGENDIAN : sox_false; > ^~~~~~~~~ >formats.c:905:46: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_uint64_t' (aka 'unsigned long') [-Wconversion] > ft->signal.channels / signal->channels + .5; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >formats.c:1101:21: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] > text[i++] = c; > ~ ^ >formats.c:1118:48: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > begin = strchr(text + 5, '=') - text + 1; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ >formats.c:1209:61: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > if (ltptr.fn && (ltptr.fn()->sox_lib_version_code & ~255) == > ~ ^~~~ >--- libsox_la-raw.lo --- >1 warning generated. >--- libsox_la-formats.lo --- >7 warnings generated. >--- libsox_la-formats_i.lo --- > CC libsox_la-formats_i.lo >formats_i.c:61:22: warning: implicit conversion changes signedness: 'off_t' (aka 'long') to 'sox_uint64_t' (aka 'unsigned long') [-Wsign-conversion] > ft->data_start = lsx_tell(ft); > ~ ^~~~~~~~~~~~ >formats_i.c:221:14: warning: implicit conversion turns floating-point number into integer: 'double' to 'off_t' (aka 'long') [-Wconversion] > off_t to = to_d; > ~~ ^~~~ >formats_i.c:281:16: warning: implicit conversion changes signedness: 'uint8_t' (aka 'unsigned char') to 'char' [-Wsign-conversion] > char tmp = bytes[i]; > ~~~ ^~~~~~~~ >formats_i.c:283:26: warning: implicit conversion changes signedness: 'char' to 'uint8_t' (aka 'unsigned char') [-Wsign-conversion] > bytes[len - 1 - i] = tmp; > ~ ^~~ >formats_i.c:375:26: warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wconversion] >READ_FUNC(b, 1, uint8_t, TWIDDLE_BYTE) > ^ >formats_i.c:351:7: note: expanded from macro 'READ_FUNC' > twiddle(buf[n], type); \ > ^ >formats_i.c:331:29: note: expanded from macro 'TWIDDLE_BYTE' > ub = ((ub & 15) << 4) | (ub >> 4); \ > ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ >formats_i.c:377:1: warning: operand of ? changes signedness: 'int' to 'sox_uint24_t' (aka 'unsigned int') [-Wsign-conversion] >READ_FUNC_UNPACK(3, 3, sox_uint24_t, TWIDDLE_WORD) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >formats_i.c:370:16: note: expanded from macro 'READ_FUNC_UNPACK' > buf[n] = sox_unpack ## size(data + n * size); \ > ~ ^ ><scratch space>:178:1: note: expanded from here >sox_unpack3 >^ >formats_i.c:357:27: note: expanded from macro 'sox_unpack3' > ((p)[0] | ((p)[1] << 8) | ((p)[2] << 16)) : \ > ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >formats_i.c:377:1: warning: operand of ? changes signedness: 'int' to 'sox_uint24_t' (aka 'unsigned int') [-Wsign-conversion] >READ_FUNC_UNPACK(3, 3, sox_uint24_t, TWIDDLE_WORD) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >formats_i.c:370:16: note: expanded from macro 'READ_FUNC_UNPACK' > buf[n] = sox_unpack ## size(data + n * size); \ > ~ ^ ><scratch space>:178:1: note: expanded from here >sox_unpack3 >^ >formats_i.c:358:27: note: expanded from macro 'sox_unpack3' > ((p)[2] | ((p)[1] << 8) | ((p)[0] << 16))) > ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >formats_i.c:446:27: warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wconversion] >WRITE_FUNC(b, 1, uint8_t, TWIDDLE_BYTE) > ^ >formats_i.c:420:7: note: expanded from macro 'WRITE_FUNC' > twiddle(buf[n], type); \ > ^ >formats_i.c:331:29: note: expanded from macro 'TWIDDLE_BYTE' > ub = ((ub & 15) << 4) | (ub >> 4); \ > ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ >formats_i.c:483:13: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > float f = datum; > ~ ^~~~~ >9 warnings generated. >--- libsox_la-skelform.lo --- > CC libsox_la-skelform.lo >--- libsox_la-xmalloc.lo --- > CC libsox_la-xmalloc.lo >--- libsox_la-getopt.lo --- > CC libsox_la-getopt.lo >--- libsox_la-util.lo --- > CC libsox_la-util.lo >--- libsox_la-getopt.lo --- >getopt.c:209:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] > state->lngind = pMatch - state->longopts; > ~ ~~~~~~~^~~~~~~~~~~~~~~~~ >1 warning generated. >--- libsox_la-libsox.lo --- > CC libsox_la-libsox.lo >--- libsox_la-util.lo --- >util.c:113:13: warning: implicit conversion changes signedness: 'const unsigned int' to 'int' [-Wsign-conversion] > return p->value; > ~~~~~~ ~~~^~~~~ >1 warning generated. >--- libsox_la-libsox_i.lo --- >--- libsox_la-libsox.lo --- >libsox.c:186:19: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > len = dot_pos - base_name; > ~ ~~~~~~~~^~~~~~~~~~~ >--- libsox_la-libsox_i.lo --- > CC libsox_la-libsox_i.lo >--- libsox_la-libsox.lo --- >1 warning generated. >--- libsox_la-sox-fmt.lo --- > CC libsox_la-sox-fmt.lo >--- libsox_la-bend.lo --- > CC libsox_la-bend.lo >--- libsox_la-biquad.lo --- > CC libsox_la-biquad.lo >--- libsox_la-bend.lo --- >bend.c:127:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'f', frame_rate, 10 , 80) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >bend.c:128:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'o', ovsamp, 4 , 32) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >bend.c:133:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > p->nbends = argc; > ~ ^~~~ >bend.c:143:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int n = effp->in_signal.rate / p->frame_rate + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >bend.c:163:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > float pitchShift = p->shift; > ~~~~~~~~~~ ~~~^~~~~ >bend.c:180:29: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->gInFIFO[p->gRover] = SOX_SAMPLE_TO_FLOAT_32BIT(ibuf[i], effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:981:105: note: expanded from macro 'SOX_SAMPLE_TO_FLOAT_32BIT' >#define SOX_SAMPLE_TO_FLOAT_32BIT(d,clips) (LSX_USE_VAR(sox_macro_temp_double),sox_macro_temp_sample=(d),sox_macro_temp_sample>SOX_SAMPLE_MAX-64?++(clips),1:(((sox_macro_temp_sample+64)&~127)*(1./(SOX_SAMPLE_MAX+1.)))) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bend.c:189:31: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > pitchShift = p->shift *= pow(2., p->bends[p->bends_pos].cents / 1200); > ~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bend.c:197:31: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > pitchShift = p->shift * pow(2., progress); > ~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >bend.c:224:28: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->gLastPhase[k] = phase; > ~ ^~~~~ >bend.c:229:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'long' [-Wconversion] > qpd = tmp / M_PI; > ~ ~~~~^~~~~~ >bend.c:242:26: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->gAnaMagn[k] = magn; > ~ ^~~~ >bend.c:243:26: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->gAnaFreq[k] = tmp; > ~ ^~~ >bend.c:248:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memset(p->gSynMagn, 0, p->fftFrameSize * sizeof(float)); > ~~~^~~~~~~~~~~~ ~ >bend.c:249:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memset(p->gSynFreq, 0, p->fftFrameSize * sizeof(float)); > ~~~^~~~~~~~~~~~ ~ >bend.c:251:19: warning: implicit conversion turns floating-point number into integer: 'float' to 'long' [-Wconversion] > index = k * pitchShift; > ~ ~~^~~~~~~~~~~~ >bend.c:288:42: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->gOutputAccum + stepSize, p->fftFrameSize * sizeof(float)); > ~~~^~~~~~~~~~~~ ~ >16 warnings generated. >--- libsox_la-biquad.lo --- >biquad.c:50:55: warning: implicit conversion loses integer precision: 'long' to 'width_t' [-Wshorten-64-to-32] > p->width_type = strchr(all_width_types, width_type) - all_width_types; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >biquad.c:154:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(o0, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >biquad.c:154:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(o0, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >3 warnings generated. >--- libsox_la-biquads.lo --- > CC libsox_la-biquads.lo >--- libsox_la-chorus.lo --- > CC libsox_la-chorus.lo >chorus.c:200:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'long' [-Wconversion] > chorus->length[i] = effp->in_signal.rate / chorus->speed[i]; > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ >chorus.c:201:67: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] > chorus->lookup_tab[i] = lsx_malloc(sizeof (int) * chorus->length[i]); > ~ ^~~~~~~~~~~~~~~~~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >chorus.c:225:65: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > chorus->chorusbuf = lsx_malloc(sizeof (float) * chorus->maxsamples); > ~ ~~~~~~~~^~~~~~~~~~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >chorus.c:230:36: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > chorus->fade_out = chorus->maxsamples; > ~ ~~~~~~~~^~~~~~~~~~ >4 warnings generated. >--- libsox_la-compand.lo --- > CC libsox_la-compand.lo >--- libsox_la-compandt.lo --- > CC libsox_la-compandt.lo >--- libsox_la-compand.lo --- >compand.c:160:56: warning: implicit conversion turns floating-point number into integer: 'double' to 'ptrdiff_t' (aka 'long') [-Wconversion] > l->delay_buf_size = l->delay * effp->out_signal.rate * effp->out_signal.channels; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >compand.c:190:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > int filechans = effp->out_signal.channels; > ~~~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~ >compand.c:222:25: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > obuf[odone++] = checkbuf; > ~ ^~~~~~~~ >compand.c:229:25: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > obuf[odone] = checkbuf; > ~ ^~~~~~~~ >compand.c:242:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > *isamp = idone; *osamp = odone; > ~ ^~~~~ >compand.c:242:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > *isamp = idone; *osamp = odone; > ~ ^~~~~ >compand.c:189:34: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > int len = (*isamp > *osamp) ? *osamp : *isamp; > ~~~ ^~~~~~ >compand.c:189:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > int len = (*isamp > *osamp) ? *osamp : *isamp; > ~~~ ^~~~~~ >compand.c:258:57: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > obuf[done++] = l->delay_buf[l->delay_buf_index++] * level_out_lin; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ >compand.c:255:41: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > int c = l->expectedChannels > 1 ? chan : 0; > ~ ^~~~ >10 warnings generated. >--- libsox_la-contrast.lo --- > CC libsox_la-contrast.lo >--- libsox_la-dcshift.lo --- > CC libsox_la-dcshift.lo >--- libsox_la-contrast.lo --- >contrast.c:39:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = sin(d + p->contrast * sin(d * 4)) * SOX_SAMPLE_MAX; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >1 warning generated. >--- libsox_la-dcshift.lo --- >dcshift.c:122:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = sample; > ~ ^~~~~~ >dcshift.c:127:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(d, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >dcshift.c:127:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(d, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >3 warnings generated. >--- libsox_la-delay.lo --- >--- libsox_la-dft_filter.lo --- >--- libsox_la-delay.lo --- > CC libsox_la-delay.lo >--- libsox_la-dft_filter.lo --- > CC libsox_la-dft_filter.lo >--- libsox_la-delay.lo --- >delay.c:49:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > p->argc = argc; > ~ ^~~~ >--- libsox_la-dft_filter.lo --- >In file included from dft_filter.c:20: >In file included from ./dft_filter.h:3: >./fifo.h:50:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > if (f->end + n <= f->allocation) { > ~ ^ >./fifo.h:53:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end += n; > ~~ ^ >./fifo.h:62:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->allocation += n; > ~~ ^ >./fifo.h:71:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(s, data, n * f->item_size); > ^ ~ >./fifo.h:78:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end = f->begin + n; > ~ ^ >./fifo.h:84:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end -= n; > ~~ ^ >./fifo.h:89:30: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > return (f->end - f->begin) / f->item_size; > ~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ >./fifo.h:100:15: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->begin += n; > ~~ ^ >./fifo.h:113:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > f->item_size = item_size; > ~ ^~~~~~~~~ >dft_filter.c:32:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->coefs = lsx_calloc(f->dft_length, sizeof(*f->coefs)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:28: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >dft_filter.c:32:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->coefs = lsx_calloc(f->dft_length, sizeof(*f->coefs)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:56: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >dft_filter.c:32:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->coefs = lsx_calloc(f->dft_length, sizeof(*f->coefs)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:67: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >dft_filter.c:45:71: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->filter_ptr->post_peak), 0, sizeof(double) * p->filter_ptr->post_peak); > ~ ~~~~~~~~~~~~~~~^~~~~~~~~ >dft_filter.c:64:30: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] > memcpy(output, input, f->dft_length * sizeof(*output)); > ~~~^~~~~~~~~~ ~ >--- libsox_la-delay.lo --- >1 warning generated. >--- libsox_la-dft_filter.lo --- >14 warnings generated. >--- libsox_la-dither.lo --- > CC libsox_la-dither.lo >--- libsox_la-divide.lo --- > CC libsox_la-divide.lo >--- libsox_la-dither.lo --- >In file included from dither.c:272: >./dither.h:16:14: warning: implicit conversion changes signedness: 'const sox_sample_t' (aka 'const int') to 'unsigned int' [-Wsign-conversion] > !!(*ibuf & (((unsigned)-1) >> p->prec)); > ^~~~~ ~ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:268:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./dither.h:2:63: note: expanded from macro '_' >#define _ output += p->coefs[j] * p->previous_errors[p->pos + j] \ > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:268:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./dither.h:3:68: note: expanded from macro '_' > - p->coefs[N + j] * p->previous_outputs[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:268:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./dither.h:2:63: note: expanded from macro '_' >#define _ output += p->coefs[j] * p->previous_errors[p->pos + j] \ > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:268:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./dither.h:3:68: note: expanded from macro '_' > - p->coefs[N + j] * p->previous_outputs[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:268:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./dither.h:2:63: note: expanded from macro '_' >#define _ output += p->coefs[j] * p->previous_errors[p->pos + j] \ > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:268:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./dither.h:3:68: note: expanded from macro '_' > - p->coefs[N + j] * p->previous_outputs[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >--- libsox_la-divide.lo --- >divide.c:50:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > p->last[i] = *obuf++ = SOX_ROUND_CLIP_COUNT(out, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >divide.c:50:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > p->last[i] = *obuf++ = SOX_ROUND_CLIP_COUNT(out, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >--- libsox_la-dither.lo --- >dither.c:268:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./dither.h:2:63: note: expanded from macro '_' >#define _ output += p->coefs[j] * p->previous_errors[p->pos + j] \ > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:268:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./dither.h:3:68: note: expanded from macro '_' > - p->coefs[N + j] * p->previous_outputs[p->pos + j], ++j; > ~ ^ >./dither.h:44:22: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:44:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:50:53: warning: implicit conversion changes signedness: 'unsigned int' to 'sox_sample_t' (aka 'int') [-Wsign-conversion] > ++effp->clips, *obuf = SOX_INT_MAX(p->prec) << (32 - p->prec); > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >In file included from dither.c:277: >./dither.h:16:14: warning: implicit conversion changes signedness: 'const sox_sample_t' (aka 'const int') to 'unsigned int' [-Wsign-conversion] > !!(*ibuf & (((unsigned)-1) >> p->prec)); > ^~~~~ ~ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:274:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >--- libsox_la-divide.lo --- >2 warnings generated. >--- libsox_la-dither.lo --- >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:274:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:274:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:274:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:274:26: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:44:22: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:44:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:50:53: warning: implicit conversion changes signedness: 'unsigned int' to 'sox_sample_t' (aka 'int') [-Wsign-conversion] > ++effp->clips, *obuf = SOX_INT_MAX(p->prec) << (32 - p->prec); > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >In file included from dither.c:281: >./dither.h:16:14: warning: implicit conversion changes signedness: 'const sox_sample_t' (aka 'const int') to 'unsigned int' [-Wsign-conversion] > !!(*ibuf & (((unsigned)-1) >> p->prec)); > ^~~~~ ~ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:278:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:278:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:278:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:278:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:278:26: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:278:28: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:278:30: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:278:32: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:278:34: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:44:22: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:44:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:50:53: warning: implicit conversion changes signedness: 'unsigned int' to 'sox_sample_t' (aka 'int') [-Wsign-conversion] > ++effp->clips, *obuf = SOX_INT_MAX(p->prec) << (32 - p->prec); > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >In file included from dither.c:285: >./dither.h:16:14: warning: implicit conversion changes signedness: 'const sox_sample_t' (aka 'const int') to 'unsigned int' [-Wsign-conversion] > !!(*ibuf & (((unsigned)-1) >> p->prec)); > ^~~~~ ~ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:26: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:28: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:30: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:32: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:34: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:36: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:38: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:40: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:42: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:44: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:282:46: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:44:22: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:44:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:50:53: warning: implicit conversion changes signedness: 'unsigned int' to 'sox_sample_t' (aka 'int') [-Wsign-conversion] > ++effp->clips, *obuf = SOX_INT_MAX(p->prec) << (32 - p->prec); > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >In file included from dither.c:289: >./dither.h:16:14: warning: implicit conversion changes signedness: 'const sox_sample_t' (aka 'const int') to 'unsigned int' [-Wsign-conversion] > !!(*ibuf & (((unsigned)-1) >> p->prec)); > ^~~~~ ~ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:26: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:28: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:30: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:32: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:34: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:36: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:38: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:40: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:42: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:44: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:46: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:286:48: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:44:22: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:44:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:50:53: warning: implicit conversion changes signedness: 'unsigned int' to 'sox_sample_t' (aka 'int') [-Wsign-conversion] > ++effp->clips, *obuf = SOX_INT_MAX(p->prec) << (32 - p->prec); > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >In file included from dither.c:293: >./dither.h:16:14: warning: implicit conversion changes signedness: 'const sox_sample_t' (aka 'const int') to 'unsigned int' [-Wsign-conversion] > !!(*ibuf & (((unsigned)-1) >> p->prec)); > ^~~~~ ~ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:26: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:28: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:30: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:32: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:34: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:36: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:38: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:40: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:42: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:44: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:46: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:48: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:50: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:52: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:54: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:36:7: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >dither.c:290:56: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ^ >./dither.h:5:58: note: expanded from macro '_' >#define _ d -= p->coefs[j] * p->previous_errors[p->pos + j], ++j; > ~ ^ >./dither.h:44:22: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:44:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = d1 < 0? d1 - .5 : d1 + .5; > ~ ~~~^~~~ >./dither.h:50:53: warning: implicit conversion changes signedness: 'unsigned int' to 'sox_sample_t' (aka 'int') [-Wsign-conversion] > ++effp->clips, *obuf = SOX_INT_MAX(p->prec) << (32 - p->prec); > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >dither.c:304:14: warning: implicit conversion changes signedness: 'const sox_sample_t' (aka 'const int') to 'unsigned int' [-Wsign-conversion] > !!(*ibuf & (((unsigned)-1) >> p->prec)); > ^~~~~ ~ >dither.c:317:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i = d < 0? d - .5 : d + .5; > ~ ~~^~~~ >dither.c:317:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i = d < 0? d - .5 : d + .5; > ~ ~~^~~~ >dither.c:322:53: warning: implicit conversion changes signedness: 'unsigned int' to 'sox_sample_t' (aka 'int') [-Wsign-conversion] > ++effp->clips, *obuf = SOX_INT_MAX(p->prec) << (32 - p->prec); > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >dither.c:345:24: warning: implicit conversion changes signedness: 'int' to 'filter_name_t' [-Wsign-conversion] > p->filter_name = lsx_enum_option(c, optstate.arg, filter_names); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dither.c:346:26: warning: comparison of constant 2147483647 with expression of type 'filter_name_t' is always false [-Wtautological-constant-out-of-range-compare] > if (p->filter_name == INT_MAX) > ~~~~~~~~~~~~~~ ^ ~~~~~~~ >dither.c:349:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > GETOPT_NUMERIC(optstate, 'p', prec, 1, 24) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >dither.c:407:15: warning: implicit conversion changes signedness: 'sox_int32_t' (aka 'int') to 'unsigned long' [-Wsign-conversion] > p->ranqd1 = ranqd1(sox_globals.ranqd1) + effp->flow; > ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ >./util.h:220:24: note: expanded from macro 'ranqd1' >#define ranqd1(x) ((x) = 1664525L * (x) + 1013904223L) /* int32_t x */ > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dither.c:376:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] > effp->out_signal.precision = p->prec; > ~ ~~~^~~~ >dither.c:407:42: warning: implicit conversion loses integer precision: 'unsigned long' to 'int32_t' (aka 'int') [-Wshorten-64-to-32] > p->ranqd1 = ranqd1(sox_globals.ranqd1) + effp->flow; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ >--- libsox_la-downsample.lo --- > CC libsox_la-downsample.lo >--- libsox_la-dither.lo --- >107 warnings generated. >--- libsox_la-downsample.lo --- >downsample.c:36:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > NUMERIC_PARAMETER(factor, 1, 16384) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:269:15: note: expanded from macro 'NUMERIC_PARAMETER' > p->name = d; \ > ~ ^ >downsample.c:71:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] > p->carry = p->factor - ilen; > ~ ~~~~~~~~~~^~~~~~ >2 warnings generated. >--- libsox_la-earwax.lo --- >--- libsox_la-echo.lo --- >--- libsox_la-earwax.lo --- > CC libsox_la-earwax.lo >--- libsox_la-echo.lo --- >CC libsox_la-echo.lo >--- libsox_la-earwax.lo --- >earwax.c:85:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(output, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >earwax.c:85:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(output, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >2 warnings generated. >--- libsox_la-echo.lo --- >echo.c:123:74: warning: implicit conversion turns floating-point number into integer: 'double' to 'ptrdiff_t' (aka 'long') [-Wconversion] > echo->samples[i] = echo->delay[i] * effp->in_signal.rate / 1000.0; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ >echo.c:148:62: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion] > echo->delay_buf = lsx_malloc(sizeof (double) * echo->maxsamples); > ~ ~~~~~~^~~~~~~~~~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >echo.c:158:32: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > echo->fade_out = echo->maxsamples; > ~ ~~~~~~^~~~~~~~~~ >3 warnings generated. >--- libsox_la-echos.lo --- > CC libsox_la-echos.lo >--- libsox_la-effects.lo --- > CC libsox_la-effects.lo >--- libsox_la-echos.lo --- >echos.c:121:76: warning: implicit conversion turns floating-point number into integer: 'double' to 'ptrdiff_t' (aka 'long') [-Wconversion] > echos->samples[i] = echos->delay[i] * effp->in_signal.rate / 1000.0; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ >echos.c:144:44: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'ptrdiff_t' (aka 'long') [-Wsign-conversion] > echos->pointer[i] = echos->sumsamples; > ~ ~~~~~~~^~~~~~~~~~ >echos.c:145:38: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion] > echos->sumsamples += echos->samples[i]; > ~~ ^~~~~~~~~~~~~~~~~ >--- libsox_la-effects.lo --- >effects.c:81:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > char * * argv2 = lsx_malloc((argc + 1) * sizeof(*argv2)); > ~~~~~^~~ ~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >effects.c:83:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(argv2 + 1, argv, argc * sizeof(*argv2)); > ^~~~ ~ >effects.c:181:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_uint64_t' (aka 'unsigned long') [-Wconversion] > effp->out_signal.length / in->rate * effp->out_signal.rate + .5; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >--- libsox_la-echos.lo --- >3 warnings generated. >--- libsox_la-effects_i.lo --- > CC libsox_la-effects_i.lo >--- libsox_la-effects.lo --- >3 warnings generated. >--- libsox_la-effects_i.lo --- >effects_i.c:70:57: warning: implicit conversion turns floating-point number into integer: 'double' to 'uint32_t' (aka 'unsigned int') [-Wconversion] > uint32_t phase_offset = phase / M_PI / 2 * table_size + 0.5; > ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ >effects_i.c:223:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'uint64_t' (aka 'unsigned long') [-Wconversion] > samples_part = part + .5; > ~ ~~~~~^~~~ >effects_i.c:345:12: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] > anchor = def; > ~ ^~~ >--- libsox_la-effects_i_dsp.lo --- >--- libsox_la-effects_i.lo --- >effects_i.c:396:16: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i, m = floor(note); > ~ ^~~~~~~~~~~ >--- libsox_la-effects_i_dsp.lo --- >CC libsox_la-effects_i_dsp.lo >--- libsox_la-effects_i.lo --- >4 warnings generated. >--- libsox_la-effects_i_dsp.lo --- >effects_i_dsp.c:95:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > double p, qn, sig, un, * u = lsx_malloc((n - 1) * sizeof(*u)); > ~~^~~ ~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >--- libsox_la-fade.lo --- > CC libsox_la-fade.lo >--- libsox_la-effects_i_dsp.lo --- >effects_i_dsp.c:153:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > int min = sox_globals.log2_dft_min_size; > ~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >effects_i_dsp.c:198:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > lsx_fft_sc = lsx_realloc(lsx_fft_sc, dft_sc_len(fft_len) * sizeof(*lsx_fft_sc)); > ^~~~~~~~~~~~~~~~~~~ ~ >./fft4g.h:31:26: note: expanded from macro 'dft_sc_len' >#define dft_sc_len(l) (l / 2) > ~~^~~ >effects_i_dsp.c:233:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > double * work = lsx_memdup(in, n * sizeof(*work)); > ^ ~ >./xmalloc.h:30:49: note: expanded from macro 'lsx_memdup' >#define lsx_memdup(p,s) ((p)? memcpy(lsx_malloc(s), p, s) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >effects_i_dsp.c:233:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > double * work = lsx_memdup(in, n * sizeof(*work)); > ^ ~ >./xmalloc.h:30:56: note: expanded from macro 'lsx_memdup' >#define lsx_memdup(p,s) ((p)? memcpy(lsx_malloc(s), p, s) : NULL) > ^ >effects_i_dsp.c:245:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > double * work = lsx_malloc(n * sizeof(*work)); > ^ ~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >effects_i_dsp.c:248:12: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > out[0] = sqr(work[0]); > ~ ^~~~~~~~~~~~ >./util.h:216:21: note: expanded from macro 'sqr' >#define sqr(a) ((a) * (a)) > ~~~~^~~~~ >effects_i_dsp.c:250:32: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > out[i >> 1] = sqr(work[i]) + sqr(work[i + 1]); > ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ >effects_i_dsp.c:251:17: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > out[i >> 1] = sqr(work[1]); > ~ ^~~~~~~~~~~~ >./util.h:216:21: note: expanded from macro 'sqr' >#define sqr(a) ((a) * (a)) > ~~~~^~~~~ >effects_i_dsp.c:360:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > double * h = malloc(num_taps * sizeof(*h)), sum = 0; > ^~~~~~~~ ~ >effects_i_dsp.c:381:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > *num_taps = !*num_taps? ceil(att/tr_bw + 1) : *num_taps; > ~ ^~~~~~~~~~~~~~~~~~~ >effects_i_dsp.c:430:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(work, *h, *len * sizeof(*work)); > ^~~~ ~ >effects_i_dsp.c:494:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > begin = (.997 - (2 - phase1) * .22) * *len + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >effects_i_dsp.c:495:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > end = (.997 + (0 - phase1) * .22) * *len + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >effects_i_dsp.c:499:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > *h = lsx_realloc(*h, *len * sizeof(**h)); > ^~~~ ~ >effects_i_dsp.c:515:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > double * h1 = lsx_calloc(N, sizeof(*h1)); > ~~~~~~~~~~~^~~~~~~~~~~~~~~ >./xmalloc.h:27:28: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >effects_i_dsp.c:515:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > double * h1 = lsx_calloc(N, sizeof(*h1)); > ~~~~~~~~~~~^~~~~~~~~~~~~~~ >./xmalloc.h:27:56: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >effects_i_dsp.c:515:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > double * h1 = lsx_calloc(N, sizeof(*h1)); > ~~~~~~~~~~~^~~~~~~~~~~~~~~ >./xmalloc.h:27:67: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >effects_i_dsp.c:516:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > double * H = lsx_malloc((N / 2 + 1) * sizeof(*H)); > ~~~~~~^~~ ~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >effects_i_dsp.c:517:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(h1, h, sizeof(*h1) * num_points); > ~ ^~~~~~~~~~ >effects_i_dsp.c:583:14: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas] >#pragma STDC FENV_ACCESS ON > ^ >effects_i_dsp.c:603:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > for (i = 0; i < (n & ~7);) { > ~ ^~ >--- libsox_la-fade.lo --- >fade.c:231:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf = t_ibuf * > ~ ~~~~~~~^ >fade.c:242:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf = t_ibuf * > ~ ~~~~~~~^ >fade.c:216:32: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > len = ((*isamp > *osamp) ? *osamp : *isamp); > ~ ^~~~~~ >fade.c:216:41: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > len = ((*isamp > *osamp) ? *osamp : *isamp); > ~ ^~~~~~ >fade.c:295:12: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > len -= len % effp->in_signal.channels; > ^~~ ~ >fade.c:294:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > len = *osamp; > ~ ^~~~~~ >--- libsox_la-effects_i_dsp.lo --- >22 warnings generated. >--- libsox_la-fade.lo --- >6 warnings generated. >--- libsox_la-fft4g.lo --- > CC libsox_la-fft4g.lo >--- libsox_la-fir.lo --- > CC libsox_la-fir.lo >In file included from fir.c:19: >In file included from ./dft_filter.h:3: >./fifo.h:50:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > if (f->end + n <= f->allocation) { > ~ ^ >./fifo.h:53:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end += n; > ~~ ^ >./fifo.h:62:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->allocation += n; > ~~ ^ >./fifo.h:71:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(s, data, n * f->item_size); > ^ ~ >./fifo.h:78:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end = f->begin + n; > ~ ^ >./fifo.h:84:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end -= n; > ~~ ^ >./fifo.h:89:30: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > return (f->end - f->begin) / f->item_size; > ~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ >./fifo.h:100:15: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->begin += n; > ~~ ^ >./fifo.h:113:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > f->item_size = item_size; > ~ ^~~~~~~~~ >fir.c:43:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->h = lsx_realloc(p->h, p->n * sizeof(*p->h)); > ~~~^ ~ >fir.c:67:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->h = lsx_realloc(p->h, p->n * sizeof(*p->h)); > ~~~^ ~ >11 warnings generated. >--- libsox_la-firfit.lo --- > CC libsox_la-firfit.lo >In file included from firfit.c:24: >In file included from ./dft_filter.h:3: >./fifo.h:50:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > if (f->end + n <= f->allocation) { > ~ ^ >./fifo.h:53:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end += n; > ~~ ^ >./fifo.h:62:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->allocation += n; > ~~ ^ >./fifo.h:71:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(s, data, n * f->item_size); > ^ ~ >./fifo.h:78:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end = f->begin + n; > ~ ^ >./fifo.h:84:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end -= n; > ~~ ^ >./fifo.h:89:30: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > return (f->end - f->begin) / f->item_size; > ~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ >./fifo.h:100:15: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->begin += n; > ~~ ^ >./fifo.h:113:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > f->item_size = item_size; > ~ ^~~~~~~~~ >firfit.c:52:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > lsx_valloc(log_freqs , p->num_knots); > ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ >./xmalloc.h:31:42: note: expanded from macro 'lsx_valloc' >#define lsx_valloc(v,n) v = lsx_malloc((n)*sizeof(*(v))) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >firfit.c:53:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > lsx_valloc(gains, p->num_knots); > ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ >./xmalloc.h:31:42: note: expanded from macro 'lsx_valloc' >#define lsx_valloc(v,n) v = lsx_malloc((n)*sizeof(*(v))) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >firfit.c:54:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > lsx_valloc(d , p->num_knots); > ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ >./xmalloc.h:31:42: note: expanded from macro 'lsx_valloc' >#define lsx_valloc(v,n) v = lsx_malloc((n)*sizeof(*(v))) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >firfit.c:62:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > work = lsx_calloc(work_len + 2, sizeof(*work)); > ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:28: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >firfit.c:62:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > work = lsx_calloc(work_len + 2, sizeof(*work)); > ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:56: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >firfit.c:62:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > work = lsx_calloc(work_len + 2, sizeof(*work)); > ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:67: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >firfit.c:63:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > lsx_valloc(h, p->n); > ~~~~~~~~~~~~~~~~~^~ >./xmalloc.h:31:42: note: expanded from macro 'lsx_valloc' >#define lsx_valloc(v,n) v = lsx_malloc((n)*sizeof(*(v))) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >firfit.c:100:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > lsx_revalloc(p->knots, ++p->num_knots + 1); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >./xmalloc.h:32:48: note: expanded from macro 'lsx_revalloc' >#define lsx_revalloc(v,n) v = lsx_realloc(v, (n)*sizeof(*(v))) > ^ >17 warnings generated. >--- libsox_la-flanger.lo --- > CC libsox_la-flanger.lo >--- libsox_la-gain.lo --- > CC libsox_la-gain.lo >--- libsox_la-flanger.lo --- >flanger.c:120:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > int c, channels = effp->in_signal.channels; > ~~~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~~~ >flanger.c:139:60: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > (f->delay_min + f->delay_depth) * effp->in_signal.rate + 0.5; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ >flanger.c:146:40: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > f->lfo_length = effp->in_signal.rate / f->speed; > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ >flanger.c:169:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > int c, channels = effp->in_signal.channels; > ~~~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~~~ >flanger.c:170:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > size_t len = (*isamp > *osamp ? *osamp : *isamp) / channels; > ~ ^~~~~~~~ >flanger.c:172:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > *isamp = *osamp = len * channels; > ~ ^~~~~~~~ >flanger.c:181:67: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > size_t channel_phase = c * f->lfo_length * f->channel_phase + .5; > ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >flanger.c:181:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > size_t channel_phase = c * f->lfo_length * f->channel_phase + .5; > ^ ~ >flanger.c:210:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(out, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >flanger.c:210:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(out, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >flanger.c:223:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > int c, channels = effp->in_signal.channels; > ~~~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~~~ >11 warnings generated. >--- libsox_la-gain.lo --- >gain.c:135:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(*ibuf * mult, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >gain.c:135:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(*ibuf * mult, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >gain.c:138:50: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = d < 0 ? 1 / (1 / d - p->limiter) - .5 : > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >gain.c:139:50: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > d > 0 ? 1 / (1 / d + p->limiter) + .5 : 0; > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >gain.c:211:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf = SOX_ROUND_CLIP_COUNT(*obuf * p->mult, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >gain.c:211:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf = SOX_ROUND_CLIP_COUNT(*obuf * p->mult, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >gain.c:214:50: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = d < 0 ? 1 / (1 / d - p->limiter) - .5 : > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >gain.c:215:50: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > d > 0 ? 1 / (1 / d + p->limiter) + .5 : 0; > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >8 warnings generated. >--- libsox_la-hilbert.lo --- > CC libsox_la-hilbert.lo >--- libsox_la-input.lo --- > CC libsox_la-input.lo >--- libsox_la-hilbert.lo --- >In file included from hilbert.c:24: >In file included from ./dft_filter.h:3: >./fifo.h:50:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > if (f->end + n <= f->allocation) { > ~ ^ >./fifo.h:53:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end += n; > ~~ ^ >./fifo.h:62:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->allocation += n; > ~~ ^ >./fifo.h:71:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(s, data, n * f->item_size); > ^ ~ >./fifo.h:78:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end = f->begin + n; > ~ ^ >./fifo.h:84:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end -= n; > ~~ ^ >./fifo.h:89:30: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > return (f->end - f->begin) / f->item_size; > ~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ >./fifo.h:100:15: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->begin += n; > ~~ ^ >./fifo.h:113:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > f->item_size = item_size; > ~ ^~~~~~~~~ >hilbert.c:44:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'n', taps, 3, 32767) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >hilbert.c:62:43: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > p->taps = effp->in_signal.rate/76.5 + 2; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ >hilbert.c:67:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > lsx_valloc(p->h, p->taps); > ~~~~~~~~~~~~~~~~~~~~^~~~~ >./xmalloc.h:31:42: note: expanded from macro 'lsx_valloc' >#define lsx_valloc(v,n) v = lsx_malloc((n)*sizeof(*(v))) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >12 warnings generated. >--- libsox_la-ladspa.lo --- > CC libsox_la-ladspa.lo >--- libsox_la-loudness.lo --- > CC libsox_la-loudness.lo >--- libsox_la-mcompand.lo --- > CC libsox_la-mcompand.lo >--- libsox_la-loudness.lo --- >In file included from loudness.c:19: >In file included from ./dft_filter.h:3: >./fifo.h:50:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > if (f->end + n <= f->allocation) { > ~ ^ >./fifo.h:53:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end += n; > ~~ ^ >./fifo.h:62:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->allocation += n; > ~~ ^ >./fifo.h:71:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(s, data, n * f->item_size); > ^ ~ >./fifo.h:78:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end = f->begin + n; > ~ ^ >./fifo.h:84:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end -= n; > ~~ ^ >./fifo.h:89:30: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > return (f->end - f->begin) / f->item_size; > ~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ >./fifo.h:100:15: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->begin += n; > ~~ ^ >./fifo.h:113:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > f->item_size = item_size; > ~ ^~~~~~~~~ >loudness.c:40:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > NUMERIC_PARAMETER(n ,127 ,2047) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:269:15: note: expanded from macro 'NUMERIC_PARAMETER' > p->name = d; \ > ~ ^ >loudness.c:78:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > work = lsx_calloc(work_len, sizeof(*work)); > ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:28: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >loudness.c:78:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > work = lsx_calloc(work_len, sizeof(*work)); > ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:56: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >loudness.c:78:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > work = lsx_calloc(work_len, sizeof(*work)); > ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:67: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >loudness.c:79:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > h = lsx_calloc(n, sizeof(*h)); > ~~~~~~~~~~~^~~~~~~~~~~~~~ >./xmalloc.h:27:28: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >loudness.c:79:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > h = lsx_calloc(n, sizeof(*h)); > ~~~~~~~~~~~^~~~~~~~~~~~~~ >./xmalloc.h:27:56: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >loudness.c:79:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > h = lsx_calloc(n, sizeof(*h)); > ~~~~~~~~~~~^~~~~~~~~~~~~~ >./xmalloc.h:27:67: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >16 warnings generated. >--- libsox_la-noiseprof.lo --- > CC libsox_la-noiseprof.lo >--- libsox_la-mcompand.lo --- >In file included from mcompand.c:50: >./mcompand_xover.h:85:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:80:60: note: expanded from macro '_' >#define _ out_low += p->coefs[j] * p->previous[c][p->pos + j].in \ > ~ ^ >./mcompand_xover.h:85:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:81:57: note: expanded from macro '_' > - p->coefs[2*N+2 + j] * p->previous[c][p->pos + j].out_low, ++j; > ~ ^ >./mcompand_xover.h:85:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:80:60: note: expanded from macro '_' >#define _ out_low += p->coefs[j] * p->previous[c][p->pos + j].in \ > ~ ^ >./mcompand_xover.h:85:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:81:57: note: expanded from macro '_' > - p->coefs[2*N+2 + j] * p->previous[c][p->pos + j].out_low, ++j; > ~ ^ >./mcompand_xover.h:85:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:80:60: note: expanded from macro '_' >#define _ out_low += p->coefs[j] * p->previous[c][p->pos + j].in \ > ~ ^ >./mcompand_xover.h:85:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:81:57: note: expanded from macro '_' > - p->coefs[2*N+2 + j] * p->previous[c][p->pos + j].out_low, ++j; > ~ ^ >./mcompand_xover.h:85:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:80:60: note: expanded from macro '_' >#define _ out_low += p->coefs[j] * p->previous[c][p->pos + j].in \ > ~ ^ >./mcompand_xover.h:85:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:81:57: note: expanded from macro '_' > - p->coefs[2*N+2 + j] * p->previous[c][p->pos + j].out_low, ++j; > ~ ^ >./mcompand_xover.h:87:23: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf_low++ = SOX_ROUND_CLIP_COUNT(out_low, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >In file included from mcompand.c:50: >./mcompand_xover.h:87:23: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf_low++ = SOX_ROUND_CLIP_COUNT(out_low, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >In file included from mcompand.c:50: >./mcompand_xover.h:95:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:90:65: note: expanded from macro '_' >#define _ out_high += p->coefs[j+N+1] * p->previous[c][p->pos + j].in \ > ~ ^ >./mcompand_xover.h:95:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:18: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:91:57: note: expanded from macro '_' > - p->coefs[2*N+2 + j] * p->previous[c][p->pos + j].out_high, ++j; > ~ ^ >./mcompand_xover.h:95:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:90:65: note: expanded from macro '_' >#define _ out_high += p->coefs[j+N+1] * p->previous[c][p->pos + j].in \ > ~ ^ >./mcompand_xover.h:95:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:20: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:91:57: note: expanded from macro '_' > - p->coefs[2*N+2 + j] * p->previous[c][p->pos + j].out_high, ++j; > ~ ^ >./mcompand_xover.h:95:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:90:65: note: expanded from macro '_' >#define _ out_high += p->coefs[j+N+1] * p->previous[c][p->pos + j].in \ > ~ ^ >./mcompand_xover.h:95:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:22: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:91:57: note: expanded from macro '_' > - p->coefs[2*N+2 + j] * p->previous[c][p->pos + j].out_high, ++j; > ~ ^ >./mcompand_xover.h:95:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:90:65: note: expanded from macro '_' >#define _ out_high += p->coefs[j+N+1] * p->previous[c][p->pos + j].in \ > ~ ^ >./mcompand_xover.h:95:9: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > CONVOLVE > ^~~~~~~~ >./mcompand_xover.h:19:24: note: expanded from macro 'CONVOLVE' >#define CONVOLVE _ _ _ _ > ^ >./mcompand_xover.h:91:57: note: expanded from macro '_' > - p->coefs[2*N+2 + j] * p->previous[c][p->pos + j].out_high, ++j; > ~ ^ >./mcompand_xover.h:97:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf_high++ = SOX_ROUND_CLIP_COUNT(out_high, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >In file included from mcompand.c:50: >./mcompand_xover.h:97:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf_high++ = SOX_ROUND_CLIP_COUNT(out_high, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >mcompand.c:182:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > c->nBands = (argc+1)>>1; > ~ ~~~~~~~~^~~ >mcompand.c:225:66: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > l->delay_size = c->bands[band].delay * effp->out_signal.rate * effp->out_signal.channels; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >mcompand.c:308:25: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > obuf[odone++] = checkbuf; > ~ ^~~~~~~~ >mcompand.c:325:39: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion] > checkbuf = l->delay_buf[(l->delay_buf_ptr + c->delay_buf_size - l->delay_size)%c->delay_buf_size] * level_out_lin; > ~~~^~~~~~~~~~~~~ ~ >mcompand.c:327:28: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion] > l->delay_buf[(l->delay_buf_ptr + c->delay_buf_size - l->delay_size)%c->delay_buf_size] = checkbuf; > ~~~^~~~~~~~~~~~~ ~ >mcompand.c:327:100: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > l->delay_buf[(l->delay_buf_ptr + c->delay_buf_size - l->delay_size)%c->delay_buf_size] = checkbuf; > ~ ^~~~~~~~ >mcompand.c:300:42: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > int ch = l->expectedChannels > 1 ? chan : 0; > ~~ ^~~~ >mcompand.c:400:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > obuf[i] = out; > ~ ^~~ >mcompand.c:425:18: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > obuf[done] = out; > ~ ^~~ >mcompand.c:431:10: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > return done; > ~~~~~~ ^~~~ >mcompand.c:449:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > drained = sox_mcompand_drain_1(effp, c,l,obuf,*osamp); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >31 warnings generated. >--- libsox_la-noiseprof.lo --- >noiseprof.c:103:27: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > float value = log(out[i]); > ~~~~~ ^~~~~~~~~~~ >noiseprof.c:132:9: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > SOX_SAMPLE_TO_FLOAT_32BIT(ibuf[i + j * chans], dummy); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:981:105: note: expanded from macro 'SOX_SAMPLE_TO_FLOAT_32BIT' >#define SOX_SAMPLE_TO_FLOAT_32BIT(d,clips) (LSX_USE_VAR(sox_macro_temp_double),sox_macro_temp_sample=(d),sox_macro_temp_sample>SOX_SAMPLE_MAX-64?++(clips),1:(((sox_macro_temp_sample+64)&~127)*(1./(SOX_SAMPLE_MAX+1.)))) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noiseprof.c:152:34: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > int tracks = effp->in_signal.channels; > ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~~~ >noiseprof.c:163:31: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > for (j = data->bufdata+1; j < WINDOWSIZE; j ++) { > ~ ~~~~~~~~~~~~~^~ >4 warnings generated. >--- libsox_la-noisered.lo --- > CC libsox_la-noisered.lo >--- libsox_la-output.lo --- > CC libsox_la-output.lo >--- libsox_la-noisered.lo --- >noisered.c:46:31: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > RealOut[i >> 1] = work[i] / NumSamples; > ~ ~~~~~~~~^~~~~~~~~~~~ >noisered.c:47:35: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > ImagOut[i >> 1] = work[i + 1] / NumSamples; > ~ ~~~~~~~~~~~~^~~~~~~~~~~~ >noisered.c:50:23: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > RealOut[i >> 1] = work[i]; > ~ ^~~~~~~ >noisered.c:51:23: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > ImagOut[i >> 1] = work[i + 1]; > ~ ^~~~~~~~~~~ >noisered.c:73:5: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > NUMERIC_PARAMETER(threshold, 0, 1); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:269:15: note: expanded from macro 'NUMERIC_PARAMETER' > p->name = d; \ > ~ ^ >noisered.c:167:16: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > plog = log(power[i]); > ~ ^~~~~~~~~~~~~ >noisered.c:173:37: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > smoothing[i] = smooth * 0.5 + smoothing[i] * 0.5; > ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ >noisered.c:220:35: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > int use = min(len, WINDOWSIZE)-min(len,(WINDOWSIZE/2)); > ~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >noisered.c:235:41: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > obuf[chan_num + num_chans * j] = > ~ ^ >noisered.c:242:41: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > obuf[chan_num + num_chans * j] = > ~ ^ >noisered.c:285:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > chan->window[oldbuf + j] = > ^~~~~~ ~ >noisered.c:286:17: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > SOX_SAMPLE_TO_FLOAT_32BIT(ibuf[i + tracks * j], effp->clips); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:981:105: note: expanded from macro 'SOX_SAMPLE_TO_FLOAT_32BIT' >#define SOX_SAMPLE_TO_FLOAT_32BIT(d,clips) (LSX_USE_VAR(sox_macro_temp_double),sox_macro_temp_sample=(d),sox_macro_temp_sample>SOX_SAMPLE_MAX-64?++(clips),1:(((sox_macro_temp_sample+64)&~127)*(1./(SOX_SAMPLE_MAX+1.)))) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noisered.c:291:91: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > process_window(effp, data, (unsigned) i, (unsigned) tracks, obuf, (unsigned) (oldbuf + ncopy)); > ^~~~~~ ~ >noisered.c:264:24: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > int oldbuf = data->bufdata; > ~~~~~~ ~~~~~~^~~~~~~ >noisered.c:313:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > *osamp = process_window(effp, data, i, tracks, obuf, (unsigned) data->bufdata); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >15 warnings generated. >--- libsox_la-overdrive.lo --- > CC libsox_la-overdrive.lo >--- libsox_la-pad.lo --- > CC libsox_la-pad.lo >--- libsox_la-phaser.lo --- >--- libsox_la-pad.lo --- >pad.c:77:14: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > p->npads = argc; > ~ ^~~~ >--- libsox_la-phaser.lo --- > CC libsox_la-phaser.lo >--- libsox_la-pad.lo --- >1 warning generated. >--- libsox_la-rate.lo --- > CC libsox_la-rate.lo >--- libsox_la-phaser.lo --- >phaser.c:98:64: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > p->delay_buf_len = p->delay_ms * .001 * effp->in_signal.rate + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >phaser.c:101:56: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > p->mod_buf_len = effp->in_signal.rate / p->mod_speed + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >phaser.c:120:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > (p->delay_pos + p->mod_buf[p->mod_pos]) % p->delay_buf_len] * p->decay; > ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ~ >phaser.c:121:35: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion] > p->mod_pos = (p->mod_pos + 1) % p->mod_buf_len; > ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >phaser.c:121:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->mod_pos = (p->mod_pos + 1) % p->mod_buf_len; > ~~~~~~~~~~~^~~ ~ >phaser.c:123:39: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion] > p->delay_pos = (p->delay_pos + 1) % p->delay_buf_len; > ~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ >phaser.c:123:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->delay_pos = (p->delay_pos + 1) % p->delay_buf_len; > ~~~~~~~~~~~~~^~~ ~ >phaser.c:126:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(d * p->out_gain, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >phaser.c:126:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(d * p->out_gain, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >9 warnings generated. >--- libsox_la-remix.lo --- > CC libsox_la-remix.lo >--- libsox_la-rate.lo --- >In file included from rate.c:29: >In file included from ./dft_filter.h:3: >./fifo.h:50:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > if (f->end + n <= f->allocation) { > ~ ^ >./fifo.h:53:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end += n; > ~~ ^ >./fifo.h:62:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->allocation += n; > ~~ ^ >./fifo.h:71:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(s, data, n * f->item_size); > ^ ~ >./fifo.h:78:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end = f->begin + n; > ~ ^ >./fifo.h:84:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end -= n; > ~~ ^ >./fifo.h:89:30: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > return (f->end - f->begin) / f->item_size; > ~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ >./fifo.h:100:15: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->begin += n; > ~~ ^ >./fifo.h:113:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > f->item_size = item_size; > ~ ^~~~~~~~~ >rate.c:59:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > sample_t * result = malloc(length * (interp_order + 1) * sizeof(*result)); > ~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >rate.c:127:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i, num_in = stage_occupancy(p), max_num_out = 1 + num_in*p->out_in_ratio; > ~~~~~~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~ >rate.c:170:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(output + i, output, portion * sizeof(*output)); > ^~~~~~~ ~ >rate.c:175:34: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] > memcpy(output, input, f->dft_length * sizeof(*output)); > ~~~^~~~~~~~~~ ~ >rate.c:177:30: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] > memset(output, 0, f->dft_length * sizeof(*output)); > ~~~^~~~~~~~~~ ~ >rate.c:232:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->coefs = calloc(dft_length, sizeof(*f->coefs)); > ^~~~~~~~~~ >./xmalloc.h:27:28: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >rate.c:232:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->coefs = calloc(dft_length, sizeof(*f->coefs)); > ^~~~~~~~~~ >./xmalloc.h:27:56: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >rate.c:232:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->coefs = calloc(dft_length, sizeof(*f->coefs)); > ^~~~~~~~~~ >./xmalloc.h:27:67: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >rate.c:248:27: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > stage->dft_filter_num = instance; > ~ ^~~~~~~~ >In file included from rate.c:251: >./rate_filters.h:90:13: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > { 8, h8 , 136.51}, > ~ ^~~~~~ >./rate_filters.h:91:13: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > { 9, h9 , 152.32}, > ~ ^~~~~~ >./rate_filters.h:92:13: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {10, h10, 168.07}, > ~ ^~~~~~ >./rate_filters.h:93:13: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {11, h11, 183.78}, > ~ ^~~~~~ >./rate_filters.h:94:13: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {12, h12, 199.44}, > ~ ^~~~~~ >In file included from rate.c:251: >In file included from ./rate_filters.h:107: >./rate_poly_fir0.h:26:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i, num_in = stage_occupancy(p), max_num_out = 1 + num_in*p->out_in_ratio; > ~~~~~~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~ >In file included from rate.c:251: >In file included from ./rate_filters.h:114: >./rate_poly_fir.h:40:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i, num_in = stage_occupancy(p), max_num_out = 1 + num_in*p->out_in_ratio; > ~~~~~~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~ >./rate_poly_fir.h:49:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int phase = fraction * (1 << PHASE_BITS); > ~~~~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >./rate_poly_fir.h:66:28: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] > int phase = fraction >> (32 - PHASE_BITS); /* high-order bits */ > ~~~~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ >In file included from rate.c:251: >In file included from ./rate_filters.h:121: >./rate_poly_fir.h:40:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i, num_in = stage_occupancy(p), max_num_out = 1 + num_in*p->out_in_ratio; > ~~~~~~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~ >./rate_poly_fir.h:49:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int phase = fraction * (1 << PHASE_BITS); > ~~~~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >./rate_poly_fir.h:66:28: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] > int phase = fraction >> (32 - PHASE_BITS); /* high-order bits */ > ~~~~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ >In file included from rate.c:251: >In file included from ./rate_filters.h:128: >./rate_poly_fir.h:40:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i, num_in = stage_occupancy(p), max_num_out = 1 + num_in*p->out_in_ratio; > ~~~~~~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~ >./rate_poly_fir.h:49:28: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int phase = fraction * (1 << PHASE_BITS); > ~~~~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >./rate_poly_fir.h:66:28: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] > int phase = fraction >> (32 - PHASE_BITS); /* high-order bits */ > ~~~~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ >In file included from rate.c:251: >In file included from ./rate_filters.h:137: >./rate_poly_fir0.h:26:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i, num_in = stage_occupancy(p), max_num_out = 1 + num_in*p->out_in_ratio; > ~~~~~~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~ >In file included from rate.c:251: >In file included from ./rate_filters.h:144: >./rate_poly_fir0.h:26:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i, num_in = stage_occupancy(p), max_num_out = 1 + num_in*p->out_in_ratio; > ~~~~~~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~ >In file included from rate.c:251: >In file included from ./rate_filters.h:151: >./rate_poly_fir.h:40:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i, num_in = stage_occupancy(p), max_num_out = 1 + num_in*p->out_in_ratio; > ~~~~~~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~ >In file included from rate.c:251: >In file included from ./rate_filters.h:159: >./rate_poly_fir.h:40:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int i, num_in = stage_occupancy(p), max_num_out = 1 + num_in*p->out_in_ratio; > ~~~~~~~~~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~ >In file included from rate.c:251: >./rate_filters.h:166:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, { 7.2, vpoly1}, {5.0, vpoly2}}}, > ~ ^~~ >./rate_filters.h:167:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, { 9.4, vpoly1}, {6.7, vpoly2}}}, > ~ ^~~ >./rate_filters.h:167:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, { 9.4, vpoly1}, {6.7, vpoly2}}}, > ~^~~ >./rate_filters.h:168:23: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {12.4, vpoly1}, {7.8, vpoly2}}}, > ~^~~~ >./rate_filters.h:168:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {12.4, vpoly1}, {7.8, vpoly2}}}, > ~^~~ >./rate_filters.h:169:23: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {13.6, vpoly1}, {9.3, vpoly2}}}, > ~^~~~ >./rate_filters.h:169:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {13.6, vpoly1}, {9.3, vpoly2}}}, > ~^~~ >./rate_filters.h:170:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {10.5, vpoly2}, {8.4, vpoly3}}}, > ~^~~ >./rate_filters.h:171:23: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {11.85,vpoly2}, {9.0, vpoly3}}}, > ~^~~~~ >./rate_filters.h:173:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, { 8.0, vpoly1}, {5.3, vpoly2}}}, > ~^~~ >./rate_filters.h:174:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, { 8.6, vpoly1}, {5.7, vpoly2}}}, > ~ ^~~ >./rate_filters.h:174:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, { 8.6, vpoly1}, {5.7, vpoly2}}}, > ~^~~ >./rate_filters.h:175:23: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {10.6, vpoly1}, {6.75,vpoly2}}}, > ~^~~~ >./rate_filters.h:176:23: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {12.6, vpoly1}, {8.6, vpoly2}}}, > ~^~~~ >./rate_filters.h:176:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {12.6, vpoly1}, {8.6, vpoly2}}}, > ~^~~ >./rate_filters.h:177:24: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, { 9.6, vpoly2}, {7.6, vpoly3}}}, > ~ ^~~ >./rate_filters.h:177:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, { 9.6, vpoly2}, {7.6, vpoly3}}}, > ~^~~ >./rate_filters.h:178:23: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {11.4, vpoly2}, {8.65,vpoly3}}}, > ~^~~~ >./rate_filters.h:178:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {-1, {{0, vpoly0}, {11.4, vpoly2}, {8.65,vpoly3}}}, > ~^~~~ >./rate_filters.h:180:4: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {10.62, {{U100_l, U100_0}, {0, 0}, {0, 0}}}, > ~^~~~~ >./rate_filters.h:181:4: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > {11.28, {{u100_l, u100_0}, {u100_1_b, u100_1}, {u100_2_b, u100_2}}}, > ~^~~~~ >rate.c:300:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > ceil(2 + (bits - 17) / 4); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >rate.c:312:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > ceil(max_coefs_size * 1000. / (U100_l * sizeof(sample_t))); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >rate.c:315:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > for (i = arbM * .5, shift = 0; i >>= 1; arbM *= .5, ++shift); > ~ ~~~~~^~~~ >rate.c:322:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > d = frac * i, try = d + .5; > ~ ~~^~~~ >rate.c:329:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > L = preL * arbL, M = arbM * postM, x = (L|M)&1, L >>= !x, M >>= !x; > ~ ~~~~~^~~~~~~ >rate.c:331:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > for (postL = 4, i = d / 16; i >>= 1; postL <<= 1); > ~ ~~^~~~ >rate.c:340:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->stages = calloc(p->num_stages + 1, sizeof(*p->stages)); > ~~~~~~~~~~~~~~^~~ >./xmalloc.h:27:28: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >rate.c:340:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->stages = calloc(p->num_stages + 1, sizeof(*p->stages)); > ~~~~~~~~~~~~~~^~~ >./xmalloc.h:27:56: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >rate.c:340:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->stages = calloc(p->num_stages + 1, sizeof(*p->stages)); > ~~~~~~~~~~~~~~^~~ >./xmalloc.h:27:67: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >rate.c:350:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > for (n = 0; n + 1u < array_length(half_firs) && att > half_firs[n].att; ++n); > ^ ~ >rate.c:373:40: warning: implicit conversion turns floating-point number into integer: 'double' to 'int64_t' (aka 'long') [-Wconversion] > arb_stage.step.all = arbM * MULT32 + .5; > ~ ~~~~~~~~~~~~~~^~~~ >rate.c:380:41: warning: implicit conversion turns floating-point number into integer: 'const float' to 'int' [-Wconversion] > int order, num_coefs = f->interp[0].scalar, phase_bits, phases, coefs_size; > ~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~ >rate.c:399:20: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > phase_bits = ceil(f1->scalar + log(mult)/log(2.)); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >rate.c:410:54: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion] > coefs_size = num_coefs4 * phases * (order + 1) * sizeof(sample_t); > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ >rate.c:410:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > coefs_size = num_coefs4 * phases * (order + 1) * sizeof(sample_t); > ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ~ >rate.c:436:38: warning: implicit conversion turns floating-point number into integer: 'double' to 'int64_t' (aka 'long') [-Wconversion] > arb_stage.at.all = at * MULT32 + .5; > ~ ~~~~~~~~~~~~^~~~ >rate.c:437:42: warning: implicit conversion turns floating-point number into integer: 'double' to 'int64_t' (aka 'long') [-Wconversion] > arb_stage.step.all = arbM * MULT32 + .5; > ~ ~~~~~~~~~~~~~~^~~~ >rate.c:449:71: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memset(fifo_reserve(&s->fifo, s->preload), 0, sizeof(sample_t)*s->preload); > ~~~~^~~~~~~ >rate.c:481:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'uint64_t' (aka 'unsigned long') [-Wconversion] > uint64_t samples_out = p->samples_in / p->factor + .5; > ~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >rate.c:541:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'i', coef_interp, -1, 2) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >rate.c:542:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'c', max_coefs_size, 100, INT_MAX) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >rate.c:549:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_LOCAL_NUMERIC(optstate, 'Q', quality, 0, 7) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >rate.c:560:28: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] > quality = found_at - qopts; > ~ ~~~~~~~~~^~~~~~~ >rate.c:633:55: warning: implicit conversion changes signedness: 'int' to 'rolloff_t' [-Wsign-conversion] > p->phase, p->bw_0dB_pc, p->anti_aliasing_pc, p->rolloff, !p->given_0dB_pt, > ~~~^~~~~~~ >--- libsox_la-remix.lo --- >remix.c:63:30: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > int chan1 = 1, chan2 = channels, n; > ~~~~~ ^~~~~~~~ >remix.c:84:16: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > (j + chan2 - chan1 + 1) * sizeof(*p->out_specs[i].in_specs)); > ~ ^~~~~ >remix.c:84:24: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > (j + chan2 - chan1 + 1) * sizeof(*p->out_specs[i].in_specs)); > ~ ^~~~~ >remix.c:86:59: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > p->out_specs[i].in_specs[j].channel_num = chan1++ - 1; > ~ ~~~~~~~~^~~ >remix.c:124:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > p->num_out_channels = argc; > ~ ^~~~ >remix.c:174:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(out, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >remix.c:174:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = SOX_ROUND_CLIP_COUNT(out, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >remix.c:166:21: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] > len = min(*isamp / effp->in_signal.channels, *osamp / effp->out_signal.channels); > ~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ >./util.h:194:34: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >remix.c:166:56: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] > len = min(*isamp / effp->in_signal.channels, *osamp / effp->out_signal.channels); > ~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >./util.h:194:40: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >remix.c:261:20: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > handler.flags &= ~SOX_EFF_GAIN; > ~~ ^~~~~~~~~~~~~ >10 warnings generated. >--- libsox_la-repeat.lo --- > CC libsox_la-repeat.lo >repeat.c:36:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > do {NUMERIC_PARAMETER(num_repeats, 0, UINT_MAX - 1)} while (0); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:269:15: note: expanded from macro 'NUMERIC_PARAMETER' > p->name = d; \ > ~ ^ >--- libsox_la-rate.lo --- >82 warnings generated. >--- libsox_la-repeat.lo --- >1 warning generated. >--- libsox_la-reverb.lo --- > CC libsox_la-reverb.lo >reverb.c:47:20: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > *p->ptr = *input + output * .5; > ~ ~~~~~~~^~~~~~~~~~~~~ >reverb.c:130:58: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > size_t i, delay = pre_delay_ms / 1000 * sample_rate_Hz + .5; > ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >reverb.c:137:19: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->feedback = 1 - exp((reverberance - b) / (a * b)); > ~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >reverb.c:138:41: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->hf_damping = hf_damping / 100 * .3 + .2; > ~ ~~~~~~~~~~~~~~~~~~~~~~^~~~ >reverb.c:139:39: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->gain = dB_to_linear(wet_gain_dB) * .015; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ >reverb.c:239:25: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->chan[c].dry[i] = SOX_SAMPLE_TO_FLOAT_32BIT(*ibuf++, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:981:105: note: expanded from macro 'SOX_SAMPLE_TO_FLOAT_32BIT' >#define SOX_SAMPLE_TO_FLOAT_32BIT(d,clips) (LSX_USE_VAR(sox_macro_temp_double),sox_macro_temp_sample=(d),sox_macro_temp_sample>SOX_SAMPLE_MAX-64?++(clips),1:(((sox_macro_temp_sample+64)&~127)*(1./(SOX_SAMPLE_MAX+1.)))) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >reverb.c:243:55: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > float out = (1 - p->wet_only) * p->chan[w].dry[i] + > ~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ >7 warnings generated. >--- libsox_la-reverse.lo --- > CC libsox_la-reverse.lo >--- libsox_la-silence.lo --- > CC libsox_la-silence.lo >--- libsox_la-reverse.lo --- >reverse.c:53:12: warning: implicit conversion changes signedness: 'off_t' (aka 'long') to 'unsigned long' [-Wsign-conversion] > if (p->pos % sizeof(sox_sample_t) != 0) { > ~~~^~~ ~ >reverse.c:59:26: warning: operand of ? changes signedness: 'off_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > p->pos -= *osamp = min((off_t)*osamp, p->pos); > ~ ^~~~~~~~~~~~~ >./util.h:194:34: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >reverse.c:59:44: warning: operand of ? changes signedness: 'off_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > p->pos -= *osamp = min((off_t)*osamp, p->pos); > ~ ~~~^~~ >./util.h:194:40: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >reverse.c:60:34: warning: implicit conversion changes signedness: 'off_t' (aka 'long') to 'unsigned long' [-Wsign-conversion] > fseeko(p->tmp_file, (off_t)(p->pos * sizeof(sox_sample_t)), SEEK_SET); > ~~~^~~ ~ >reverse.c:65:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > for (i = 0, j = *osamp - 1; i < j; ++i, --j) { /* reverse the samples */ > ~ ~~~~~~~^~~ >5 warnings generated. >--- libsox_la-silence.lo --- >silence.c:233:56: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > silence->window_size = (effp->in_signal.rate / 50) * > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ >silence.c:302:11: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > rms = sqrt(new_sum / silence->window_size); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >--- libsox_la-sinc.lo --- > CC libsox_la-sinc.lo >--- libsox_la-silence.lo --- >2 warnings generated. >--- libsox_la-skeleff.lo --- > CC libsox_la-skeleff.lo >--- libsox_la-sinc.lo --- >In file included from sinc.c:19: >In file included from ./dft_filter.h:3: >./fifo.h:50:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > if (f->end + n <= f->allocation) { > ~ ^ >./fifo.h:53:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end += n; > ~~ ^ >./fifo.h:62:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->allocation += n; > ~~ ^ >./fifo.h:71:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(s, data, n * f->item_size); > ^ ~ >./fifo.h:78:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end = f->begin + n; > ~ ^ >./fifo.h:84:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->end -= n; > ~~ ^ >./fifo.h:89:30: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > return (f->end - f->begin) / f->item_size; > ~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ >./fifo.h:100:15: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > f->begin += n; > ~~ ^ >./fifo.h:113:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > f->item_size = item_size; > ~ ^~~~~~~~~ >sinc.c:52:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'n', num_taps[1], 11, 32767) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >10 warnings generated. >--- libsox_la-speed.lo --- > CC libsox_la-speed.lo >--- libsox_la-splice.lo --- > CC libsox_la-splice.lo >--- libsox_la-stat.lo --- > CC libsox_la-stat.lo >--- libsox_la-splice.lo --- >splice.c:79:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > output[k] = SOX_ROUND_CLIP_COUNT(d, effp->clips); /* Might clip */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >splice.c:79:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > output[k] = SOX_ROUND_CLIP_COUNT(d, effp->clips); /* Might clip */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >splice.c:90:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > output[k] = SOX_ROUND_CLIP_COUNT(d, effp->clips); /* Should not clip */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >splice.c:90:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > output[k] = SOX_ROUND_CLIP_COUNT(d, effp->clips); /* Should not clip */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >splice.c:101:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > output[k] = SOX_ROUND_CLIP_COUNT(d, effp->clips); /* Should not clip */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1015:73: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > ((d) < 0? (d) <= SOX_SAMPLE_MIN - 0.5? ++(clips), SOX_SAMPLE_MIN: (d) - 0.5 \ > ~~~~^~~~~ >splice.c:101:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > output[k] = SOX_ROUND_CLIP_COUNT(d, effp->clips); /* Should not clip */ > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:1016:71: note: expanded from macro 'SOX_ROUND_CLIP_COUNT' > : (d) >= SOX_SAMPLE_MAX + 0.5? ++(clips), SOX_SAMPLE_MAX: (d) + 0.5) > ~~~~^~~~~ >splice.c:132:41: warning: implicit conversion turns floating-point number into integer: 'double' to 'uint64_t' (aka 'unsigned long') [-Wconversion] > p->splices[i].overlap = rate * 0.01 + .5; > ~ ~~~~~~~~~~~~^~~~ >splice.c:152:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->splices[i].overlap &= ~7; /* Make divisible by 8 for loop optimisation */ > ~~ ^~ >splice.c:176:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > p->nsplices = argc; > ~ ^~~~ >9 warnings generated. >--- libsox_la-stat.lo --- >stat.c:119:20: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > float ffa = rate / samples; > ~~~ ~~~~~^~~~~~~~~ >stat.c:145:43: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > stat->re_in[stat->fft_offset++] = SOX_SAMPLE_TO_FLOAT_32BIT(ibuf[x], effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:981:105: note: expanded from macro 'SOX_SAMPLE_TO_FLOAT_32BIT' >#define SOX_SAMPLE_TO_FLOAT_32BIT(d,clips) (LSX_USE_VAR(sox_macro_temp_double),sox_macro_temp_sample=(d),sox_macro_temp_sample>SOX_SAMPLE_MAX-64?++(clips),1:(((sox_macro_temp_sample+64)&~127)*(1./(SOX_SAMPLE_MAX+1.)))) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >stat.c:192:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > stat->read += len; > ~~ ^~~ >stat.c:195:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > *isamp = *osamp = len; > ~ ^~~ >stat.c:135:26: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > int done, x, len = min(*isamp, *osamp); > ~~~ ^~~~~~ >./util.h:194:34: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >stat.c:135:34: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > int done, x, len = min(*isamp, *osamp); > ~~~ ^~~~~~ >./util.h:194:40: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >stat.c:160:17: warning: implicit conversion loses integer precision: 'long' to 'sox_sample_t' (aka 'int') [-Wshorten-64-to-32] > *obuf++ = lsamp; > ~ ^~~~~ >stat.c:215:20: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] > for (x = stat->fft_offset; x < stat->fft_size; x++) > ~ ~~~~~~^~~~~~~~~~ >8 warnings generated. >--- libsox_la-stats.lo --- > CC libsox_la-stats.lo >--- libsox_la-stretch.lo --- > CC libsox_la-stretch.lo >--- libsox_la-stats.lo --- >stats.c:42:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'x', hex_bits , 2 , 32) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >stats.c:43:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'b', scale_bits , 2 , 32) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >stats.c:59:63: warning: implicit conversion turns floating-point number into integer: 'double' to 'off_t' (aka 'long') [-Wconversion] > p->tc_samples = 5 * p->time_constant * effp->in_signal.rate + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >stats.c:107:16: warning: implicit conversion changes signedness: 'const sox_sample_t' (aka 'const int') to 'unsigned int' [-Wsign-conversion] > p->mask |= *ibuf; > ~~ ^~~~~ >stats.c:133:10: warning: implicit conversion changes signedness: 'sox_sample_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] > mask = SOX_FLOAT_64BIT_TO_SAMPLE(max, dummy); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:909:44: note: expanded from macro 'SOX_FLOAT_64BIT_TO_SAMPLE' >#define SOX_FLOAT_64BIT_TO_SAMPLE(d,clips) (sox_sample_t)(LSX_USE_VAR(sox_macro_temp_sample),sox_macro_temp_double=(d)*(SOX_SAMPLE_MAX+1.),sox_macro_temp_double<0?sox_macro_temp_double<=SOX_SAMPLE_MIN-.5?++(clips),SOX_SAMPLE_MIN:sox_macro_temp_double-.5:sox_macro_temp_double>=SOX_SAMPLE_MAX+.5?sox_macro_temp_double>SOX_SAMPLE_MAX+1.?++(clips),SOX_SAMPLE_MAX:SOX_SAMPLE_MAX:sox_macro_temp_double+.5) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >stats.c:135:13: warning: implicit conversion changes signedness: 'sox_sample_t' (aka 'int') to 'unsigned int' [-Wsign-conversion] > mask |= ~(SOX_FLOAT_64BIT_TO_SAMPLE(min, dummy) << 1); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >stats.c:136:29: warning: implicit conversion changes signedness: 'sox_sample_t' (aka 'int') to 'unsigned int' [-Wsign-conversion] > for (; result && !(mask & SOX_SAMPLE_MIN); --result, mask <<= 1); > ~ ^~~~~~~~~~~~~~ >./sox.h:741:24: note: expanded from macro 'SOX_SAMPLE_MIN' >#define SOX_SAMPLE_MIN (sox_sample_t)SOX_INT_MIN(32) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >stats.c:146:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = min(x, mult - 1.); > ~ ^ >./util.h:194:34: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >stats.c:146:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > i = min(x, mult - 1.); > ~ ~~~~~^~~~ >./util.h:194:40: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >stats.c:167:53: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] > unsigned b1, b2, i, n = effp->flows > 1 ? effp->flows : 0; > ~ ~~~~~~^~~~~ >--- libsox_la-stretch.lo --- >stretch.c:138:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > p->segment = (int)(effp->out_signal.rate * 0.001 * p->window); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >stretch.c:146:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > p->ishift = p->shift * p->segment; > ~ ~~~~~~~~~^~~~~~~~~~~~ >stretch.c:147:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > p->oshift = p->factor * p->ishift; > ~ ~~~~~~~~~~^~~~~~~~~~~ >stretch.c:149:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > p->oshift = p->shift * p->segment; > ~ ~~~~~~~~~^~~~~~~~~~~~ >stretch.c:150:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > p->ishift = p->oshift / p->factor; > ~ ~~~~~~~~~~^~~~~~~~~~~ >stretch.c:157:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > p->overlap = (int)(p->fading * p->segment); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >stretch.c:243:13: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > f = p->obuf[p->oindex++]; > ~ ^~~~~~~~~~~~~~~~~~~~ >stretch.c:245:26: warning: implicit conversion turns floating-point number into integer: 'float' to 'sox_sample_t' (aka 'int') [-Wconversion] > obuf[oindex++] = f; > ~ ^ >stretch.c:291:15: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > float f = p->obuf[p->oindex++]; > ~ ^~~~~~~~~~~~~~~~~~~~ >stretch.c:293:22: warning: implicit conversion turns floating-point number into integer: 'float' to 'sox_sample_t' (aka 'int') [-Wconversion] > obuf[oindex++] = f; > ~ ^ >10 warnings generated. >--- libsox_la-stats.lo --- >10 warnings generated. >--- libsox_la-swap.lo --- > CC libsox_la-swap.lo >--- libsox_la-synth.lo --- > CC libsox_la-synth.lo >--- libsox_la-tempo.lo --- > CC libsox_la-tempo.lo >--- libsox_la-synth.lo --- >synth.c:275:48: warning: implicit conversion loses integer precision: 'long' to 'sweep_t' [-Wshorten-64-to-32] > chan->sweep = strchr(sweeps, *end_ptr) - sweeps; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ >synth.c:317:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] > effp->in_signal.channels = p->getopts_nchannels; > ~ ~~~^~~~~~~~~~~~~~~~~ >synth.c:370:60: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > chan->buffer_len = effp->in_signal.rate / chan->freq - d; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ >synth.c:379:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'int32_t' (aka 'int') [-Wconversion] > int32_t r = p2 * 100 + .5; > ~ ~~~~~~~~~^~~~ >synth.c:635:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = synth_out < 0? synth_out * p->gain - .5 : synth_out * p->gain + .5; > ~ ~~~~~~~~~~~~~~~~~~~~^~~~ >synth.c:635:79: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = synth_out < 0? synth_out * p->gain - .5 : synth_out * p->gain + .5; > ~ ~~~~~~~~~~~~~~~~~~~~^~~~ >synth.c:453:38: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] > unsigned len = min(*isamp, *osamp) / effp->in_signal.channels; > ~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ >7 warnings generated. >--- libsox_la-tempo.lo --- >tempo.c:70:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > i = prev_best_pos + k * j * step; > ^ ~ >tempo.c:129:74: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > skip = t->factor * (++t->segments_total * (t->segment - t->overlap)) + 0.5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ >tempo.c:150:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'uint64_t' (aka 'unsigned long') [-Wconversion] > uint64_t samples_out = t->samples_in / t->factor + .5; > ~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >tempo.c:173:48: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > t->segment = sample_rate * segment_ms / 1000 + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >tempo.c:174:47: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > t->search = sample_rate * search_ms / 1000 + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >tempo.c:175:52: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > t->overlap = max(sample_rate * overlap_ms / 1000 + 4.5, 16); > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ >./util.h:199:34: note: expanded from macro 'max' >#define max(a, b) ((a) >= (b) ? (a) : (b)) > ^ >tempo.c:176:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > t->overlap &= ~7; /* Make divisible by 8 for loop optimisation */ > ~~ ^~ >tempo.c:180:14: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > max_skip = ceil(factor * (t->segment - t->overlap)); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tempo.c:265:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'uint64_t' (aka 'unsigned long') [-Wconversion] > uint64_t out_length = in_length / p->factor + .5; > ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~ >tempo.c:286:14: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > *t++ = SOX_SAMPLE_TO_FLOAT_32BIT(*ibuf++, effp->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:981:105: note: expanded from macro 'SOX_SAMPLE_TO_FLOAT_32BIT' >#define SOX_SAMPLE_TO_FLOAT_32BIT(d,clips) (LSX_USE_VAR(sox_macro_temp_double),sox_macro_temp_sample=(d),sox_macro_temp_sample>SOX_SAMPLE_MAX-64?++(clips),1:(((sox_macro_temp_sample+64)&~127)*(1./(SOX_SAMPLE_MAX+1.)))) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tempo.c:325:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > char dummy, arg[100], **argv2 = lsx_malloc(argc * sizeof(*argv2)); > ^~~~ ~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >tempo.c:333:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memcpy(argv2, argv, argc * sizeof(*argv2)); > ^~~~ ~ >tempo.c:357:20: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > handler.flags &= ~SOX_EFF_LENGTH; > ~~ ^~~~~~~~~~~~~~~ >13 warnings generated. >--- libsox_la-tremolo.lo --- > CC libsox_la-tremolo.lo >--- libsox_la-trim.lo --- > CC libsox_la-trim.lo >--- libsox_la-upsample.lo --- > CC libsox_la-upsample.lo >--- libsox_la-trim.lo --- >trim.c:43:16: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > p->num_pos = argc; > ~ ^~~~ >1 warning generated. >--- libsox_la-vad.lo --- > CC libsox_la-vad.lo >--- libsox_la-upsample.lo --- >upsample.c:30:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > do {NUMERIC_PARAMETER(factor, 1, 256)} while (0); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:269:15: note: expanded from macro 'NUMERIC_PARAMETER' > p->name = d; \ > ~ ^ >1 warning generated. >--- libsox_la-vol.lo --- > CC libsox_la-vol.lo >--- libsox_la-vad.lo --- >vad.c:104:68: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > fixedPreTriggerLen_ns = p->preTriggerTime * effp->in_signal.rate + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >vad.c:107:64: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > p->measureLen_ws = effp->in_signal.rate * p->measureDuration + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >vad.c:112:63: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > p->measurePeriod_ns = effp->in_signal.rate / p->measureFreq + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >vad.c:114:20: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > p->measuresLen = ceil(p->searchTime * p->measureFreq); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vad.c:116:43: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > p->gapLen = p->gapTime * p->measureFreq + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >vad.c:136:76: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > p->spectrumStart = p->hpFilterFreq / effp->in_signal.rate * p->dftLen_ws + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >vad.c:138:74: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > p->spectrumEnd = p->lpFilterFreq / effp->in_signal.rate * p->dftLen_ws + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >vad.c:146:22: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > p->cepstrumStart = ceil(effp->in_signal.rate * .5 / p->lpLifterFreq); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vad.c:147:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > p->cepstrumEnd = floor(effp->in_signal.rate * .5 / p->hpLifterFreq); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vad.c:157:50: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > p->bootCountMax = p->bootTime * p->measureFreq - .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >vad.c:175:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] > p->samplesIndex_ns = odone - odone1; > ~ ~~~~~~^~~~~~~~ >vad.c:238:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (hasTriggered |= c->meanMeas >= p->triggerLevel) { > ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vad.c:238:26: note: place parentheses around the assignment to silence this warning > if (hasTriggered |= c->meanMeas >= p->triggerLevel) { > ^ > ( ) >vad.c:238:26: note: use '!=' to turn this compound assignment into an inequality comparison > if (hasTriggered |= c->meanMeas >= p->triggerLevel) { > ^~ > != >vad.c:265:62: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] > p->flushedLen_ns = (p->measuresLen - numMeasuresToFlush) * p->measurePeriod_ns; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >--- libsox_la-vol.lo --- >vol.c:152:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = sample; > ~ ^~~~~~ >vol.c:162:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *obuf++ = sample; > ~ ^~~~~~ >2 warnings generated. >--- libsox_la-vad.lo --- >13 warnings generated. >--- libsox_la-spectrogram.lo --- > CC libsox_la-spectrogram.lo >--- libsox_la-raw-fmt.lo --- > CC libsox_la-raw-fmt.lo >--- libsox_la-spectrogram.lo --- >spectrogram.c:116:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'x', x_size0 , 100, MAX_X_SIZE) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >spectrogram.c:118:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'y', y_size , 64 , 1200) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >spectrogram.c:119:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'Y', Y_size , 130, MAX_FFT_SIZE / 2 + 2) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >spectrogram.c:120:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'z', dB_range , 20 , 180) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >spectrogram.c:121:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'Z', gain ,-100, 100) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >spectrogram.c:122:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'q', spectrum_points, 0 , p->spectrum_points) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >spectrogram.c:123:5: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > GETOPT_NUMERIC(optstate, 'p', perm , 1 , 6) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:294:51: note: expanded from macro 'GETOPT_NUMERIC' >#define GETOPT_NUMERIC(state, ch, name, min, max) GETOPT_LOCAL_NUMERIC(state, ch, p->name, min, max) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox_i.h:291:10: note: expanded from macro 'GETOPT_LOCAL_NUMERIC' > name = d; \ > ~ ^ >spectrogram.c:125:29: warning: implicit conversion changes signedness: 'int' to 'win_type_t' [-Wsign-conversion] > case 'w': p->win_type = lsx_enum_option(c, optstate.arg, window_options); break; > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >spectrogram.c:167:45: warning: comparison of constant 2147483647 with expression of type 'win_type_t' is always false [-Wtautological-constant-out-of-range-compare] > return optstate.ind !=argc || p->win_type == INT_MAX? lsx_usage(effp) : SOX_SUCCESS; > ~~~~~~~~~~~ ^ ~~~~~~~ >spectrogram.c:195:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > double * q = lsx_malloc(2 * (n / 2 + 1) * n * sizeof(*q)), * p = q; > ~~~~~~~~~~~~~~~~^~~ ~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >spectrogram.c:265:35: warning: operand of ? changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > int y = max(32, (p->Y_size? p->Y_size : 550) / effp->in_signal.channels - 2); > ~~~^~~~~~ ~ >./util.h:199:28: note: expanded from macro 'max' >#define max(a, b) ((a) >= (b) ? (a) : (b)) > ^ >spectrogram.c:265:35: warning: operand of ? changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > int y = max(32, (p->Y_size? p->Y_size : 550) / effp->in_signal.channels - 2); > ~~~^~~~~~ ~ >./util.h:199:40: note: expanded from macro 'max' >#define max(a, b) ((a) >= (b) ? (a) : (b)) > ^ >spectrogram.c:265:76: warning: operand of ? changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > int y = max(32, (p->Y_size? p->Y_size : 550) / effp->in_signal.channels - 2); > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ >./util.h:199:40: note: expanded from macro 'max' >#define max(a, b) ((a) >= (b) ? (a) : (b)) > ^ >spectrogram.c:276:74: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > p->step_size = (p->slack_overlap? sqrt(actual * p->dft_size) : actual) + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >spectrogram.c:277:41: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > p->block_steps = effp->in_signal.rate / pixels_per_sec; > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >spectrogram.c:278:79: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > p->step_size = p->block_steps / ceil((double)p->block_steps / p->step_size) +.5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ >spectrogram.c:279:20: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > p->block_steps = floor((double)p->block_steps / p->step_size +.5); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >spectrogram.c:302:42: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->dBfs = lsx_realloc(p->dBfs, p->cols * p->rows * sizeof(*p->dBfs)); > ~~~~~~~~^~~~~~~~~ ~ >spectrogram.c:306:49: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > p->dBfs[(p->cols - 1) * p->rows + i] = dBfs + p->gain; > ~ ~~~~~^~~~~~~~~ >spectrogram.c:309:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memset(p->magnitudes, 0, p->rows * sizeof(*p->magnitudes)); > ~~~^~~~ ~ >spectrogram.c:336:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > (p->dft_size - p->step_size) * sizeof(*p->buf)); > ~~~~~~~~~~~~^~~~~~~~~~~~~~ ~ >spectrogram.c:367:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > sox_sample_t * ibuf = lsx_calloc(p->dft_size, sizeof(*ibuf)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:28: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >spectrogram.c:367:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > sox_sample_t * ibuf = lsx_calloc(p->dft_size, sizeof(*ibuf)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:56: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >spectrogram.c:367:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > sox_sample_t * ibuf = lsx_calloc(p->dft_size, sizeof(*ibuf)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:67: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >spectrogram.c:368:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > sox_sample_t * obuf = lsx_calloc(p->dft_size, sizeof(*obuf)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:28: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >spectrogram.c:368:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > sox_sample_t * obuf = lsx_calloc(p->dft_size, sizeof(*obuf)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:56: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >spectrogram.c:368:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > sox_sample_t * obuf = lsx_calloc(p->dft_size, sizeof(*obuf)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >./xmalloc.h:27:67: note: expanded from macro 'lsx_calloc' >#define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) > ^ >spectrogram.c:369:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > size_t isamp = (p->dft_size - p->step_size) / 2; > ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ >spectrogram.c:370:39: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion] > int left_over = (isamp + p->read) % p->step_size; > ~~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ >spectrogram.c:370:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > int left_over = (isamp + p->read) % p->step_size; > ~ ~~~^~~~ >spectrogram.c:370:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > int left_over = (isamp + p->read) % p->step_size; > ~ ~~~^~~~~~~~~ >spectrogram.c:373:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > isamp += p->step_size - left_over; > ~~ ~~~~~~~~~~~~~^~~~~~~~~~~ >spectrogram.c:392:65: warning: operand of ? changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > unsigned c = x < -p->dB_range? 0 : x >= 0? p->spectrum_points - 1 : > ~ ~~~~~~~~~~~~~~~~~~~^~~ >spectrogram.c:393:9: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > 1 + (1 + x / p->dB_range) * (p->spectrum_points - 2); > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >spectrogram.c:422:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'png_byte' (aka 'unsigned char') [-Wconversion] > palette[at].red = .5 + 255 * c[0]; > ~ ~~~^~~~~~~~~~~~ >spectrogram.c:423:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'png_byte' (aka 'unsigned char') [-Wconversion] > palette[at].green= .5 + 255 * c[1]; > ~ ~~~^~~~~~~~~~~~ >spectrogram.c:424:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'png_byte' (aka 'unsigned char') [-Wconversion] > palette[at].blue = .5 + 255 * c[2]; > ~ ~~~^~~~~~~~~~~~ >spectrogram.c:430:32: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int j, phase_num = min(7 * x, 6); > ~~~~~~~~~ ~~^~~ >./util.h:194:34: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >spectrogram.c:440:76: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int n = (double)i / (p->spectrum_points - 1) * (alt_palette_len - 1) + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >spectrogram.c:455:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'png_byte' (aka 'unsigned char') [-Wconversion] > palette[at].red = .5 + 255 * c[p->perm % 3]; > ~ ~~~^~~~~~~~~~~~~~~~~~~~~~ >spectrogram.c:456:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'png_byte' (aka 'unsigned char') [-Wconversion] > palette[at].green= .5 + 255 * c[(1 + p->perm + (p->perm % 2)) % 3]; > ~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >spectrogram.c:457:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'png_byte' (aka 'unsigned char') [-Wconversion] > palette[at].blue = .5 + 255 * c[(2 + p->perm - (p->perm % 2)) % 3]; > ~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >spectrogram.c:497:41: warning: implicit conversion loses integer precision: 'int' to 'png_byte' (aka 'unsigned char') [-Wconversion] > case 0: pixel(x + j, y - i) = c; break; > ~ ^ >spectrogram.c:498:41: warning: implicit conversion loses integer precision: 'int' to 'png_byte' (aka 'unsigned char') [-Wconversion] > case 1: pixel(x + i, y + j) = c; break; > ~ ^ >spectrogram.c:516:18: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > prefix_num = floor(log_10 / 3); > ~ ^~~~~~~~~~~~~~~~~ >spectrogram.c:519:27: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] > *prefix = "pnum-kMGTPE" + prefix_num + (prefix_num? 4 : 11); > ~~~~~~~~~~~~~~^~~~~~~~~~~~ >spectrogram.c:519:27: note: use array indexing to silence this warning > *prefix = "pnum-kMGTPE" + prefix_num + (prefix_num? 4 : 11); > ^ > & [ ] >spectrogram.c:521:23: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > return step * scale + .5; > ~~~~~~ ~~~~~~~~~~~~~^~~~ >spectrogram.c:535:42: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > int chans = effp->in_signal.channels; > ~~~~~ ~~~~~~~~~~~~~~~~^~~~~~~~ >spectrogram.c:539:42: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > png_byte * pixels = lsx_malloc(cols * rows * sizeof(*pixels)); > ~~~~~^~~~~~ ~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >spectrogram.c:540:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > png_bytepp png_rows = lsx_malloc(rows * sizeof(*png_rows)); > ^~~~ ~ >./xmalloc.h:26:45: note: expanded from macro 'lsx_malloc' >#define lsx_malloc(size) lsx_realloc(NULL, (size)) > ^ >spectrogram.c:563:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > memset(pixels, Background, cols * rows * sizeof(*pixels)); > ~~~~~^~~~~~ ~ >spectrogram.c:578:47: warning: implicit conversion loses integer precision: 'unsigned int' to 'png_byte' (aka 'unsigned char') [-Wconversion] > pixel(!p->raw * left + i, base + j) = colour(p, q->dBfs[i*p->rows + j]); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >spectrogram.c:598:53: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int y, x = limit? (double)i / limit * p->cols + .5 : 0; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >spectrogram.c:604:16: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > x = left + x - 3 * strlen(text); > ~~~~~^~~ ~ >spectrogram.c:617:61: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int x, y = limit? (double)i / limit * (p->rows - 1) + .5 : 0; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >spectrogram.c:622:40: warning: data argument not used by format string [-Wformat-extra-args] > sprintf(text, i?"%5g":" DC", .1 * i); /* Tick labels */ > ~~~~~~~ ^ >spectrogram.c:624:36: warning: data argument not used by format string [-Wformat-extra-args] > sprintf(text, i?"%g":"DC", .1 * i); > ~~~~ ^ >spectrogram.c:634:20: warning: implicit conversion loses integer precision: 'unsigned int' to 'png_byte' (aka 'unsigned char') [-Wconversion] > png_byte b = colour(p, p->dB_range * (j / (k - 1.) - 1)); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >spectrogram.c:638:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > step = 10 * ceil(p->dB_range / 10. * (font_y + 2) / (k - 1)); > ~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >spectrogram.c:640:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > int y = (double)i / p->dB_range * (k - 1) + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >spectrogram.c:604:20: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > x = left + x - 3 * strlen(text); > ~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~ >--- libsox_la-s1-fmt.lo --- > CC libsox_la-s1-fmt.lo >--- libsox_la-spectrogram.lo --- >61 warnings generated. >--- libsox_la-s2-fmt.lo --- > CC libsox_la-s2-fmt.lo >--- libsox_la-s3-fmt.lo --- > CC libsox_la-s3-fmt.lo >--- libsox_la-s4-fmt.lo --- > CC libsox_la-s4-fmt.lo >--- libsox_la-u1-fmt.lo --- > CC libsox_la-u1-fmt.lo >--- libsox_la-u2-fmt.lo --- > CC libsox_la-u2-fmt.lo >--- libsox_la-u3-fmt.lo --- > CC libsox_la-u3-fmt.lo >--- libsox_la-u4-fmt.lo --- > CC libsox_la-u4-fmt.lo >--- libsox_la-al-fmt.lo --- > CC libsox_la-al-fmt.lo >--- libsox_la-la-fmt.lo --- > CC libsox_la-la-fmt.lo >--- libsox_la-ul-fmt.lo --- > CC libsox_la-ul-fmt.lo >--- libsox_la-lu-fmt.lo --- > CC libsox_la-lu-fmt.lo >--- libsox_la-8svx.lo --- > CC libsox_la-8svx.lo >--- libsox_la-aiff-fmt.lo --- > CC libsox_la-aiff-fmt.lo >--- libsox_la-8svx.lo --- >8svx.c:246:33: warning: implicit conversion changes signedness: 'sox_int8_t' (aka 'signed char') to 'unsigned char' [-Wsign-conversion] > datum = SOX_SAMPLE_TO_SIGNED_8BIT(*buf++, ft->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:925:44: note: expanded from macro 'SOX_SAMPLE_TO_SIGNED_8BIT' >#define SOX_SAMPLE_TO_SIGNED_8BIT(d,clips) SOX_SAMPLE_TO_SIGNED(8,d,clips) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:801:3: note: expanded from macro 'SOX_SAMPLE_TO_SIGNED' > (sox_int##bits##_t)(LSX_USE_VAR(sox_macro_temp_double),sox_macro_temp_sample=(d),sox_macro_temp_sample>SOX_SAMPLE_MAX-(1<<(31-bits))?++(clips),SOX_INT_MAX(bits):((sox_uint32_t)(sox_macro_temp_sample+(1<<(31-bits))))>>(32-bits)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >1 warning generated. >--- libsox_la-aifc-fmt.lo --- > CC libsox_la-aifc-fmt.lo >--- libsox_la-au.lo --- > CC libsox_la-au.lo >--- libsox_la-avr.lo --- > CC libsox_la-avr.lo >--- libsox_la-au.lo --- >au.c:104:30: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > p->in_buffer |= (in_byte << p->in_bits); > ~~ ~~~~~~~~^~~~~~~~~~~~~ >au.c:107:24: warning: implicit conversion loses integer precision: 'unsigned int' to 'unsigned char' [-Wconversion] > *code = p->in_buffer & ((1 << ft->encoding.bits_per_sample) - 1); > ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >au.c:146:38: warning: implicit conversion changes signedness: 'sox_bool' (aka 'enum sox_bool') to 'sox_option_t' (aka 'enum sox_option_t') [-Wsign-conversion] > ft->encoding.reverse_bytes = id[i].reverse_bytes; > ~ ~~~~~~^~~~~~~~~~~~~ >au.c:163:17: warning: operand of ? changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] > int n = min(ft_encoding, Unknown_other); > ~ ^~~~~~~~~~~ >./util.h:194:34: note: expanded from macro 'min' >#define min(a, b) ((a) <= (b) ? (a) : (b)) > ^ >4 warnings generated. >--- libsox_la-cdr.lo --- > CC libsox_la-cdr.lo >--- libsox_la-cvsd-fmt.lo --- > CC libsox_la-cvsd-fmt.lo >--- libsox_la-dvms-fmt.lo --- > CC libsox_la-dvms-fmt.lo >--- libsox_la-cvsd-fmt.lo --- >cvsd-fmt.c:59:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > p->last_n_bits = ((p->last_n_bits << 1) | bit) & 7; > ~ ^~~ >cvsd-fmt.c:83:14: warning: implicit conversion turns floating-point number into integer: 'double' to 'sox_sample_t' (aka 'int') [-Wconversion] > *buf++ = floor(p->sample + .5); > ~ ^~~~~~~~~~~~~~~~~~~~~ >2 warnings generated. >--- libsox_la-dat.lo --- > CC libsox_la-dat.lo >--- libsox_la-hcom.lo --- > CC libsox_la-hcom.lo >--- libsox_la-dat.lo --- >dat.c:39:29: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > ft->signal.channels=chan; > ~^~~~ >--- libsox_la-hcom.lo --- >hcom.c:159:23: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion] > p->checksum = checksum; > ~ ^~~~~~~~ >hcom.c:160:31: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] > p->deltacompression = compresstype; > ~ ^~~~~~~~~~~~ >--- libsox_la-dat.lo --- >1 warning generated. >--- libsox_la-hcom.lo --- >hcom.c:192:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > return done; > ~~~~~~ ^~~~ >hcom.c:231:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > return done; > ~~~~~~ ^~~~ >hcom.c:344:19: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > datafork[i] = d; > ~ ^ >hcom.c:353:30: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > p->de->dict_rightson = i; > ~ ^ >hcom.c:365:35: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > newdict[j].dict_leftson = k; > ~ ^ >hcom.c:368:36: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > newdict[j].dict_rightson = k; > ~ ^ >hcom.c:382:31: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > newdict[i].dict_leftson = j; > ~ ^ >hcom.c:383:38: warning: implicit conversion loses integer precision: 'long' to 'short' [-Wconversion] > newdict[i].dict_rightson = p->de - newdict; > ~ ~~~~~~^~~~~~~~~ >hcom.c:387:20: warning: implicit conversion loses integer precision: 'long' to 'short' [-Wconversion] > dictsize = p->de - newdict; > ~ ~~~~~~^~~~~~~~~ >hcom.c:418:40: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > samplerate = 22050 / ft->signal.rate + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >hcom.c:356:22: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] > frequcount = p->de - newdict; > ~ ~~~~~~^~~~~~~~~ >hcom.c:360:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] > k = newdict[i].frequ; > ~ ~~~~~~~~~~~^~~~~ >hcom.c:377:30: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] > l = newdict[j - 1].frequ + newdict[j].frequ; > ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ >--- libsox_la-htk.lo --- > CC libsox_la-htk.lo >--- libsox_la-hcom.lo --- >15 warnings generated. >--- libsox_la-maud.lo --- > CC libsox_la-maud.lo >--- libsox_la-prc.lo --- > CC libsox_la-prc.lo >prc.c:227:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > a |= byte << 8; > ~~ ~~~~~^~~~ >prc.c:234:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > a |= byte << 16; > ~~ ~~~~~^~~~~ >prc.c:238:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > a |= byte << 24; > ~~ ~~~~~^~~~~ >prc.c:334:14: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint8_t' (aka 'unsigned char') [-Wconversion] > byte = a << 1; > ~ ~~^~~~ >prc.c:338:21: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint8_t' (aka 'unsigned char') [-Wconversion] > byte = (a << 2) | 1; > ~ ~~~~~~~~~^~~ >prc.c:341:14: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint8_t' (aka 'unsigned char') [-Wconversion] > byte = a >> 6; > ~ ~~^~~~ >--- libsox_la-sf.lo --- >--- libsox_la-prc.lo --- >prc.c:345:21: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint8_t' (aka 'unsigned char') [-Wconversion] > byte = (a << 3) | 3; > ~ ~~~~~~~~~^~~ >prc.c:348:14: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint8_t' (aka 'unsigned char') [-Wconversion] > byte = a >> 5; > ~ ~~^~~~ >prc.c:351:14: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint8_t' (aka 'unsigned char') [-Wconversion] > byte = a >> 13; > ~ ~~^~~~~ >prc.c:354:14: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint8_t' (aka 'unsigned char') [-Wconversion] > byte = a >> 21; > ~ ~~^~~~~ >prc.c:393:28: warning: implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] > p->nbytes = lsx_tell(ft) - p->data_start; > ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ >--- libsox_la-sf.lo --- >CC libsox_la-sf.lo >--- libsox_la-prc.lo --- >11 warnings generated. >--- libsox_la-smp.lo --- > CC libsox_la-smp.lo >--- libsox_la-sf.lo --- >sf.c:88:38: warning: implicit conversion changes signedness: 'sox_bool' (aka 'enum sox_bool') to 'sox_option_t' (aka 'enum sox_option_t') [-Wsign-conversion] > ft->encoding.reverse_bytes = id[i].reverse_bytes; > ~ ~~~~~~^~~~~~~~~~~~~ >1 warning generated. >--- libsox_la-sounder.lo --- > CC libsox_la-sounder.lo >--- libsox_la-smp.lo --- >smp.c:125:60: warning: implicit conversion loses integer precision: 'unsigned int' to 'unsigned short' [-Wconversion] > trailer->loops[i].count = ft->oob.loops[i].count; > ~ ~~~~~~~~~~~~~~~~~^~~~~ >smp.c:140:25: warning: implicit conversion turns floating-point number into integer: 'sox_rate_t' (aka 'double') to 'uint32_t' (aka 'unsigned int') [-Wconversion] > trailer->rate = rate; > ~ ^~~~ >smp.c:119:40: warning: implicit conversion loses integer precision: 'sox_uint64_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] > : ft->oob.loops[i].start; > ~~~~~~~~~~~~~~~~~^~~~~ >smp.c:123:46: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] > : ft->oob.loops[i].start + ft->oob.loops[i].length; > ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >smp.c:284:26: warning: implicit conversion changes signedness: 'off_t' (aka 'long') to 'uint64_t' (aka 'unsigned long') [-Wsign-conversion] > smp->dataStart = samplestart; > ~ ^~~~~~~~~~~ >5 warnings generated. >--- libsox_la-soundtool.lo --- > CC libsox_la-soundtool.lo >--- libsox_la-sphere.lo --- > CC libsox_la-sphere.lo >--- libsox_la-tx16w.lo --- > CC libsox_la-tx16w.lo >--- libsox_la-voc.lo --- > CC libsox_la-voc.lo >--- libsox_la-tx16w.lo --- >tx16w.c:326:46: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > LoopLength = sk->samples_out - TXMAXLEN/2; > ~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ >tx16w.c:333:62: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > AttackLength = sk->samples_out -0x40; > ~ ~~~~~~~~~~~~~~~~^~~~~ >tx16w.c:339:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > for(i=sk->samples_out;i<0x80;i++) { > ~~~~~^~~~~~~~~~~ >3 warnings generated. >--- libsox_la-voc.lo --- >voc.c:296:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > ft->encoding.bits_per_sample = v->size; > ~ ~~~^~~~ >voc.c:332:27: warning: operand of ? changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > size_t per = max(1, 9 / v->size); > ~~~ ~~^~~~~~~~~ >./util.h:199:40: note: expanded from macro 'max' >#define max(a, b) ((a) >= (b) ? (a) : (b)) > ^ >voc.c:496:12: warning: implicit conversion loses integer precision: 'int' to 'int16_t' (aka 'short') [-Wconversion] > sw = (int) SOX_SAMPLE_TO_SIGNED_16BIT(*buf++, ft->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >voc.c:642:63: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned short' [-Wconversion] > period = (period * (256. - uc)) / (256 - v->rate) + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >voc.c:724:18: warning: implicit conversion changes signedness: 'off_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > v->blockseek = lsx_tell(ft); > ~ ^~~~~~~~~~~~ >voc.c:743:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'long' [-Wconversion] > v->rate = 65536 - (256000000.0 / (2 * ft->signal.rate)) + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >voc.c:752:53: warning: implicit conversion turns floating-point number into integer: 'double' to 'long' [-Wconversion] > v->rate = 256 - (1000000.0 / ft->signal.rate) + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >voc.c:760:33: warning: implicit conversion turns floating-point number into integer: 'double' to 'long' [-Wconversion] > v->rate = ft->signal.rate + .5; > ~ ~~~~~~~~~~~~~~~~^~~~ >--- libsox_la-vox-fmt.lo --- > CC libsox_la-vox-fmt.lo >--- libsox_la-voc.lo --- >8 warnings generated. >--- libsox_la-ima-fmt.lo --- > CC libsox_la-ima-fmt.lo >--- libsox_la-adpcm.lo --- > CC libsox_la-adpcm.lo >--- libsox_la-ima_rw.lo --- > CC libsox_la-ima_rw.lo >--- libsox_la-adpcm.lo --- >adpcm.c:148:19: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > top = obuff + n*chans; > ^~ >adpcm.c:154:15: warning: implicit conversion loses integer precision: 'sox_sample_t' (aka 'int') to 'short' [-Wconversion] > *op++ = AdpcmDecode(b >> 4, state+ch2, tmp[-(int)chans], tmp[-(int)(2*chans)]); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >adpcm.c:157:15: warning: implicit conversion loses integer precision: 'sox_sample_t' (aka 'int') to 'short' [-Wconversion] > *op++ = AdpcmDecode(b&0x0f, state+ch2, tmp[-(int)chans], tmp[-(int)(2*chans)]); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >adpcm.c:182:24: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > itop = ibuff + n*chans; > ^~ >adpcm.c:196:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > op[0] = step; op[1] = step>>8; > ~ ^~~~ >adpcm.c:196:43: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > op[0] = step; op[1] = step>>8; > ~ ~~~~^~~ >adpcm.c:198:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > op[0] = v0; op[1] = v0>>8; > ~ ^~ >adpcm.c:198:39: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > op[0] = v0; op[1] = v0>>8; > ~ ~~^~~ >adpcm.c:200:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > op[0] = v1; op[1] = v1>>8; > ~ ^~ >adpcm.c:200:39: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > op[0] = v1; op[1] = v1>>8; > ~ ~~^~~ >adpcm.c:202:23: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > ox = 4*ch; > ~ ~^~~ >adpcm.c:294:21: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > obuff[ch] = kmin; > ~ ^~~~ >12 warnings generated. >--- libsox_la-wav.lo --- >--- libsox_la-ima_rw.lo --- >ima_rw.c:60:53: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > imaStateAdjustTable[i][j] = k; > ~ ^ >--- libsox_la-wav.lo --- > CC libsox_la-wav.lo >--- libsox_la-ima_rw.lo --- >ima_rw.c:80:18: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > i_inc = 4*(chans-1); /* amount by which to incr ip after each 4-byte read */ > ~ ~^~~~~~~~~~ >ima_rw.c:91:15: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > *op = val; /* 1st output sample for this channel */ > ~ ^~~ >ima_rw.c:126:23: warning: implicit conversion loses integer precision: 'int' to 'short' [-Wconversion] > *op = val; > ~ ^~~ >ima_rw.c:176:24: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > itop = ibuff + n*chans; > ^~ >ima_rw.c:184:26: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > o_inc = 4*(chans-1); /* amount by which to incr op after each 4-byte written */ > ~ ~^~~~~~~~~~ >ima_rw.c:185:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > *op++ = val; *op++ = val>>8; > ~ ^~~ >ima_rw.c:185:41: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > *op++ = val; *op++ = val>>8; > ~ ~~~^~~ >ima_rw.c:186:25: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > *op++ = *st; *op++ = 0; /* they could have put a mid-block state-correction here */ > ~ ^~~ >ima_rw.c:211:39: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] > *op = cm; > ~ ^~ >10 warnings generated. >--- libsox_la-wve.lo --- > CC libsox_la-wve.lo >--- libsox_la-wav.lo --- >wav.c:142:12: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wconversion] > return samplesThisBlock; > ~~~~~~ ^~~~~~~~~~~~~~~~ >wav.c:129:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > samplesThisBlock = lsx_ima_samples_in((size_t)0, (size_t)ft->signal.channels, bytesRead, (size_t) 0); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >wav.c:183:12: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wconversion] > return samplesThisBlock; > ~~~~~~ ^~~~~~~~~~~~~~~~ >wav.c:170:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > samplesThisBlock = lsx_ms_adpcm_samples_in((size_t)0, (size_t)ft->signal.channels, bytesRead, (size_t)0); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >wav.c:198:12: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > ct = p - wav->samples; > ~ ~~^~~~~~~~~~~~~~ >wav.c:275:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > bytes = lsx_readbuf(ft, frame, (size_t)65); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >wav.c:917:22: warning: implicit conversion changes signedness: 'off_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > wav->dataStart = lsx_tell(ft); > ~ ^~~~~~~~~~~~ >wav.c:575:16: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] > wFmtSize = len; > ~ ^~~ >wav.c:1377:37: warning: implicit conversion turns floating-point number into integer: 'sox_rate_t' (aka 'double') to 'uint32_t' (aka 'unsigned int') [-Wconversion] > dwSamplesPerSecond = ft->signal.rate; > ~ ~~~~~~~~~~~^~~~ >wav.c:1378:28: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint16_t' (aka 'unsigned short') [-Wconversion] > wChannels = ft->signal.channels; > ~ ~~~~~~~~~~~^~~~~~~~ >wav.c:1379:35: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint16_t' (aka 'unsigned short') [-Wconversion] > wBitsPerSample = ft->encoding.bits_per_sample; > ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ >wav.c:1388:37: warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wconversion] > wBlockAlign = wChannels * bytespersample; > ~ ~~~~~~~~~~^~~~~~~~~~~~~~~~ >wav.c:1393:37: warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wconversion] > wBlockAlign = wChannels * bytespersample; > ~ ~~~~~~~~~~^~~~~~~~~~~~~~~~ >wav.c:1413:32: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint16_t' (aka 'unsigned short') [-Wconversion] > wSamplesPerBlock = lsx_ima_samples_in((size_t) 0, (size_t) wChannels, (size_t) wBlockAlign, (size_t) 0); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >wav.c:1422:43: warning: implicit conversion turns floating-point number into integer: 'double' to 'uint16_t' (aka 'unsigned short') [-Wconversion] > wBlockAlign = ft->signal.rate / 11008; > ~ ~~~~~~~~~~~~~~~~^~~~~~~ >wav.c:1426:32: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint16_t' (aka 'unsigned short') [-Wconversion] > wSamplesPerBlock = lsx_ms_adpcm_samples_in((size_t) 0, (size_t) wChannels, (size_t) wBlockAlign, (size_t) 0); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >wav.c:1483:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'uint32_t' (aka 'unsigned int') [-Wconversion] > dwAvgBytesPerSec = (double)wBlockAlign*ft->signal.rate / (double)wSamplesPerBlock + 0.5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ >wav.c:1458:38: warning: implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] > dwDataLength = blocksWritten * wBlockAlign; > ~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~ >wav.c:1459:42: warning: implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] > dwSamplesWritten = blocksWritten * wSamplesPerBlock; > ~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ >wav.c:1462:33: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] > second_header? wav->numSamples : ft->signal.length / wChannels; > ~~~~~^~~~~~~~~~ >wav.c:1462:64: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] > second_header? wav->numSamples : ft->signal.length / wChannels; > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ >wav.c:1464:38: warning: implicit conversion loses integer precision: 'long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] > dwDataLength = blocksWritten * wBlockAlign; > ~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~ >wav.c:1592:31: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'ptrdiff_t' (aka 'long') [-Wsign-conversion] > ptrdiff_t total_len = len; > ~~~~~~~~~ ^~~ >wav.c:1605:27: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] > len -= top-p; /* update residual len */ > ~~ ~~~^~ >wav.c:1614:20: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion] > return total_len - len; > ^~~~~~~~~ ~ >wav.c:1750:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > new_offset += (wav->samplesPerBlock - alignment); > ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ >wav.c:1756:16: warning: implicit conversion turns floating-point number into integer: 'double' to 'off_t' (aka 'long') [-Wconversion] > off_t to = to_d; > ~~ ^~~~ >--- libsox_la-xa.lo --- > CC libsox_la-xa.lo >--- libsox_la-wav.lo --- >27 warnings generated. >--- libsox_la-xa.lo --- >xa.c:157:40: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint16_t' (aka 'unsigned short') [-Wconversion] > xa->header.bits = ft->encoding.bits_per_sample; > ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ >xa.c:162:64: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint16_t' (aka 'unsigned short') [-Wconversion] > xa->header.align = (ft->encoding.bits_per_sample >> 3) * xa->header.channels; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >2 warnings generated. >--- libsox_la-nulfile.lo --- > CC libsox_la-nulfile.lo >--- libsox_la-f4-fmt.lo --- > CC libsox_la-f4-fmt.lo >--- libsox_la-f8-fmt.lo --- >--- libsox_la-gsrt.lo --- >--- libsox_la-f8-fmt.lo --- >CC libsox_la-f8-fmt.lo >--- libsox_la-gsrt.lo --- >CC libsox_la-gsrt.lo >gsrt.c:88:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > int i, checksum = (file_size >> 16) + file_size; > ~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ >gsrt.c:89:24: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > for (i = file_size - 2; i; --i) { > ~ ~~~~~~~~~~^~~ >gsrt.c:158:35: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] > long num_samples = ft->tell_off - HEADER_SIZE; > ~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~ >gsrt.c:169:48: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > checksum = (file_size >> 16) + file_size - int16; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ >gsrt.c:169:50: warning: implicit conversion changes signedness: 'int16_t' (aka 'short') to 'unsigned int' [-Wsign-conversion] > checksum = (file_size >> 16) + file_size - int16; > ~ ^~~~~ >gsrt.c:164:42: warning: implicit conversion loses integer precision: 'sox_uint64_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] > unsigned i, file_size = ft->tell_off >> 1; > ~~~~~~~~~ ~~~~~~~~~~~~~^~~~ >gsrt.c:171:36: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] > for (i = (num_samples + 1) >> 1; i; --i) { > ~ ~~~~~~~~~~~~~~~~~~^~~~ >7 warnings generated. >--- libsox_la-ao.lo --- > CC libsox_la-ao.lo >--- libsox_la-flac.lo --- > CC libsox_la-flac.lo >--- libsox_la-ao.lo --- >ao.c:65:34: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > ao->format.bits = ft->encoding.bits_per_sample; > ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ >ao.c:66:32: warning: implicit conversion turns floating-point number into integer: 'sox_rate_t' (aka 'double') to 'int' [-Wconversion] > ao->format.rate = ft->signal.rate; > ~ ~~~~~~~~~~~^~~~ >ao.c:67:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > ao->format.channels = ft->signal.channels; > ~ ~~~~~~~~~~~^~~~~~~~ >ao.c:82:26: warning: implicit conversion changes signedness: 'sox_int16_t' (aka 'short') to 'uint16_t' (aka 'unsigned short') [-Wsign-conversion] > uint16_t datum = SOX_SAMPLE_TO_SIGNED_16BIT(*buf2++, *clips); > ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:941:45: note: expanded from macro 'SOX_SAMPLE_TO_SIGNED_16BIT' >#define SOX_SAMPLE_TO_SIGNED_16BIT(d,clips) SOX_SAMPLE_TO_SIGNED(16,d,clips) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:801:3: note: expanded from macro 'SOX_SAMPLE_TO_SIGNED' > (sox_int##bits##_t)(LSX_USE_VAR(sox_macro_temp_double),sox_macro_temp_sample=(d),sox_macro_temp_sample>SOX_SAMPLE_MAX-(1<<(31-bits))?++(clips),SOX_INT_MAX(bits):((sox_uint32_t)(sox_macro_temp_sample+(1<<(31-bits))))>>(32-bits)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >ao.c:100:52: warning: implicit conversion from enumeration type 'sox_option_t' (aka 'enum sox_option_t') to different enumeration type 'sox_bool' (aka 'enum sox_bool') [-Wenum-conversion] > sox_sw_write_buf(ao->buf, buf, len, ft->encoding.reverse_bytes, > ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~ >ao.c:98:52: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint_32' (aka 'unsigned int') [-Wshorten-64-to-32] > aobuf_size = (ft->encoding.bits_per_sample >> 3) * len; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ >6 warnings generated. >--- libsox_la-flac.lo --- >flac.c:176:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] > p->number_of_leftover_samples = to_stash; > ~ ^~~~~~~~ >flac.c:177:47: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] > nsamples = p->number_of_requested_samples / p->channels; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ >flac.c:395:38: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wconversion] > compression_level = ft->encoding.compression; > ~ ~~~~~~~~~~~~~^~~~~~~~~~~ >flac.c:513:12: warning: implicit conversion from enumeration type 'FLAC__StreamEncoderInitStatus' to different enumeration type 'FLAC__StreamEncoderState' [-Wenum-conversion] > status = FLAC__stream_encoder_init_stream(p->encoder, flac_stream_encoder_write_callback, > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >flac.c:503:22: warning: implicit conversion loses integer precision: 'unsigned long' to 'FLAC__uint32' (aka 'unsigned int') [-Wshorten-64-to-32] > entry.length = strlen(text); > ~ ^~~~~~~~~~~~ >flac.c:532:28: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'unsigned int' [-Wshorten-64-to-32] > p->number_of_samples = len; > ~ ^~~ >flac.c:540:33: warning: implicit conversion loses integer precision: 'long' to 'FLAC__int32' (aka 'int') [-Wshorten-64-to-32] > p->decoded_samples[i] = pcm >> (32 - p->bits_per_sample); > ~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >--- libsox_la-gsm.lo --- > CC libsox_la-gsm.lo >--- libsox_la-flac.lo --- >7 warnings generated. >--- libsox_la-gsm.lo --- >gsm.c:119:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > chans = p->channels; > ~ ~~~^~~~~~~~ >gsm.c:139:67: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > if (gsm_decode(p->handle[ch], p->frames + ch*FRAMESIZE, gbuff) < 0) > ^~~ >gsm.c:162:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > chans = p->channels; > ~ ~~~^~~~~~~~ >gsm.c:179:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > r = lsx_writebuf(ft, p->frames, FRAMESIZE); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >--- libsox_la-lpc10.lo --- >CC libsox_la-lpc10.lo >--- libsox_la-gsm.lo --- >4 warnings generated. >--- libsox_la-mp3.lo --- > CC libsox_la-mp3.lo >--- libsox_la-lpc10.lo --- >lpc10.c:183:37: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion] > lpc->speech[lpc->samples++] = SOX_SAMPLE_TO_FLOAT_32BIT(buf[nwritten++], ft->clips); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./sox.h:981:105: note: expanded from macro 'SOX_SAMPLE_TO_FLOAT_32BIT' >#define SOX_SAMPLE_TO_FLOAT_32BIT(d,clips) (LSX_USE_VAR(sox_macro_temp_double),sox_macro_temp_sample=(d),sox_macro_temp_sample>SOX_SAMPLE_MAX-64?++(clips),1:(((sox_macro_temp_sample+64)&~127)*(1./(SOX_SAMPLE_MAX+1.)))) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >1 warning generated. >--- libsox_la-opus.lo --- > CC libsox_la-opus.lo >--- libsox_la-mp3.lo --- >mp3.c:271:66: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > size = 10 + (data[6]<<21) + (data[7]<<14) + (data[8]<<7) + data[9]; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ >mp3.c:275:16: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > return size; > ~~~~~~ ^~~~ >In file included from mp3.c:283: >./mp3-util.h:275:41: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > size_t leftover = mad_stream.bufend - mad_stream.next_frame; > ~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >./mp3-util.h:285:75: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->mad_stream_buffer(&mad_stream, p->mp3_buffer + padding, leftover + read - padding); > ~ ^~~~ >./mp3-util.h:285:82: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > p->mad_stream_buffer(&mad_stream, p->mp3_buffer + padding, leftover + read - padding); > ~ ^~~~~~~ >./mp3-util.h:298:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > tagsize = tagtype(mad_stream.this_frame, (size_t) available); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./mp3-util.h:313:41: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] > consumed += mad_stream.next_frame - mad_stream.this_frame; > ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >./mp3-util.h:347:10: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > return p->mad_timer_count(time, MAD_UNITS_MILLISECONDS); > ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./mp3-util.h:278:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > read = lsx_readbuf(ft, p->mp3_buffer + leftover, p->mp3_buffer_size - leftover); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./mp3-util.h:297:51: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] > unsigned available = (mad_stream.bufend - mad_stream.this_frame); > ~~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >mp3.c:298:34: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > remaining = p->Stream.bufend - p->Stream.next_frame; > ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >mp3.c:348:34: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > remaining = p->Stream.bufend - p->Stream.next_frame; > ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >mp3.c:349:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > if ((tagsize = tagtype(p->Stream.this_frame, remaining))) > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >mp3.c:490:54: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > size_t x = (p->Synth.pcm.length - p->cursamp)*ft->signal.channels; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ >mp3.c:590:40: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > size_t leftover = p->Stream.bufend - p->Stream.next_frame; > ~~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >mp3.c:616:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] > tagsize = tagtype(p->Stream.this_frame, (size_t) available); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >mp3.c:630:40: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] > consumed += p->Stream.next_frame - p->Stream.this_frame; > ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >mp3.c:642:22: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long') to 'ptrdiff_t' (aka 'long') [-Wsign-conversion] > p->cursamp = to_skip_samples; > ~ ^~~~~~~~~~~~~~~ >mp3.c:615:50: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] > unsigned available = (p->Stream.bufend - p->Stream.this_frame); > ~~~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >mp3.c:123:26: warning: unused variable 'lame_library_names' [-Wunused-const-variable] >static const char* const lame_library_names[] = > ^ >mp3.c:189:26: warning: unused variable 'twolame_library_names' [-Wunused-const-variable] >static const char* const twolame_library_names[] = > ^ >21 warnings generated. >--- libsox_la-opus.lo --- >opus.c:53:10: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > return lsx_readbuf(ft, ptr, (size_t)nbytes); > ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >opus.c:114:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > ft->signal.channels = op_channel_count(vb->of, -1); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >opus.c:121:50: warning: implicit conversion changes signedness: 'long' to 'sox_uint64_t' (aka 'unsigned long') [-Wsign-conversion] > ft->signal.length = op_pcm_total(vb->of, -1) * ft->signal.channels; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >opus.c:163:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > vb->end += num_read * sizeof(opus_int16) * ft->signal.channels; > ^~~~~~~~ ~ >4 warnings generated. >--- libsox_la-oss.lo --- > CC libsox_la-oss.lo >--- libsox_la-vorbis.lo --- > CC libsox_la-vorbis.lo >--- libsox_la-oss.lo --- >oss.c:229:35: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > ft->signal.channels = tmp + 1; > ~ ~~~~^~~ >oss.c:231:22: warning: implicit conversion turns floating-point number into integer: 'sox_rate_t' (aka 'double') to 'int' [-Wconversion] > tmp = ft->signal.rate; > ~ ~~~~~~~~~~~^~~~ >oss.c:257:35: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] > pPriv->cOutput = cbOutput >> pPriv->sample_shift; > ~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >oss.c:295:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > cbOutputLeft -= cbRead; > ~~ ^~~~~~ >oss.c:287:18: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] > cbRead = read(pPriv->device, pbOutput, cbOutputLeft); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >oss.c:390:57: warning: implicit conversion changes signedness: 'int' to 'sox_int16_t' (aka 'short') [-Wsign-conversion] > ((sox_int16_t*)pPriv->pOutput)[i] = lsx_swapw(s16); > ~ ^~~~~~~~~~~~~~ >./sox_i.h:133:48: note: expanded from macro 'lsx_swapw' >#define lsx_swapw(uw) (((uw >> 8) | (uw << 8)) & 0xffff) > ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ >oss.c:428:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > i += cbWritten; > ~~ ^~~~~~~~~ >oss.c:427:25: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] > cbWritten = write(pPriv->device, &pPriv->pOutput[i], cbStride - i); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >--- libsox_la-vorbis.lo --- >vorbis.c:134:29: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] > ft->signal.channels = vi->channels; > ~ ~~~~^~~~~~~~ >vorbis.c:141:50: warning: implicit conversion changes signedness: 'long' to 'sox_uint64_t' (aka 'unsigned long') [-Wsign-conversion] > ft->signal.length = ov_pcm_total(vb->vf, -1) * ft->signal.channels; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >vorbis.c:149:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > vb->buf_len -= vb->buf_len % (vi->channels*2); /* 2 bytes per sample */ > ~ ~~~~~~~~~~~~^~ >vorbis.c:181:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] > vb->end += num_read; > ~~ ^~~~~~~~ >vorbis.c:172:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] > num_read = ov_read(vb->vf, vb->buf + vb->end, > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vorbis.c:242:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > written = lsx_writebuf(ft, page->header, (size_t) page->header_len); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vorbis.c:259:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] > vc.comments = sox_num_comments(ft->oob.comments); > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vorbis.c:270:31: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] > vc.comment_lengths[i] = strlen(text); > ~ ^~~~~~~~~~~~ >vorbis.c:305:21: warning: implicit conversion turns floating-point number into integer: 'sox_rate_t' (aka 'double') to 'long' [-Wconversion] > rate = ft->signal.rate; > ~ ~~~~~~~~~~~^~~~ >--- libsox_la-oss.lo --- >8 warnings generated. >--- libsox_la-vorbis.lo --- >9 warnings generated. >--- libsox_la-sndfile.lo --- > CC libsox_la-sndfile.lo >--- libsox_la-caf.lo --- > CC libsox_la-caf.lo >--- libsox_la-sndfile.lo --- >sndfile.c:237:12: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'sf_count_t' (aka 'long') [-Wsign-conversion] > return lsx_readbuf((sox_format_t *)user_data, ptr, (size_t)count); > ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sndfile.c:242:12: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'sf_count_t' (aka 'long') [-Wsign-conversion] > return lsx_writebuf((sox_format_t *)user_data, ptr, (size_t)count); > ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sndfile.c:271:19: warning: implicit conversion loses integer precision: '__ct_rune_t' (aka 'int') to 'char' [-Wconversion] > buffer[k] = tolower((buffer[k])); > ~ ^~~~~~~~~~~~~~~~~~~~ >/usr/include/ctype.h:99:20: note: expanded from macro 'tolower' >#define tolower(c) __sbtolower(c) > ^~~~~~~~~~~~~~ >sndfile.c:312:38: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] > sf->sf_info->channels = ft->signal.channels; > ~ ~~~~~~~~~~~^~~~~~~~ >sndfile.c:314:45: warning: implicit conversion changes signedness: 'unsigned long' to 'sf_count_t' (aka 'long') [-Wsign-conversion] > sf->sf_info->frames = ft->signal.length / ft->signal.channels; > ~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >--- libsox_la-mat4.lo --- > CC libsox_la-mat4.lo >--- libsox_la-sndfile.lo --- >5 warnings generated. >--- libsox_la-mat5.lo --- > CC libsox_la-mat5.lo >--- libsox_la-paf.lo --- > CC libsox_la-paf.lo >--- libsox_la-fap.lo --- > CC libsox_la-fap.lo >--- libsox_la-w64.lo --- > CC libsox_la-w64.lo >--- libsox_la-xi.lo --- > CC libsox_la-xi.lo >--- libsox_la-pvf.lo --- > CC libsox_la-pvf.lo >--- libsox_la-sd2.lo --- > CC libsox_la-sd2.lo >--- sox_sample_test.o --- > CC sox_sample_test.o >--- example0.o --- > CC example0.o >--- example1.o --- > CC example1.o >--- example2.o --- > CC example2.o >--- example3.o --- > CC example3.o >--- example2.o --- >example2.c:67:61: warning: implicit conversion turns floating-point number into integer: 'double' to 'uint64_t' (aka 'unsigned long') [-Wconversion] > seek = start_secs * in->signal.rate * in->signal.channels + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >example2.c:74:69: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion] > block_size = block_period * in->signal.rate * in->signal.channels + .5; > ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >example2.c:108:25: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > l = (1 - left) * 35 + .5; > ~ ~~~~~~~~~~~~~~~~^~~~ >example2.c:109:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] > r = (1 - right) * 35 + .5; > ~ ~~~~~~~~~~~~~~~~~^~~~ >4 warnings generated. >--- example4.o --- > CC example4.o >--- example5.o --- > CC example5.o >--- example6.o --- > CC example6.o >--- sox_sample_test --- > CCLD sox_sample_test >--- libsox.la --- > CCLD libsox.la >--- example0 --- >--- example1 --- >--- example0 --- > CCLD example0 >--- example1 --- > CCLD example1 >--- example2 --- >--- example3 --- >--- example2 --- > CCLD example2 >--- example3 --- > CCLD example3 >--- example4 --- >--- example5 --- >--- example4 --- >CCLD example4 >--- example5 --- > CCLD example5 >--- example6 --- >--- sox --- >--- example6 --- > CCLD example6 >--- sox --- > CCLD sox >--- play --- >--- rec --- >--- play --- >if test "yes" = "yes"; then test -f sox && ( rm -f play && ln -s sox play ) || ln -s sox play; fi >--- rec --- >if test "yes" = "yes"; then test -f sox && ( rm -f rec && ln -s sox rec ) || ln -s sox rec; fi >--- soxi --- >if test "yes" = "yes"; then test -f sox && ( rm -f soxi && ln -s sox soxi ) || ln -s sox soxi; fi >--- all --- >/usr/bin/make all-am >=========================================================================== >====>> Checking for filesystem violations... done >=======================<phase: run-depends >============================ >=========================================================================== >====>> Recording filesystem state for prestage... done >=======================<phase: stage >============================ >===> Staging for sox-14.4.2 >===> sox-14.4.2 depends on shared library: libltdl.so - found (/usr/local/lib/libltdl.so) >===> sox-14.4.2 depends on shared library: libao.so - found (/usr/local/lib/libao.so) >===> sox-14.4.2 depends on shared library: libFLAC.so - found (/usr/local/lib/libFLAC.so) >===> sox-14.4.2 depends on shared library: libgsm.so - found (/usr/local/lib/libgsm.so) >===> sox-14.4.2 depends on shared library: libid3tag.so - found (/usr/local/lib/libid3tag.so) >===> sox-14.4.2 depends on shared library: libmad.so - found (/usr/local/lib/libmad.so) >===> sox-14.4.2 depends on shared library: libopusfile.so - found (/usr/local/lib/libopusfile.so) >===> sox-14.4.2 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) >===> sox-14.4.2 depends on shared library: libsndfile.so - found (/usr/local/lib/libsndfile.so) >===> sox-14.4.2 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) >===> Generating temporary packing list >if test -z 'strip'; then /usr/bin/make INSTALL_PROGRAM="/bin/sh /wrkdirs/usr/ports/audio/sox/work/sox-14.4.2/install-sh -c -s" install_sh_PROGRAM="/bin/sh /wrkdirs/usr/ports/audio/sox/work/sox-14.4.2/install-sh -c -s" INSTALL_STRIP_FLAG=-s install; else /usr/bin/make INSTALL_PROGRAM="/bin/sh /wrkdirs/usr/ports/audio/sox/work/sox-14.4.2/install-sh -c -s" install_sh_PROGRAM="/bin/sh /wrkdirs/usr/ports/audio/sox/work/sox-14.4.2/install-sh -c -s" INSTALL_STRIP_FLAG=-s "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; fi >Making install in lpc10 >Making install in libgsm >Making install in src > /bin/mkdir -p '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/lib' > /bin/sh ../libtool --silent --silent --mode=install /usr/bin/install -c -s libsox.la '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/lib' >ranlib: warning: can't find .strtab section >libtool: warning: remember to run 'libtool --finish /usr/local/lib' > /bin/mkdir -p '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/bin' > STRIPPROG='strip' /bin/sh ../libtool --silent --silent --mode=install /bin/sh /wrkdirs/usr/ports/audio/sox/work/sox-14.4.2/install-sh -c -s sox '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/bin' >libtool: warning: 'libsox.la' has not been installed in '/usr/local/lib' >/usr/bin/make install-exec-hook >if test "yes" = "yes"; then cd /wrkdirs/usr/ports/audio/sox/work/stage/usr/local/bin; rm -f play rec; ln -s sox play; ln -s sox rec; fi >if test "yes" = "yes"; then cd /wrkdirs/usr/ports/audio/sox/work/stage/usr/local/bin; rm -f soxi; ln -s sox soxi; fi > /bin/mkdir -p '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/include' > install -m 0644 sox.h '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/include' > /bin/mkdir -p '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/man/man1' > install -m 0644 sox.1 soxi.1 '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/man/man1' > /bin/mkdir -p '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/man/man3' > install -m 0644 libsox.3 '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/man/man3' > /bin/mkdir -p '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/man/man7' > install -m 0644 soxformat.7 '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/man/man7' > /bin/mkdir -p '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/libdata/pkgconfig' > install -m 0644 sox.pc '/wrkdirs/usr/ports/audio/sox/work/stage/usr/local/libdata/pkgconfig' >/usr/bin/make install-data-hook >cd /wrkdirs/usr/ports/audio/sox/work/stage/usr/local/man/man1 && rm -f play.1 && ln -s sox.1 play.1 >cd /wrkdirs/usr/ports/audio/sox/work/stage/usr/local/man/man1 && rm -f rec.1 && ln -s sox.1 rec.1 >cd /wrkdirs/usr/ports/audio/sox/work/stage/usr/local/man/man7 && rm -f soxeffect.7 && ln -s ../man1/sox.1 soxeffect.7 >====> Compressing man pages (compress-man) >=========================================================================== >====> Running Q/A tests (stage-qa) >====> Checking for pkg-plist issues (check-plist) >===> Parsing plist >===> Checking for items in STAGEDIR missing from pkg-plist >===> Checking for items in pkg-plist which are not in STAGEDIR >===> No pkg-plist issues found (check-plist) >====>> Checking for staging violations... done >=======================<phase: package >============================ >===> Building package for sox-14.4.2 >=========================================================================== >=======================<phase: install-mtree >============================ >=========================================================================== >====>> Recording filesystem state for preinst... done >=======================<phase: install >============================ >===> Installing for sox-14.4.2 >===> sox-14.4.2 depends on shared library: libltdl.so - found (/usr/local/lib/libltdl.so) >===> sox-14.4.2 depends on shared library: libao.so - found (/usr/local/lib/libao.so) >===> sox-14.4.2 depends on shared library: libFLAC.so - found (/usr/local/lib/libFLAC.so) >===> sox-14.4.2 depends on shared library: libgsm.so - found (/usr/local/lib/libgsm.so) >===> sox-14.4.2 depends on shared library: libid3tag.so - found (/usr/local/lib/libid3tag.so) >===> sox-14.4.2 depends on shared library: libmad.so - found (/usr/local/lib/libmad.so) >===> sox-14.4.2 depends on shared library: libopusfile.so - found (/usr/local/lib/libopusfile.so) >===> sox-14.4.2 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) >===> sox-14.4.2 depends on shared library: libsndfile.so - found (/usr/local/lib/libsndfile.so) >===> sox-14.4.2 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) >===> Checking if sox already installed >===> Registering installation for sox-14.4.2 >[10amd64-HEADdev-headdev] Installing sox-14.4.2... >=========================================================================== >====>> Checking shared library dependencies > 0x0000000000000001 (NEEDED) Shared library: [libFLAC.so.8] > 0x0000000000000001 (NEEDED) Shared library: [libao.so.4] > 0x0000000000000001 (NEEDED) Shared library: [libc.so.7] > 0x0000000000000001 (NEEDED) Shared library: [libgsm.so.1] > 0x0000000000000001 (NEEDED) Shared library: [libid3tag.so.0] > 0x0000000000000001 (NEEDED) Shared library: [libltdl.so.7] > 0x0000000000000001 (NEEDED) Shared library: [libm.so.5] > 0x0000000000000001 (NEEDED) Shared library: [libmad.so.0] > 0x0000000000000001 (NEEDED) Shared library: [libmagic.so.4] > 0x0000000000000001 (NEEDED) Shared library: [libogg.so.0] > 0x0000000000000001 (NEEDED) Shared library: [libopusfile.so.0] > 0x0000000000000001 (NEEDED) Shared library: [libpng16.so.16] > 0x0000000000000001 (NEEDED) Shared library: [libsndfile.so.1] > 0x0000000000000001 (NEEDED) Shared library: [libsox.so.3] > 0x0000000000000001 (NEEDED) Shared library: [libthr.so.3] > 0x0000000000000001 (NEEDED) Shared library: [libvorbis.so.0] > 0x0000000000000001 (NEEDED) Shared library: [libvorbisenc.so.2] > 0x0000000000000001 (NEEDED) Shared library: [libvorbisfile.so.3] > 0x0000000000000001 (NEEDED) Shared library: [libz.so.6] >=======================<phase: deinstall >============================ >===> Deinstalling for sox >===> Deinstalling sox-14.4.2 >Updating database digests format: .......... done >Checking integrity... done (0 conflicting) >Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): > >Installed packages to be REMOVED: > sox-14.4.2 > >The operation will free 2 MiB. >[10amd64-HEADdev-headdev] [1/1] Deinstalling sox-14.4.2... >[10amd64-HEADdev-headdev] [1/1] Deleting files for sox-14.4.2: .......... done >=========================================================================== >====>> Checking for extra files and directories >[00:01:26] ====>> Installing from package >[10amd64-HEADdev-headdev] Installing sox-14.4.2... >[10amd64-HEADdev-headdev] Extracting sox-14.4.2: .......... done >[00:01:26] ====>> Cleaning up >===> Cleaning for sox-14.4.2 >[00:01:26] ====>> Deinstalling package >Updating database digests format: . done >Checking integrity... done (0 conflicting) >Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): > >Installed packages to be REMOVED: > sox-14.4.2 > >The operation will free 2 MiB. >[10amd64-HEADdev-headdev] [1/1] Deinstalling sox-14.4.2... >[10amd64-HEADdev-headdev] [1/1] Deleting files for sox-14.4.2: .......... done >build of audio/sox ended at Wed Dec 30 19:00:38 BRST 2015 >build time: 00:01:19
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 205732
:
164873
| 164877