From 6ab2eebe5fdf9a4e075b6aa164f40e2bd89ee76e Mon Sep 17 00:00:00 2001 From: "Diogo Franco (Kovensky)" Date: Thu, 18 Jul 2013 22:25:04 -0300 Subject: direct3d: Fixes format string that assumed sizeof(LONG) == sizeof(long) --- video/out/vo_direct3d.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c index 6540177ad0..25d0b8f0da 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -26,6 +26,7 @@ #include #include #include +#include #include "config.h" #include "core/options.h" #include "core/subopt-helper.h" @@ -290,7 +291,7 @@ static void calc_fs_rect(d3d_priv *priv) priv->fs_panscan_rect.bottom = src_rect.y1; mp_msg(MSGT_VO, MSGL_V, - "Video rectangle: t: %ld, l: %ld, r: %ld, b:%ld\n", + "Video rectangle: t: %"PRId32", l: %"PRId32", r: %"PRId32", b:%"PRId32"\n", priv->fs_movie_rect.top, priv->fs_movie_rect.left, priv->fs_movie_rect.right, priv->fs_movie_rect.bottom); } -- cgit v1.2.3