mp3_afh.c:420: warning: comparison of distinct pointer types lacks a cast
alsa_write.c:119: warning: format '%zu' expects type 'size_t', but argument 4 has type 'int'
* pad->channels / 8;
if (pad->bytes_per_frame <= 0)
return -E_PHYSICAL_WIDTH;
- PARA_INFO_LOG("bytes per frame: %zu\n", pad->bytes_per_frame);
+ PARA_INFO_LOG("bytes per frame: %d\n", pad->bytes_per_frame);
if (snd_pcm_nonblock(pad->handle, 1))
PARA_ERROR_LOG("failed to set nonblock mode\n");
return 1;
fpos += len;
len = find_valid_start(map, numbytes, &fpos, &header);
if (len <= 0) {
- uint32_t end;
+ size_t end;
ret = -E_MP3_INFO;
if (!afhi->chunks_total)
goto err_out;