Skip to content

Commit c140616

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
Fix dism resources to work on Windows arm64
1 parent 5ef68a5 commit c140616

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

resources/dism_dsc/src/dism.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ unsafe extern "system" {
2525
) -> *mut c_void;
2626
}
2727

28-
#[repr(C, packed(4))]
28+
#[repr(C, packed)]
2929
struct DismFeature {
3030
feature_name: *const u16,
3131
state: i32,
3232
}
3333

34-
#[repr(C, packed(4))]
34+
#[repr(C, packed)]
3535
struct DismFeatureInfo {
3636
feature_name: *const u16,
3737
state: i32,
@@ -42,13 +42,13 @@ struct DismFeatureInfo {
4242
custom_property_count: u32,
4343
}
4444

45-
#[repr(C, packed(4))]
45+
#[repr(C, packed)]
4646
struct DismCapability {
4747
name: *const u16,
4848
state: i32,
4949
}
5050

51-
#[repr(C, packed(4))]
51+
#[repr(C, packed)]
5252
struct DismCapabilityDetail {
5353
name: *const u16,
5454
state: i32,

0 commit comments

Comments
 (0)