Skip to content

Commit ce1a8fc

Browse files
authored
Add repr(C) to i256 (#5837)
1 parent 176a2d7 commit ce1a8fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arrow-buffer/src/bigint/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ enum DivRemError {
5454
/// A signed 256-bit integer
5555
#[allow(non_camel_case_types)]
5656
#[derive(Copy, Clone, Default, Eq, PartialEq, Hash)]
57+
#[repr(C)]
5758
pub struct i256 {
5859
low: u128,
5960
high: i128,

0 commit comments

Comments
 (0)