Skip to content

Commit fe743e4

Browse files
authored
fix struct alignment (#318)
1 parent 5f40d96 commit fe743e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/src/ffi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ pub mod abi_types {
11361136
}
11371137
}
11381138

1139-
#[repr(C)]
1139+
#[repr(C, align(16))]
11401140
#[derive(Clone, Copy, Debug, Default, PartialEq)]
11411141
pub struct IsolatedMarginCalculation {
11421142
pub market_index: u16,

0 commit comments

Comments
 (0)