projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix possible (questionable) strict aliasing violations and ptr arith
[musl]
/
src
/
signal
/
siglongjmp.c
diff --git
a/src/signal/siglongjmp.c
b/src/signal/siglongjmp.c
index
33ac30e
..
1712917
100644
(file)
--- a/
src/signal/siglongjmp.c
+++ b/
src/signal/siglongjmp.c
@@
-4,7
+4,7
@@
void siglongjmp(sigjmp_buf buf, int ret)
{
- 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)
sigprocmask (SIG_SETMASK, mask, NULL);