format '%d' expects type 'int', but argument 4 has type 'size_t'
pointer targets in passing argument 1 of 'read_stdin' differ in signedness
#define WAV_HEADER_LEN 44
#define WAV_HEADER_LEN 44
-static unsigned char *audiobuf;
static struct timeval *start_time;
struct gengetopt_args_info conf;
static struct timeval *start_time;
struct gengetopt_args_info conf;
ret = wng_open(wng);
if (ret < 0)
goto out;
ret = wng_open(wng);
if (ret < 0)
goto out;
- PARA_INFO_LOG("max chunk_bytes: %d\n", wng->max_chunk_bytes);
+ PARA_INFO_LOG("max chunk_bytes: %zd\n", wng->max_chunk_bytes);
bufsize = (conf.bufsize_arg * 1024 / wng->max_chunk_bytes)
* wng->max_chunk_bytes;
audiobuf = para_realloc(audiobuf, bufsize);
bufsize = (conf.bufsize_arg * 1024 / wng->max_chunk_bytes)
* wng->max_chunk_bytes;
audiobuf = para_realloc(audiobuf, bufsize);