$OpenBSD: patch-libavcodec_lcl_c,v 1.2 2005/02/09 23:41:43 naddy Exp $
--- libavcodec/lcl.c.orig	Sun Jan 23 10:09:06 2005
+++ libavcodec/lcl.c	Fri Jan 28 00:15:49 2005
@@ -297,7 +297,7 @@ static int decode_frame(AVCodecContext *
                     return -1;
                 }
                 if (mthread_outlen != (unsigned int)(c->zstream.total_out)) {
-                    av_log(avctx, AV_LOG_ERROR, "Mthread1 decoded size differs (%u != %lu)\n",
+                    av_log(avctx, AV_LOG_ERROR, "Mthread1 decoded size differs (%u != %lld)\n",
                            mthread_outlen, c->zstream.total_out);
                     return -1;
                 }
@@ -331,7 +331,7 @@ static int decode_frame(AVCodecContext *
                     return -1;
                 }
                 if (c->decomp_size != (unsigned int)(c->zstream.total_out)) {
-                    av_log(avctx, AV_LOG_ERROR, "Decoded size differs (%d != %lu)\n",
+                    av_log(avctx, AV_LOG_ERROR, "Decoded size differs (%d != %lld)\n",
                            c->decomp_size, c->zstream.total_out);
                     return -1;
                 }
