mirror of https://github.com/snes9xgit/snes9x.git
win32: remove some compile warnings
This commit is contained in:
parent
82f3dc4e60
commit
7eaf377183
|
@ -222,6 +222,7 @@ COPY "$(ProjectDir)src\scripts\pnglibconf.h.prebuilt" "$(ProjectDir)src\pnglibco
|
|||
<FloatingPointExceptions>false</FloatingPointExceptions>
|
||||
<StringPooling>false</StringPooling>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
|
|
|
@ -4383,7 +4383,7 @@ RECT GetWindowMargins(HWND hwnd, UINT width)
|
|||
rcMargins.top = abs(rcMargins.top);
|
||||
|
||||
if (!GUI.HideMenu) {
|
||||
RECT rcTemp = {0,0,width,0x7FFF}; // 0x7FFF="Infinite" height
|
||||
RECT rcTemp = {0,0,(LONG)width,0x7FFF}; // 0x7FFF="Infinite" height
|
||||
SendMessage(hwnd, WM_NCCALCSIZE, FALSE, (LPARAM)&rcTemp);
|
||||
|
||||
// Adjust our previous calculation to compensate for menu
|
||||
|
|
Loading…
Reference in New Issue