mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 05:32:31 +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;
|
||||
sa.sa_sigaction = slot;
|
||||
sa.sa_mask = 0;
|
||||
sa.sa_mask = (sigset_t)0;
|
||||
sa.sa_flags = SA_SIGINFO;
|
||||
|
||||
if (sigaction(signum, &sa, NULL) == -1)
|
||||
|
||||
Reference in New Issue
Block a user