23 lines
1009 B
Diff
23 lines
1009 B
Diff
--- a/src/external/freetype/include/freetype/config/ftconfig.h
|
|
+++ b/src/external/freetype/include/freetype/config/ftconfig.h
|
|
@@ -387,7 +387,7 @@
|
|
FT_MulFix_i386( FT_Int32 a,
|
|
FT_Int32 b )
|
|
{
|
|
- register FT_Int32 result;
|
|
+ FT_Int32 result;
|
|
|
|
|
|
__asm__ __volatile__ (
|
|
--- a/src/gui/vlWin32/Win32Context.cpp
|
|
+++ b/src/gui/vlWin32/Win32Context.cpp
|
|
@@ -207,7 +207,7 @@
|
|
{
|
|
case DISP_CHANGE_SUCCESSFUL:
|
|
{
|
|
- RECT windowRect = { 0, 0, devmode.dmPelsWidth, devmode.dmPelsHeight };
|
|
+ RECT windowRect = { 0, 0, (LONG)devmode.dmPelsWidth, (LONG)devmode.dmPelsHeight };
|
|
/*mStyle = */SetWindowLongPtr(hwnd(), GWL_STYLE, WS_POPUP | WS_VISIBLE );
|
|
AdjustWindowRectEx(&windowRect, (DWORD)GetWindowLongPtr(hwnd(), GWL_STYLE), 0, (DWORD)GetWindowLongPtr(hwnd(), GWL_EXSTYLE) );
|
|
SetWindowPos(hwnd(), HWND_TOP, windowRect.left, windowRect.top, windowRect.right - windowRect.left, windowRect.bottom - windowRect.top, SWP_FRAMECHANGED );
|