diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-07-22 18:58:35 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-07-22 18:58:35 -0400 |
commit | d64624912469fc4eccee95e65d7c9e3a3076d699 (patch) | |
tree | f3706136a7e267be5104544cf5bb5cc20cbf6ca4 /include | |
parent | dc046f55bbff5f79d022882723c73a6b9af0bf86 (diff) | |
download | musl-d64624912469fc4eccee95e65d7c9e3a3076d699.tar.gz musl-d64624912469fc4eccee95e65d7c9e3a3076d699.tar.xz musl-d64624912469fc4eccee95e65d7c9e3a3076d699.zip |
fix wrong size for sigjmp_buf signal set array
128 is the size in bytes, not longs.
Diffstat (limited to 'include')
-rw-r--r-- | include/setjmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/setjmp.h b/include/setjmp.h index 28ff92e4..7dc72767 100644 --- a/include/setjmp.h +++ b/include/setjmp.h @@ -14,7 +14,7 @@ extern "C" { typedef struct { jmp_buf __jb; unsigned long __fl; - unsigned long __ss[128]; + unsigned long __ss[128/sizeof(long)]; } sigjmp_buf[1]; int sigsetjmp (sigjmp_buf, int); void siglongjmp (sigjmp_buf, int); |