Merge pull request #688 from bruceoutdoors/master

Fixed compilation error in VS2013 64bit
This commit is contained in:
binary1248 2014-08-23 15:00:37 +02:00
commit 20bf0e0b9c

View File

@ -101,7 +101,7 @@ namespace
if (user32Dll)
{
typedef BOOL (WINAPI* SetProcessDPIAwareFuncType)(void);
SetProcessDPIAwareFuncType SetProcessDPIAwareFunc = GetProcAddress(user32Dll, "SetProcessDPIAware");
SetProcessDPIAwareFuncType SetProcessDPIAwareFunc = reinterpret_cast<SetProcessDPIAwareFuncType>(GetProcAddress(user32Dll, "SetProcessDPIAware"));
if (SetProcessDPIAwareFunc)
{