fix generic sigsetjmp (unused anyway) pointer signedness error

This commit is contained in:
Rich Felker 2011-09-16 12:44:39 -04:00
parent 144c951b0d
commit 5b91c22335
1 changed files with 1 additions and 1 deletions

View File

@ -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);