mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
Kernel: Fix compilation with Clang
Co-Authored-By: Andrew Kaster <akaster@serenityos.org>
This commit is contained in:
parent
7ea55c883b
commit
eedb26110a
2 changed files with 21 additions and 11 deletions
|
@ -805,7 +805,7 @@ bool Thread::should_ignore_signal(u8 signal) const
|
|||
auto& action = m_signal_action_data[signal];
|
||||
if (action.handler_or_sigaction.is_null())
|
||||
return default_signal_action(signal) == DefaultSignalAction::Ignore;
|
||||
if ((sighandler_t)action.handler_or_sigaction.as_ptr() == SIG_IGN)
|
||||
if ((sighandler_t)action.handler_or_sigaction.get() == SIG_IGN)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue