summaryrefslogtreecommitdiff
path: root/src/decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index 92b0657..eeefa87 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -520,7 +520,7 @@ static int m_zero_block(struct aec_stream *strm)
if (zero_blocks == ROS) {
int b = (int)RSI_USED_SIZE(state) / strm->block_size;
- zero_blocks = MIN(strm->rsi - b, 64 - (b % 64));
+ zero_blocks = MIN((int)(strm->rsi - b), 64 - (b % 64));
} else if (zero_blocks > ROS) {
zero_blocks--;
}