mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
Kernel: Fix compilation with Clang
Co-Authored-By: Andrew Kaster <akaster@serenityos.org>
This commit is contained in:
committed by
Linus Groh
parent
7ea55c883b
commit
eedb26110a
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user