summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-16 12:44:39 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-16 12:44:39 -0400
commit5b91c2233583ed2a9512269223221186d9a79fc6 (patch)
treed9f59812b4bd4d4e98ae6e5119f5b6e0fe14feb2 /src
parent144c951b0df6be51a67c9f4d5d3626c22a947f16 (diff)
downloadmusl-5b91c2233583ed2a9512269223221186d9a79fc6.tar.gz
fix generic sigsetjmp (unused anyway) pointer signedness error
Diffstat (limited to 'src')
-rw-r--r--src/signal/sigsetjmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/sigsetjmp.c b/src/signal/sigsetjmp.c
index a6667a27..5c937074 100644
--- a/src/signal/sigsetjmp.c
+++ b/src/signal/sigsetjmp.c
@@ -9,7 +9,7 @@
int sigsetjmp(sigjmp_buf buf, int save)
{
- long *flag = buf + sizeof(jmp_buf)/sizeof(long);
+ unsigned long *flag = buf + sizeof(jmp_buf)/sizeof(long);
sigset_t *mask = (void *)(flag + 1);
if ((*flag = save))
sigprocmask (SIG_SETMASK, NULL, mask);