summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8b8a81f)
Fixes
wmadec_filter.c: In function 'wma_decode_superframe':
wmadec_filter.c:1182: warning: format '%zd' expects type 'signed size_t', but argument 6 has type 'int'
goto fail;
samples += pwd->ahi.channels * pwd->frame_len;
}
goto fail;
samples += pwd->ahi.channels * pwd->frame_len;
}
- PARA_DEBUG_LOG("frame_len: %d, block_len: %d, outbytes: %zd, eaten: %d\n",
+ PARA_DEBUG_LOG("frame_len: %d, block_len: %d, outbytes: %d, eaten: %d\n",
pwd->frame_len, pwd->block_len,
pwd->frame_len, pwd->block_len,
- (int8_t *) samples - (int8_t *) data, pwd->ahi.block_align);
+ (int)((int8_t *)samples - (int8_t *)data), pwd->ahi.block_align);
*data_size = (int8_t *)samples - (int8_t *)data;
return pwd->ahi.block_align;
fail:
*data_size = (int8_t *)samples - (int8_t *)data;
return pwd->ahi.block_align;
fail: