summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--signal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index e0a41ca..d7ec7ae 100644
--- a/signal.c
+++ b/signal.c
@@ -36,6 +36,10 @@ pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
if (set != NULL)
{
int i;
+
+ /* FIXME: this code assumes that sigmask is an even multiple of
+ the size of a long integer. */
+
unsigned long *src = set;
unsigned long *dest = this->attr->sigmask;