Skip to content
Snippets Groups Projects
Verified Commit d6af37e9 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix a missing cast to sigset_t

parent aa1e63d7
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ impl PalSignal for Sys {
if let (Some(old), Some(oact)) = (old_opt, oact) {
oact.sa_handler = unsafe { mem::transmute(old.sa_handler) };
let m = old.sa_mask;
oact.sa_mask = m[0] as c_ulong;
oact.sa_mask = m[0] as sigset_t;
oact.sa_flags = old.sa_flags.bits() as c_ulong;
}
ret
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment