Skip to content

Commit b98ca5d

Browse files
josephlrdependabot-preview[bot]
authored andcommitted
Fix r_efi pointer types
Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 3b09aab commit b98ca5d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/efi/mod.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,11 @@ pub extern "win64" fn locate_handle(
379379
Status::UNSUPPORTED
380380
}
381381

382-
pub extern "win64" fn locate_device_path(_: *mut Guid, _: *mut *mut c_void) -> Status {
382+
pub extern "win64" fn locate_device_path(
383+
_: *mut Guid,
384+
_: *mut *mut DevicePathProtocol,
385+
_: *mut *mut c_void,
386+
) -> Status {
383387
Status::NOT_FOUND
384388
}
385389

@@ -390,7 +394,7 @@ pub extern "win64" fn install_configuration_table(_: *mut Guid, _: *mut c_void)
390394
pub extern "win64" fn load_image(
391395
_: Boolean,
392396
_: Handle,
393-
_: *mut c_void,
397+
_: *mut DevicePathProtocol,
394398
_: *mut c_void,
395399
_: usize,
396400
_: *mut Handle,
@@ -429,7 +433,7 @@ pub extern "win64" fn set_watchdog_timer(_: usize, _: u64, _: usize, _: *mut Cha
429433
pub extern "win64" fn connect_controller(
430434
_: Handle,
431435
_: *mut Handle,
432-
_: *mut c_void,
436+
_: *mut DevicePathProtocol,
433437
_: Boolean,
434438
) -> Status {
435439
Status::UNSUPPORTED

0 commit comments

Comments
 (0)