From 021fe627dcc2cd001fb740f57e7791a472dfa921 Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 28 Dec 2007 23:25:02 +0000 Subject: Use proper length specifiers in mp_msg calls, fixes the warnings: vo_zr.c: In function 'init_zoran': vo_zr.c:228: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' vo_zr.c:228: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' vo_zr.c:237: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' vo_zr.c:237: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' vo_zr.c:241: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' vo_zr.c:241: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25539 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_zr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_zr.c b/libvo/vo_zr.c index 1cbca990fd..2bb16bd924 100644 --- a/libvo/vo_zr.c +++ b/libvo/vo_zr.c @@ -225,7 +225,7 @@ int init_zoran(zr_info_t *zr, int stretchx, int stretchy) { zr->zrq.size = MJPEG_SIZE; if (ioctl(zr->vdes, MJPIOC_REQBUFS, &zr->zrq)) { - mp_msg(MSGT_VO, MSGL_ERR, "zr: error requesting %d buffers of size %d\n", zr->zrq.count, zr->zrq.size); + mp_msg(MSGT_VO, MSGL_ERR, "zr: error requesting %ld buffers of size %ld\n", zr->zrq.count, zr->zrq.size); return 1; } @@ -234,11 +234,11 @@ int init_zoran(zr_info_t *zr, int stretchx, int stretchy) { PROT_READ|PROT_WRITE, MAP_SHARED, zr->vdes, 0); if (zr->buf == MAP_FAILED) { - mp_msg(MSGT_VO, MSGL_ERR, "zr: error requesting %d buffers of size %d\n", zr->zrq.count, zr->zrq.size); + mp_msg(MSGT_VO, MSGL_ERR, "zr: error requesting %ld buffers of size %ld\n", zr->zrq.count, zr->zrq.size); return 1; } - mp_msg(MSGT_VO, MSGL_V, "zr: got %d buffers of size %d (wanted %d buffers of size %d)\n", zr->zrq.count, zr->zrq.size, MJPEG_NBUFFERS, MJPEG_SIZE); + mp_msg(MSGT_VO, MSGL_V, "zr: got %ld buffers of size %ld (wanted %d buffers of size %d)\n", zr->zrq.count, zr->zrq.size, MJPEG_NBUFFERS, MJPEG_SIZE); if (zr->zrq.count < MJPEG_NBUFFERS) { mp_msg(MSGT_VO, MSGL_V, "zr: got not enough buffers\n"); return 1; -- cgit v1.2.3