about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-07-22 18:58:35 -0400
committerRich Felker <dalias@aerifal.cx>2012-07-22 18:58:35 -0400
commitd64624912469fc4eccee95e65d7c9e3a3076d699 (patch)
treef3706136a7e267be5104544cf5bb5cc20cbf6ca4 /include
parentdc046f55bbff5f79d022882723c73a6b9af0bf86 (diff)
downloadmusl-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.h2
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);