From 29f26c634ac8815320ca5d44ef99057c07865fef Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 10 Apr 2015 07:25:45 +0200 Subject: [PATCH] (D3D) Fix warning --- gfx/d3d/d3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index 6c2aea9616..ad633bc3d9 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -537,7 +537,7 @@ static bool d3d_construct(d3d_video_t *d3d, #ifdef HAVE_WINDOW if (!info->fullscreen && settings->ui.menubar_enable) { - RECT rc_temp = {0, 0, win_height, 0x7FFF}; + RECT rc_temp = {0, 0, (LONG)win_height, 0x7FFF}; SetMenu(d3d->hWnd, LoadMenu(GetModuleHandle(NULL),MAKEINTRESOURCE(IDR_MENU))); SendMessage(d3d->hWnd, WM_NCCALCSIZE, FALSE, (LPARAM)&rc_temp);