change sa_flags in sigaction to int to match spec

This commit is contained in:
auronandace
2026-02-19 09:46:56 +00:00
parent 9e0f04133c
commit 4b3d1aa5ca
4 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ impl PalSignal for Sys {
}
let act = act.map(|act| {
let mut act_clone = act.clone();
act_clone.sa_flags |= SA_RESTORER as c_ulong;
act_clone.sa_flags |= SA_RESTORER as c_int;
act_clone.sa_restorer = Some(__restore_rt);
act_clone
});