summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-08-23 20:31:31 +0200
committerlouiz’ <louiz@louiz.org>2018-08-23 20:31:31 +0200
commitb1564e4ddc3e54ad78788a6f5643056d03a41678 (patch)
tree026958b802d90fa93741e6b7e539fd03ce7599de /src/main.cpp
parent0b51e3828116f6847865fae93893eb97a10d1cc2 (diff)
downloadbiboumi-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.cpp2
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);