Snippets for sox 14.4.2 from Alpine x86_64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86_64/community/sox/sox-14.4.2-r15.log.
-
sox.c:888:32: warning: passing argument 2 of 'lsx_realloc_array' with different width due to prototype [-Wtraditional-conversion] 888 | lsx_revalloc(argv, *argc + 1); | ~~~~~~^~~ -
sox.c:2546:27: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 2546 | ft->priv = lsx_calloc(1, handler->priv_size); | ^ -
formats_i.c:363:18: warning: passing argument 1 of '__bswap_16' with different width due to prototype [-Wtraditional-conversion] 363 | twiddle(buf[n], type); \ | ~~~^~~ -
bend.c:134:26: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 134 | p->bends = lsx_calloc(p->nbends, sizeof(*p->bends)); | ~^~~~~~~~ -
formats_i.c:432:18: warning: passing argument 1 of '__bswap_16' with different width due to prototype [-Wtraditional-conversion] 432 | twiddle(buf[n], type); \ | ~~~^~~ -
sox-fmt.c:21:34: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 21 | static char const magic[2][4] = {".SoX", "XoS."}; | ^~~~~~ -
sox-fmt.c:21:42: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 21 | static char const magic[2][4] = {".SoX", "XoS."}; | ^~~~~~ -
sox-fmt.c:56:29: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 56 | char * buf = lsx_calloc(1, (size_t)comments_bytes + 1); /* ensure nul-terminated */ | ^ -
compand.c:89:28: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 89 | l->channels = lsx_calloc(pairs, sizeof(*l->channels)); | ^~~~~ -
formats.c:439:34: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 439 | sox_format_t * ft = lsx_calloc(1, sizeof(*ft)); | ^ -
dft_filter.c:32:26: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 32 | f->coefs = lsx_calloc(f->dft_length, sizeof(*f->coefs)); | ~^~~~~~~~~~~~ -
formats.c:543:25: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 543 | ft->priv = lsx_calloc(1, ft->handler.priv_size); | ^ -
dft_filter.c:105:30: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 105 | double * buff = lsx_calloc(1024, sizeof(*buff)); | ^~~~ -
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value] 47 | if (i < (-1 << (p->prec-1))) | ^~ -
util.c:124:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 124 | case 2: if (b) return string[n]; /* Can fall through */ | ^ -
formats.c:833:47: warning: passing argument 2 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 833 | sox_format_t * ft = lsx_calloc(sizeof(*ft), 1); | ^ -
formats.c:911:25: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 911 | ft->priv = lsx_calloc(1, ft->handler.priv_size); | ^ -
compandt.c:176:28: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 176 | t->segments = lsx_calloc(pairs, sizeof(*t->segments)); | ^~~~~ -
effects.c:60:36: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 60 | sox_effect_t * effp = lsx_calloc(1, sizeof(*effp)); | ^ -
firfit.c:52:27: warning: passing argument 2 of 'lsx_realloc_array' with different width due to prototype [-Wtraditional-conversion] 52 | lsx_valloc(log_freqs , p->num_knots); | ~^~~~~~~~~~~ -
firfit.c:53:22: warning: passing argument 2 of 'lsx_realloc_array' with different width due to prototype [-Wtraditional-conversion] 53 | lsx_valloc(gains, p->num_knots); | ~^~~~~~~~~~~ -
effects.c:72:27: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 72 | effp->priv = lsx_calloc(1, effp->handler.priv_size); | ^ -
firfit.c:54:20: warning: passing argument 2 of 'lsx_realloc_array' with different width due to prototype [-Wtraditional-conversion] 54 | lsx_valloc(d , p->num_knots); | ~^~~~~~~~~~~ -
effects.c:94:45: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 94 | sox_effects_chain_t * result = lsx_calloc(1, sizeof(sox_effects_chain_t)); | ^ -
firfit.c:62:30: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 62 | work = lsx_calloc(work_len + 2, sizeof(*work)); | ~~~~~~~~~^~~ -
firfit.c:63:18: warning: passing argument 2 of 'lsx_realloc_array' with different width due to prototype [-Wtraditional-conversion] 63 | lsx_valloc(h, p->n); | ~^~~ -
divide.c:33:39: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 33 | p->last = lsx_calloc(effp->in_signal.channels, sizeof(*p->last)); | ~~~~~~~~~~~~~~~^~~~~~~~~ -
firfit.c:91:26: warning: passing argument 2 of 'lsx_realloc_array' with different width due to prototype [-Wtraditional-conversion] 91 | lsx_valloc(p->knots, 1); | ^ -
firfit.c:100:47: warning: passing argument 2 of 'lsx_realloc_array' with different width due to prototype [-Wtraditional-conversion] 100 | lsx_revalloc(p->knots, ++p->num_knots + 1); | ~~~~~~~~~~~~~~~^~~ -
dither.c:319:20: warning: left shift of negative value [-Wshift-negative-value] 319 | if (i <= (-1 << (p->prec-1))) | ^~ -
ladspa.c:163:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 163 | } else | ^~~~ -
hilbert.c:67:23: warning: passing argument 2 of 'lsx_realloc_array' with different width due to prototype [-Wtraditional-conversion] 67 | lsx_valloc(p->h, p->taps); | ~^~~~~~ -
effects_i_dsp.c:360:23: warning: passing argument 1 of 'calloc' with different width due to prototype [-Wtraditional-conversion] 360 | double * h = calloc(num_taps, sizeof(*h)), sum = 0; | ^~~~~~~~ -
effects_i_dsp.c:518:30: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 518 | double * h1 = lsx_calloc(N, sizeof(*h1)); | ^ -
effects_i_dsp.c:585:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] 585 | #define _ dest[i] = lrint32(src[i]), ++i, | ^ -
loudness.c:78:21: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 78 | work = lsx_calloc(work_len, sizeof(*work)); | ^~~~~~~~ -
loudness.c:79:18: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 79 | h = lsx_calloc(n, sizeof(*h)); | ^ -
mcompand_xover.h:66:43: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 66 | p->previous = lsx_calloc(effp->in_signal.channels, sizeof(*p->previous)); | ~~~~~~~~~~~~~~~^~~~~~~~~ -
noiseprof.c:83:31: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 83 | data->chandata = lsx_calloc(channels, sizeof(*(data->chandata))); | ^~~~~~~~ -
noisered.h:26:20: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 26 | #define FREQCOUNT (HALFWINDOW + 1) | ^~~~~~~~~~~~~~~~ -
noisered.h:24:20: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 24 | #define WINDOWSIZE 2048 | ^~~~ -
noisered.h:24:20: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 24 | #define WINDOWSIZE 2048
-
rate.c:232:23: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 232 | f->coefs = calloc(dft_length, sizeof(*f->coefs)); | ^~~~~~~~~~ -
pad.c:78:25: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 78 | p->pads = lsx_calloc(p->npads, sizeof(*p->pads)); | ~^~~~~~~ -
rate.c:340:36: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 340 | p->stages = calloc(p->num_stages + 1, sizeof(*p->stages)); | ~~~~~~~~~~~~~~^~~ -
remix.c:125:30: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 125 | p->out_specs = lsx_calloc(p->num_out_channels, sizeof(*p->out_specs)); | ~^~~~~~~~~~~~~~~~~~ -
rate.c:484:28: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 484 | sample_t * buff = calloc(1024, sizeof(*buff)); | ^~~~ -
remix.c:226:29: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 226 | p->out_specs = lsx_calloc(num_out_channels, sizeof(*p->out_specs)); | ^~~~~~~~~~~~~~~~ -
remix.c:234:44: warning: passing argument 2 of 'lsx_realloc_array' with different width due to prototype [-Wtraditional-conversion] 234 | lsx_valloc(p->out_specs[j].in_specs, in_per_out); | ^~~~~~~~~~ -
remix.c:243:42: warning: passing argument 2 of 'lsx_realloc_array' with different width due to prototype [-Wtraditional-conversion] 243 | lsx_valloc(p->out_specs[j].in_specs, 1); | ^ -
silence.c:280:43: warning: left shift of negative value [-Wshift-negative-value] 280 | sox_sample_t masked_value = value & (-1 << (32 - effp->in_signal.precision)); | ^~ -
splice.c:177:28: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 177 | p->splices = lsx_calloc(p->nsplices, sizeof(*p->splices)); | ~^~~~~~~~~~ -
tempo.c:195:28: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 195 | tempo_t * t = lsx_calloc(1, sizeof(*t)); | ^ -
trim.c:44:23: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 44 | lsx_Calloc(p->pos, p->num_pos); | ~^~~~~~~~~ -
vad.c:120:27: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 120 | lsx_Calloc(p->samples, p->samplesLen_ns); | ~^~~~~~~~~~~~~~~ -
vad.c:122:42: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 122 | lsx_Calloc(p->channels, effp->in_signal.channels); | ~~~~~~~~~~~~~~~^~~~~~~~~ -
vad.c:125:28: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 125 | lsx_Calloc(c->dftBuf, p->dftLen_ws); | ~^~~~~~~~~~~ -
vad.c:126:30: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 126 | lsx_Calloc(c->spectrum, p->dftLen_ws); | ~^~~~~~~~~~~ -
vad.c:127:35: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 127 | lsx_Calloc(c->noiseSpectrum, p->dftLen_ws); | ~^~~~~~~~~~~ -
vad.c:128:30: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 128 | lsx_Calloc(c->measures, p->measuresLen); | ~^~~~~~~~~~~~~ -
vad.c:131:34: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 131 | lsx_Calloc(p->spectrumWindow, p->measureLen_ws); | ~^~~~~~~~~~~~~~~ -
vad.c:141:48: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 141 | lsx_Calloc(p->cepstrumWindow, p->spectrumEnd - p->spectrumStart); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -
spectrogram.c:202:51: warning: right-hand operand of comma expression has no effect [-Wunused-value] 202 | #define _ re += in[i] * *q++, im += in[i++] * *q++, | ^ -
spectrogram.c:367:39: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 367 | sox_sample_t * ibuf = lsx_calloc(p->dft_size, sizeof(*ibuf)); | ~^~~~~~~~~~ -
spectrogram.c:368:39: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 368 | sox_sample_t * obuf = lsx_calloc(p->dft_size, sizeof(*obuf)); | ~^~~~~~~~~~ -
au.c:25:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 25 | {"\x2e\x73\x6e\x64", MACHINE_IS_LITTLEENDIAN, "big-endian `.snd'"}, | ^~~~~~~~~~~~~~~~~~ -
au.c:26:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 26 | {"\x64\x6e\x73\x2e", MACHINE_IS_BIGENDIAN , "little-endian `.snd'"}, | ^~~~~~~~~~~~~~~~~~ -
au.c:27:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 27 | {"\x00\x64\x73\x2e", MACHINE_IS_BIGENDIAN , "little-endian `\\0ds.' (for DEC)"}, | ^~~~~~~~~~~~~~~~~~ -
au.c:28:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 28 | {"\x2e\x73\x64\x00", MACHINE_IS_LITTLEENDIAN, "big-endian `\\0ds.'"}, | ^~~~~~~~~~~~~~~~~~ -
au.c:29:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 29 | {" ", 0, NULL} | ^~~~~~ -
au.c:146:30: warning: implicit conversion from 'sox_bool' to 'sox_option_t' [-Wenum-conversion] 146 | ft->encoding.reverse_bytes = id[i].reverse_bytes; | ^ -
au.c:181:29: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 181 | char * buf = lsx_calloc(1, info_size + 1); /* +1 ensures null-terminated */ | ^ -
sf.c:25:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 25 | {"\144\243\001\0", MACHINE_IS_BIGENDIAN , "little-endian VAX (native)"}, | ^~~~~~~~~~~~~~~~ -
sf.c:26:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 26 | {"\0\001\243\144", MACHINE_IS_LITTLEENDIAN, "big-endian VAX"}, | ^~~~~~~~~~~~~~~~ -
sf.c:27:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 27 | {"\144\243\002\0", MACHINE_IS_LITTLEENDIAN, "big-endian Sun (native)"}, | ^~~~~~~~~~~~~~~~ -
sf.c:28:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 28 | {"\0\002\243\144", MACHINE_IS_BIGENDIAN , "little-endian Sun"}, | ^~~~~~~~~~~~~~~~ -
sf.c:29:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 29 | {"\144\243\003\0", MACHINE_IS_BIGENDIAN , "little-endian MIPS (DEC)"}, | ^~~~~~~~~~~~~~~~ -
sf.c:30:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 30 | {"\0\003\243\144", MACHINE_IS_LITTLEENDIAN, "big-endian MIPS (SGI)"}, | ^~~~~~~~~~~~~~~~ -
sf.c:31:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 31 | {"\144\243\004\0", MACHINE_IS_LITTLEENDIAN, "big-endian NeXT"}, | ^~~~~~~~~~~~~~~~ -
sf.c:32:4: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 32 | {" ", 0, NULL} | ^~~~~~ -
sf.c:88:30: warning: implicit conversion from 'sox_bool' to 'sox_option_t' [-Wenum-conversion] 88 | ft->encoding.reverse_bytes = id[i].reverse_bytes; | ^ -
sf.c:101:31: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 101 | char * buf = lsx_calloc(1, (size_t)size + 1); /* +1 ensures null-terminated */ | ^ -
soundtool.c:22:28: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (7 chars into 6 available) [-Wunterminated-string-initialization] 22 | static char const ID1[6] = "SOUND\x1a"; | ^~~~~~~~~~~ -
voc.c:655:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 655 | lsx_readb(ft, &uc); | ^~~~~~~~~~~~~~~~~~ -
wav.c:1531:9: warning: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (15 chars into 14 available) [-Wunterminated-string-initialization] 1531 | "\x00\x00\x00\x00\x10\x00\x80\x00\x00\xAA\x00\x38\x9B\x71", /* wav */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
wav.c:1532:9: warning: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (15 chars into 14 available) [-Wunterminated-string-initialization] 1532 | "\x00\x00\x21\x07\xd3\x11\x86\x44\xc8\xc1\xca\x00\x00\x00"}; /* amb */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
wav.c:1277:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1277 | lsx_ima_init_table(); | ^~~~~~~~~~~~~~~~~~~~ -
sox_sample_test.h:40:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 40 | assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1)); \ | ^~ -
wve.c:23:29: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (19 chars into 18 available) [-Wunterminated-string-initialization] 23 | static char const ID1[18] = "ALawSoundFile**\0\017\020"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
sox_sample_test.h:97:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 97 | assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1)); \ | ^~ -
xa.c:181:26: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 181 | xa->buf = lsx_calloc(1, (size_t)xa->blockSize); | ^ -
xa.c:184:58: warning: passing argument 2 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 184 | xa->state = lsx_calloc(sizeof(xa_state_t), ft->signal.channels); | ~~~~~~~~~~^~~~~~~~~ -
sndfile.c:302:28: warning: passing argument 1 of 'lsx_calloc' with different width due to prototype [-Wtraditional-conversion] 302 | sf->sf_info = lsx_calloc(1, sizeof(SF_INFO)); | ^ -
ao.c:84:31: warning: passing argument 1 of '__bswap_16' with different width due to prototype [-Wtraditional-conversion] 84 | datum = lsx_swapw(datum); | ^~~~~ -
ao.c:100:51: warning: implicit conversion from 'sox_option_t' to 'sox_bool' [-Wenum-conversion] 100 | sox_sw_write_buf(ao->buf, buf, len, ft->encoding.reverse_bytes, | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -
flac.c:515:10: warning: implicit conversion from 'FLAC__StreamEncoderInitStatus' to 'FLAC__StreamEncoderState' [-Wenum-conversion] 515 | status = FLAC__stream_encoder_init_stream(p->encoder, flac_stream_encoder_write_callback, | ^ -
vorbis.c:320:49: warning: passing argument 2 of 'vorbis_encode_init_vbr' with different width due to prototype [-Wtraditional-conversion] 320 | if (vorbis_encode_init_vbr(&ve->vi, ft->signal.channels, ft->signal.rate + .5, quality / 10)) | ~~~~~~~~~~^~~~~~~~~ -
vorbis.c:320:76: warning: passing argument 3 of 'vorbis_encode_init_vbr' as integer rather than floating due to prototype [-Wtraditional-conversion] 320 | if (vorbis_encode_init_vbr(&ve->vi, ft->signal.channels, ft->signal.rate + .5, quality / 10)) | ~~~~~~~~~~~~~~~~^~~~ -
mp3-util.h:123:57: warning: passing argument 3 of 'lsx_readbuf' with different width due to prototype [-Wtraditional-conversion] 123 | if (ID3_TAG_QUERYSIZE != lsx_readbuf(info->ft, query, ID3_TAG_QUERYSIZE) || | ^~~~~~~~~~~~~~~~~ -
mp3-util.h:124:37: warning: passing argument 2 of 'id3_tag_query' with different width due to prototype [-Wtraditional-conversion] 124 | !(size = id3_tag_query(query, ID3_TAG_QUERYSIZE))) { | ^~~~~~~~~~~~~~~~~ -
mp3-util.h:129:59: warning: passing argument 3 of 'lsx_readbuf' with different width due to prototype [-Wtraditional-conversion] 129 | ID3_TAG_QUERYSIZE != lsx_readbuf(info->ft, query, ID3_TAG_QUERYSIZE) || | ^~~~~~~~~~~~~~~~~ -
mp3-util.h:130:38: warning: passing argument 2 of 'id3_tag_query' with different width due to prototype [-Wtraditional-conversion] 130 | (size = id3_tag_query(query, ID3_TAG_QUERYSIZE)) <= 0) { | ^~~~~~~~~~~~~~~~~ -
mp3-util.h:150:25: warning: passing argument 3 of 'memcpy' with different width due to prototype [-Wtraditional-conversion] 150 | memcpy(buffer, query, ID3_TAG_QUERYSIZE); | ^~~~~~~~~~~~~~~~~ -
mp3-util.h:199:26: warning: passing argument 2 of 'lsx_seeki' with different width due to prototype [-Wtraditional-conversion] 199 | if (0 == lsx_seeki(ft, -128, SEEK_END)) { | ^~~~ -
mp3-util.h:204:26: warning: passing argument 2 of 'lsx_seeki' with different width due to prototype [-Wtraditional-conversion] 204 | if (0 == lsx_seeki(ft, 0, SEEK_SET)) { | ^ -
mp3-util.h:207:43: warning: passing argument 2 of 'lsx_seeki' with different width due to prototype [-Wtraditional-conversion] 207 | if (0 == lsx_seeki(ft, has_id3v1 ? -138 : -10, SEEK_END)) { | ~~~~~~~~~~~~~~~~~^~~~~ -
alsa.c:211:57: warning: passing argument 1 of '__bswap_16' with different width due to prototype [-Wtraditional-conversion] 211 | *buf++ = SOX_SIGNED_16BIT_TO_SAMPLE(lsx_swapw(*buf1++),); | ^~~~~~~ -
alsa.c:219:59: warning: passing argument 1 of '__bswap_16' with different width due to prototype [-Wtraditional-conversion] 219 | *buf++ = SOX_UNSIGNED_16BIT_TO_SAMPLE(lsx_swapw(*buf1++),); | ^~~~~~~ -
alsa.c:285:21: warning: passing argument 1 of '__bswap_16' with different width due to prototype [-Wtraditional-conversion] 285 | *buf1++ = lsx_swapw(SOX_SAMPLE_TO_SIGNED_16BIT(*buf++, ft->clips)); | ^~~~~~~~~ -
alsa.c:293:21: warning: passing argument 1 of '__bswap_16' with different width due to prototype [-Wtraditional-conversion] 293 | *buf1++ = lsx_swapw(SOX_SAMPLE_TO_UNSIGNED_16BIT(*buf++, ft->clips)); | ^~~~~~~~~ -
mp3.c:189:26: warning: 'twolame_library_names' defined but not used [-Wunused-const-variable=] 189 | static const char* const twolame_library_names[] = | ^~~~~~~~~~~~~~~~~~~~~