[MPlayer-cvslog] r33002 - trunk/gui/bitmap.c
ib
subversion at mplayerhq.hu
Wed Mar 2 18:38:59 CET 2011
Author: ib
Date: Wed Mar 2 18:38:59 2011
New Revision: 33002
Log:
Provide proper conversion specification for long and unsigned variables.
Modified:
trunk/gui/bitmap.c
Modified: trunk/gui/bitmap.c
==============================================================================
--- trunk/gui/bitmap.c Wed Mar 2 18:30:14 2011 (r33001)
+++ trunk/gui/bitmap.c Wed Mar 2 18:38:59 2011 (r33002)
@@ -111,7 +111,7 @@ static int pngRead(unsigned char *fname,
av_freep(&data);
mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[png] filename: %s.\n", fname);
- mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[png] size: %dx%d bits: %d\n", bf->Width, bf->Height, bf->BPP);
+ mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[png] size: %lux%lu bits: %u\n", bf->Width, bf->Height, bf->BPP);
mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[png] imagesize: %lu\n", bf->ImageSize);
return !(decode_ok && bf->BPP);
@@ -213,7 +213,7 @@ void Convert32to1(txSample *in, txSample
out->BPP = 1;
out->ImageSize = (out->Width * out->Height + 7) / 8;
- mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[c32to1] imagesize: %d\n", out->ImageSize);
+ mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[c32to1] imagesize: %lu\n", out->ImageSize);
out->Image = calloc(1, out->ImageSize);
More information about the MPlayer-cvslog
mailing list