summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-28 23:25:02 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-28 23:25:02 +0000
commit021fe627dcc2cd001fb740f57e7791a472dfa921 (patch)
tree989a3333a72b3cc2a632476b8508f9a4161a13bc /libvo
parent921cef29ce5dd9bb757e7b6b778cddd6618e690e (diff)
downloadmpv-021fe627dcc2cd001fb740f57e7791a472dfa921.tar.bz2
mpv-021fe627dcc2cd001fb740f57e7791a472dfa921.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_zr.c6
1 files changed, 3 insertions, 3 deletions
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;