diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-16 12:44:39 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-16 12:44:39 -0400 |
commit | 5b91c2233583ed2a9512269223221186d9a79fc6 (patch) | |
tree | d9f59812b4bd4d4e98ae6e5119f5b6e0fe14feb2 /src | |
parent | 144c951b0df6be51a67c9f4d5d3626c22a947f16 (diff) | |
download | musl-5b91c2233583ed2a9512269223221186d9a79fc6.tar.gz |
fix generic sigsetjmp (unused anyway) pointer signedness error
Diffstat (limited to 'src')
-rw-r--r-- | src/signal/sigsetjmp.c | 2 |
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); |