diff --git a/uefi-raw/CHANGELOG.md b/uefi-raw/CHANGELOG.md index c9014782c..15a8d793f 100644 --- a/uefi-raw/CHANGELOG.md +++ b/uefi-raw/CHANGELOG.md @@ -1,5 +1,7 @@ # uefi-raw - [Unreleased] +## Changed +- `maximum_capsule_size` of `query_capsule_capabilities` now takes a *mut u64 instead of a *mut usize. # uefi-raw - 0.5.2 (2024-04-19) diff --git a/uefi-raw/src/table/runtime.rs b/uefi-raw/src/table/runtime.rs index e6474e71d..088118272 100644 --- a/uefi-raw/src/table/runtime.rs +++ b/uefi-raw/src/table/runtime.rs @@ -66,7 +66,7 @@ pub struct RuntimeServices { pub query_capsule_capabilities: unsafe extern "efiapi" fn( capsule_header_array: *const *const CapsuleHeader, capsule_count: usize, - maximum_capsule_size: *mut usize, + maximum_capsule_size: *mut u64, reset_type: *mut ResetType, ) -> Status,