diff --git a/src/proto/device_path.rs b/src/proto/device_path.rs index 76db9e805..e0e801dc2 100644 --- a/src/proto/device_path.rs +++ b/src/proto/device_path.rs @@ -32,7 +32,7 @@ pub struct DevicePath { /// Data related to device path /// /// The `device_type` and `sub_type` determine the kind of data, and its size. - pub length: [u8; 2], + pub length: u16, } newtype_enum! {