summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-08-12 20:41:44 +0000
committermidipix <writeonce@midipix.org>2024-08-12 20:41:44 +0000
commit3da739638f9f91e128e964fdc42ddd8b99ec5103 (patch)
treedfda3d2fb2a656ac8bd77b350dbac84514f1f2cb
parent6ebb48a464fcd480f12e85fc442bec5317a011a6 (diff)
downloadntapi-3da739638f9f91e128e964fdc42ddd8b99ec5103.tar.bz2
ntapi-3da739638f9f91e128e964fdc42ddd8b99ec5103.tar.xz
struct _nt_system_basic_information: make struct size pointer-size aligned.
-rw-r--r--include/ntapi/nt_sysinfo.h10
1 files changed, 5 insertions, 5 deletions
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;