diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index e07009d0fb..71ec2cd424 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -303,7 +303,7 @@ static int zmbv_decode_xor_24(ZmbvContext *c) prev += stride * c->bh; } if (src - c->decomp_buf != c->decomp_len) - av_log(c->avctx, AV_LOG_ERROR, "Used %i of %i bytes\n", + av_log(c->avctx, AV_LOG_ERROR, "Used %"PTRDIFF_SPECIFIER" of %i bytes\n", src-c->decomp_buf, c->decomp_len); return 0; }