diff --git a/src/lib.rs b/src/lib.rs index 10fb0f1..2724f2c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -56,7 +56,7 @@ pub struct Engine { i: Arc, } -#[packed] +#[repr(packed)] struct PropHdr { qobj: *mut QObject, obj: T