Commit 5d7156f1 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shcore: Avoid implicit enum casts.

parent c254ff8d
...@@ -67,7 +67,7 @@ HRESULT WINAPI GetProcessDpiAwareness(HANDLE process, PROCESS_DPI_AWARENESS *val ...@@ -67,7 +67,7 @@ HRESULT WINAPI GetProcessDpiAwareness(HANDLE process, PROCESS_DPI_AWARENESS *val
HRESULT WINAPI SetProcessDpiAwareness(PROCESS_DPI_AWARENESS value) HRESULT WINAPI SetProcessDpiAwareness(PROCESS_DPI_AWARENESS value)
{ {
if (SetProcessDpiAwarenessInternal( value )) return S_OK; if (SetProcessDpiAwarenessInternal( (DPI_AWARENESS)value )) return S_OK;
return HRESULT_FROM_WIN32( GetLastError() ); return HRESULT_FROM_WIN32( GetLastError() );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment