Skip to content

Commit

Permalink
Revert "[sanitizer_common] Suppress warning of cast from SignalHandle…
Browse files Browse the repository at this point in the history
…rType to sa_sigaction_t"

This reverts commit 9d79589
because it failed to suppress the warning.
  • Loading branch information
thurstond committed Mar 21, 2024
1 parent 0d08282 commit 0e3fbfd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static void MaybeInstallSigaction(int signum,

struct sigaction sigact;
internal_memset(&sigact, 0, sizeof(sigact));
sigact.sa_sigaction = (sa_sigaction_t)(void (*)(void))handler;
sigact.sa_sigaction = (sa_sigaction_t)handler;
// Do not block the signal from being received in that signal's handler.
// Clients are responsible for handling this correctly.
sigact.sa_flags = SA_SIGINFO | SA_NODEFER;
Expand Down

0 comments on commit 0e3fbfd

Please sign in to comment.