MSVC warning.

This commit is contained in:
Roman Telezhynskyi 2023-08-11 16:16:03 +03:00
parent 5d5ab508d4
commit 19059ccaff

View File

@ -86,7 +86,7 @@ bool GetTrueWindowsVersion(RTL_OSVERSIONINFOW &osVersionInfo)
RtlGetVersionFunc pRtlGetVersion = nullptr; RtlGetVersionFunc pRtlGetVersion = nullptr;
// Load the System-DLL // Load the System-DLL
HINSTANCE hNTdllDll = LoadLibrary(L"ntdll.dll"); HMODULE hNTdllDll = LoadLibrary(L"ntdll.dll");
// Successfully loaded? // Successfully loaded?
if (hNTdllDll != nullptr) if (hNTdllDll != nullptr)