Skip to content

Commit 1a98569

Browse files
authored
Merge pull request #142 from NotRequiem/main
stupid change to avoid compiler warning
2 parents 402ae6d + ed89882 commit 1a98569

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

src/vmaware.hpp

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1982,27 +1982,27 @@ struct VM {
19821982
typedef NTSTATUS(WINAPI* RtlGetVersionFunc)(PRTL_OSVERSIONINFOW);
19831983

19841984
const std::map<DWORD, u8> windowsVersions = {
1985-
{ 6002, 6 }, // windows vista, technically no number but this function is just for great than operations anyway so it doesn't matter
1986-
{ 7601, 7 },
1987-
{ 9200, 8 },
1988-
{ 9600, 8 },
1989-
{ 10240, 10 },
1990-
{ 10586, 10 },
1991-
{ 14393, 10 },
1992-
{ 15063, 10 },
1993-
{ 16299, 10 },
1994-
{ 17134, 10 },
1995-
{ 17763, 10 },
1996-
{ 18362, 10 },
1997-
{ 18363, 10 },
1998-
{ 19041, 10 },
1999-
{ 19042, 10 },
2000-
{ 19043, 10 },
2001-
{ 19044, 10 },
2002-
{ 19045, 10 },
2003-
{ 22000, 11 },
2004-
{ 22621, 11 },
2005-
{ 22631, 11 }
1985+
{ 6002, static_cast<u8>(6) }, // windows vista, technically no number but this function is just for great than operations anyway so it doesn't matter
1986+
{ 7601, static_cast<u8>(7) },
1987+
{ 9200, static_cast<u8>(8) },
1988+
{ 9600, static_cast<u8>(8) },
1989+
{ 10240, static_cast<u8>(10) },
1990+
{ 10586, static_cast<u8>(10) },
1991+
{ 14393, static_cast<u8>(10) },
1992+
{ 15063, static_cast<u8>(10) },
1993+
{ 16299, static_cast<u8>(10) },
1994+
{ 17134, static_cast<u8>(10) },
1995+
{ 17763, static_cast<u8>(10) },
1996+
{ 18362, static_cast<u8>(10) },
1997+
{ 18363, static_cast<u8>(10) },
1998+
{ 19041, static_cast<u8>(10) },
1999+
{ 19042, static_cast<u8>(10) },
2000+
{ 19043, static_cast<u8>(10) },
2001+
{ 19044, static_cast<u8>(10) },
2002+
{ 19045, static_cast<u8>(10) },
2003+
{ 22000, static_cast<u8>(11) },
2004+
{ 22621, static_cast<u8>(11) },
2005+
{ 22631, static_cast<u8>(11) }
20062006
};
20072007

20082008
HMODULE ntdll = LoadLibraryW(L"ntdll.dll");
@@ -10293,4 +10293,4 @@ const std::map<VM::enum_flags, VM::core::technique> VM::core::technique_table =
1029310293
{ VM::SMBIOS_VM_BIT, { 50, VM::smbios_vm_bit, false } },
1029410294
{ VM::PODMAN_FILE, { 15, VM::podman_file, true } },
1029510295
{ VM::WSL_PROC, { 30, VM::wsl_proc_subdir, false } }
10296-
};
10296+
};

0 commit comments

Comments
 (0)