commit | 6bffcc2335f584e45f0b704986413f42391c7057 | [log] [tgz] |
---|---|---|
author | rofl0r <retnyg@gmx.net> | Thu Dec 06 22:48:46 2012 +0100 |
committer | rofl0r <retnyg@gmx.net> | Thu Dec 06 22:48:46 2012 +0100 |
tree | b0c3a3fccec83c87fc49b21420f151b38a8fd0d5 | |
parent | e00e07f66456d5bcdfde84a1801230ce8bf40ee7 [diff] [blame] |
fix sigorset/sigandset: _NSIG/8 is the size in bytes
diff --git a/src/signal/sigorset.c b/src/signal/sigorset.c index 5460224..df1b1b1 100644 --- a/src/signal/sigorset.c +++ b/src/signal/sigorset.c
@@ -1,7 +1,7 @@ #define _GNU_SOURCE #include <signal.h> -#define SST_SIZE (_NSIG/8) +#define SST_SIZE (_NSIG/8/sizeof(long)) int sigorset(sigset_t *dest, sigset_t *left, sigset_t *right) {