mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-13 12:46:18 +00:00
* Added sigset_t type cast.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1249 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -80,7 +80,7 @@ SignalHandler::set_sigaction_handler(unsigned int signum, handler_slot slot) {
|
|||||||
|
|
||||||
struct sigaction sa;
|
struct sigaction sa;
|
||||||
sa.sa_sigaction = slot;
|
sa.sa_sigaction = slot;
|
||||||
sa.sa_mask = 0;
|
sa.sa_mask = (sigset_t)0;
|
||||||
sa.sa_flags = SA_SIGINFO;
|
sa.sa_flags = SA_SIGINFO;
|
||||||
|
|
||||||
if (sigaction(signum, &sa, NULL) == -1)
|
if (sigaction(signum, &sa, NULL) == -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user