DescriptionFix return type of SetProcessDpiAwareness aka SetProcessDpiAwarenessInternal
This function (documented as SetProcessDpiAwareness but exported as
SetProcessDpiAwarenessInternal) has a return type of HRESULT but we
declared it as returning BOOL. This triggered the following /analyze
warning:
src\chrome\app\chrome_exe_main_win.cc(104) : warning C6216:
Compiler-inserted cast between semantically different integral
types: a Boolean type to HRESULT.
BUG=427616
Committed: https://crrev.com/592f8e1b305c8a67abe130210818b78d188df8b3
Cr-Commit-Position: refs/heads/master@{#302212}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|