From e5a98aa1d584b34d3fe7066693d0ac131944215b Mon Sep 17 00:00:00 2001 From: Lee Zhen Yong Date: Sat, 23 Aug 2014 20:31:57 +0800 Subject: [PATCH] bug fix: compilation error in VS2013 64bit --- src/SFML/Window/Win32/WindowImplWin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Window/Win32/WindowImplWin32.cpp b/src/SFML/Window/Win32/WindowImplWin32.cpp index 10c9245c0..11108731f 100644 --- a/src/SFML/Window/Win32/WindowImplWin32.cpp +++ b/src/SFML/Window/Win32/WindowImplWin32.cpp @@ -101,7 +101,7 @@ namespace if (user32Dll) { typedef BOOL (WINAPI* SetProcessDPIAwareFuncType)(void); - SetProcessDPIAwareFuncType SetProcessDPIAwareFunc = GetProcAddress(user32Dll, "SetProcessDPIAware"); + SetProcessDPIAwareFuncType SetProcessDPIAwareFunc = reinterpret_cast(GetProcAddress(user32Dll, "SetProcessDPIAware")); if (SetProcessDPIAwareFunc) {