File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/unix/bsd/netbsdlike/openbsd Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -630,7 +630,7 @@ impl siginfo_t {
630630 _pad : [ c_int ; SI_PAD ] ,
631631 _pid : crate :: pid_t ,
632632 }
633- ( * ( self as * const siginfo_t as * const siginfo_timer ) ) . _pid
633+ ( * ( self as * const siginfo_t ) . cast :: < siginfo_timer > ( ) ) . _pid
634634 }
635635
636636 pub unsafe fn si_uid ( & self ) -> crate :: uid_t {
@@ -643,7 +643,7 @@ impl siginfo_t {
643643 _pid : crate :: pid_t ,
644644 _uid : crate :: uid_t ,
645645 }
646- ( * ( self as * const siginfo_t as * const siginfo_timer ) ) . _uid
646+ ( * ( self as * const siginfo_t ) . cast :: < siginfo_timer > ( ) ) . _uid
647647 }
648648
649649 pub unsafe fn si_value ( & self ) -> crate :: sigval {
@@ -657,7 +657,7 @@ impl siginfo_t {
657657 _uid : crate :: uid_t ,
658658 value : crate :: sigval ,
659659 }
660- ( * ( self as * const siginfo_t as * const siginfo_timer ) ) . value
660+ ( * ( self as * const siginfo_t ) . cast :: < siginfo_timer > ( ) ) . value
661661 }
662662}
663663
You can’t perform that action at this time.
0 commit comments