mirror of git://git.musl-libc.org/musl
fix generic sigsetjmp (unused anyway) pointer signedness error
This commit is contained in:
parent
144c951b0d
commit
5b91c22335
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue