From 9f7aecdbca21d6cadfe36ac46f6f0dada92ce8f2 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 21 Dec 2009 14:30:34 +0100 Subject: [PATCH] Fix another gcc warning on older Mac OS. 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' --- wmadec_filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmadec_filter.c b/wmadec_filter.c index 061642ae..1a4dc5e7 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -1179,9 +1179,9 @@ static int wma_decode_superframe(struct private_wmadec_data *pwd, void *data, 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, - (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: -- 2.39.5