diff options
author | louiz’ <louiz@louiz.org> | 2018-08-23 20:31:31 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-08-23 20:31:31 +0200 |
commit | b1564e4ddc3e54ad78788a6f5643056d03a41678 (patch) | |
tree | 026958b802d90fa93741e6b7e539fd03ce7599de /src/main.cpp | |
parent | 0b51e3828116f6847865fae93893eb97a10d1cc2 (diff) | |
download | biboumi-b1564e4ddc3e54ad78788a6f5643056d03a41678.tar.gz biboumi-b1564e4ddc3e54ad78788a6f5643056d03a41678.tar.bz2 biboumi-b1564e4ddc3e54ad78788a6f5643056d03a41678.tar.xz biboumi-b1564e4ddc3e54ad78788a6f5643056d03a41678.zip |
Fix a bunch of int to unsigned int conversion warnings
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 04500b7..2448197 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -77,7 +77,7 @@ static void setup_signals() sigfillset(&on_sigint.sa_mask); // we want to catch that signal only once. // Sending SIGINT again will "force" an exit - on_sigint.sa_flags = SA_RESETHAND; + on_sigint.sa_flags = 0 & SA_RESETHAND; sigaction(SIGINT, &on_sigint, nullptr); sigaction(SIGTERM, &on_sigint, nullptr); |