From 19059ccaffcd72ec72b89c9c9d083f5c8145b028 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 11 Aug 2023 16:16:03 +0300 Subject: [PATCH] MSVC warning. --- src/libs/vmisc/theme/vtheme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vmisc/theme/vtheme.cpp b/src/libs/vmisc/theme/vtheme.cpp index 5cec86d30..f92b91427 100644 --- a/src/libs/vmisc/theme/vtheme.cpp +++ b/src/libs/vmisc/theme/vtheme.cpp @@ -86,7 +86,7 @@ bool GetTrueWindowsVersion(RTL_OSVERSIONINFOW &osVersionInfo) RtlGetVersionFunc pRtlGetVersion = nullptr; // Load the System-DLL - HINSTANCE hNTdllDll = LoadLibrary(L"ntdll.dll"); + HMODULE hNTdllDll = LoadLibrary(L"ntdll.dll"); // Successfully loaded? if (hNTdllDll != nullptr)