Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24b2489 commit d669d1bCopy full SHA for d669d1b
1 file changed
src/_c_internal_utils.cpp
@@ -165,7 +165,7 @@ mpl_SetProcessDpiAwareness_max(void)
165
DPI_AWARENESS_CONTEXT_SYSTEM_AWARE}; // Win10
166
if (IsValidDpiAwarenessContextPtr != NULL
167
&& SetProcessDpiAwarenessContextPtr != NULL) {
168
- for (int i = 0; i < sizeof(ctxs) / sizeof(DPI_AWARENESS_CONTEXT); ++i) {
+ for (size_t i = 0; i < sizeof(ctxs) / sizeof(DPI_AWARENESS_CONTEXT); ++i) {
169
if (IsValidDpiAwarenessContextPtr(ctxs[i])) {
170
SetProcessDpiAwarenessContextPtr(ctxs[i]);
171
break;
0 commit comments