diff --git a/dlls/kernel32/tests/process.c b/dlls/kernel32/tests/process.c index ea9cde5facc..0c514f816c1 100644 --- a/dlls/kernel32/tests/process.c +++ b/dlls/kernel32/tests/process.c @@ -2187,9 +2187,9 @@ static void test_IsWow64Process2(void) #elif defined __x86_64__ USHORT expect_native = IMAGE_FILE_MACHINE_AMD64; #elif defined __arm__ - USHORT expect_native = IMAGE_FILE_MACHINE_ARM; + USHORT expect_native = IMAGE_FILE_MACHINE_ARMNT; #elif defined __aarch64__ - USHORT expect_native = IMAGE_FILE_MACHINE_ARM; + USHORT expect_native = IMAGE_FILE_MACHINE_ARM64; #else USHORT expect_native = 0; #endif diff --git a/dlls/kernelbase/process.c b/dlls/kernelbase/process.c index 98cefc717da..44bf0606c7a 100644 --- a/dlls/kernelbase/process.c +++ b/dlls/kernelbase/process.c @@ -1002,7 +1002,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH IsWow64Process2( HANDLE process, USHORT *machine, *native_machine = IMAGE_FILE_MACHINE_I386; break; case PROCESSOR_ARCHITECTURE_ARM: - *native_machine = IMAGE_FILE_MACHINE_ARM; + *native_machine = IMAGE_FILE_MACHINE_ARMNT; break; case PROCESSOR_ARCHITECTURE_AMD64: *native_machine = IMAGE_FILE_MACHINE_AMD64;