Skip to content

Commit aea5519

Browse files
committed
uefi: Fix UsbIoProtocol's bulk_transfer()
1 parent 16351a8 commit aea5519

File tree

1 file changed

+2
-2
lines changed
  • uefi-raw/src/protocol/usb

1 file changed

+2
-2
lines changed

uefi-raw/src/protocol/usb/io.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ pub struct UsbIoProtocol {
106106
this: *mut Self,
107107
device_endpoint: u8,
108108
data: *mut ffi::c_void,
109-
data_length: usize,
110-
timeout: u32,
109+
data_length: *mut usize,
110+
timeout: usize,
111111
status: *mut UsbTransferStatus,
112112
) -> Status,
113113
pub async_interrupt_transfer: unsafe extern "efiapi" fn(

0 commit comments

Comments
 (0)