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 {
630
630
_pad : [ c_int ; SI_PAD ] ,
631
631
_pid : crate :: pid_t ,
632
632
}
633
- ( * ( self as * const siginfo_t as * const siginfo_timer ) ) . _pid
633
+ ( * ( self as * const siginfo_t ) . cast :: < siginfo_timer > ( ) ) . _pid
634
634
}
635
635
636
636
pub unsafe fn si_uid ( & self ) -> crate :: uid_t {
@@ -643,7 +643,7 @@ impl siginfo_t {
643
643
_pid : crate :: pid_t ,
644
644
_uid : crate :: uid_t ,
645
645
}
646
- ( * ( self as * const siginfo_t as * const siginfo_timer ) ) . _uid
646
+ ( * ( self as * const siginfo_t ) . cast :: < siginfo_timer > ( ) ) . _uid
647
647
}
648
648
649
649
pub unsafe fn si_value ( & self ) -> crate :: sigval {
@@ -657,7 +657,7 @@ impl siginfo_t {
657
657
_uid : crate :: uid_t ,
658
658
value : crate :: sigval ,
659
659
}
660
- ( * ( self as * const siginfo_t as * const siginfo_timer ) ) . value
660
+ ( * ( self as * const siginfo_t ) . cast :: < siginfo_timer > ( ) ) . value
661
661
}
662
662
}
663
663
You can’t perform that action at this time.
0 commit comments