[vlc-commits] Win32: kill DirectX warnings
Jean-Baptiste Kempf
git at videolan.org
Tue Jan 15 01:21:45 CET 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jan 15 01:21:10 2013 +0100| [b07c372004f1657c12d49132cba9ab1a7cd962d4] | committer: Jean-Baptiste Kempf
Win32: kill DirectX warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b07c372004f1657c12d49132cba9ab1a7cd962d4
---
modules/video_output/msw/events.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 9859a3a..b8a9d10 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -613,9 +613,9 @@ static int DirectXCreateWindow( event_thread_t *p_event )
p_event->class_main, /* name of window class */
_T(VOUT_TITLE) _T(" (DirectX Output)"), /* window title */
i_style, /* window style */
- (!p_event->wnd_cfg.x) ? CW_USEDEFAULT :
+ (!p_event->wnd_cfg.x) ? (UINT)CW_USEDEFAULT :
(UINT)p_event->wnd_cfg.x, /* default X coordinate */
- (!p_event->wnd_cfg.y) ? CW_USEDEFAULT :
+ (!p_event->wnd_cfg.y) ? (UINT)CW_USEDEFAULT :
(UINT)p_event->wnd_cfg.y, /* default Y coordinate */
rect_window.right - rect_window.left, /* window width */
rect_window.bottom - rect_window.top, /* window height */
More information about the vlc-commits
mailing list