From 3da739638f9f91e128e964fdc42ddd8b99ec5103 Mon Sep 17 00:00:00 2001 From: midipix Date: Aug 12 2024 20:41:44 +0000 Subject: struct _nt_system_basic_information: make struct size pointer-size aligned. --- diff --git a/include/ntapi/nt_sysinfo.h b/include/ntapi/nt_sysinfo.h index 305095d..ba6bbeb 100644 --- a/include/ntapi/nt_sysinfo.h +++ b/include/ntapi/nt_sysinfo.h @@ -226,11 +226,11 @@ typedef struct _nt_system_basic_information { uint32_t physical_page_count; uint32_t physical_page_lowest; uint32_t physical_page_highest; - uint32_t allocation_granularity; - uint32_t user_address_lowest; - uint32_t user_address_highest; - uint32_t active_processors; - unsigned char processor_count; + uintptr_t allocation_granularity; + uintptr_t user_address_lowest; + uintptr_t user_address_highest; + uintptr_t active_processors; + uintptr_t processor_count; } nt_system_basic_information;