Suppress an x64 build warning (trunk only)

This commit is contained in:
nethack.allison
2012-01-11 01:53:44 +00:00
parent 593181421d
commit 586e2cb67e
3 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ HWND mswin_init_text_window () {
SetWindowText(ret, "Text");
if( !GetNHApp()->bWindowsLocked ) {
DWORD style;
style = GetWindowLongPtr(ret, GWL_STYLE);
style = (DWORD)GetWindowLongPtr(ret, GWL_STYLE);
style |= WS_CAPTION;
SetWindowLongPtr(ret, GWL_STYLE, style);
SetWindowPos(ret, NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECHANGED);