bug fix: compilation error in VS2013 64bit

This commit is contained in:
Lee Zhen Yong 2014-08-23 20:31:57 +08:00
parent ef1b9d6b20
commit e5a98aa1d5

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)
{