projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e4f1cf
)
fix sigset macro for 64-bit systems (<< was overflowing due to wrong type)
author
Rich Felker
<dalias@aerifal.cx>
Tue, 14 Jun 2011 00:37:52 +0000
(20:37 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 14 Jun 2011 00:37:52 +0000
(20:37 -0400)
src/internal/pthread_impl.h
patch
|
blob
|
history
diff --git
a/src/internal/pthread_impl.h
b/src/internal/pthread_impl.h
index 219bf006d51beb491a8c0d77ec8bada802f2bdbf..12f8ccfcba66b47dc6c7e069839fb88fccd841a9 100644
(file)
--- a/
src/internal/pthread_impl.h
+++ b/
src/internal/pthread_impl.h
@@
-82,7
+82,7
@@
struct __timer {
#define SIGSYSCALL 34
#define SIGPT_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \
- [sizeof(long)==4] = 3<<(32*(sizeof(long)>4)) })
+ [sizeof(long)==4] = 3
UL
<<(32*(sizeof(long)>4)) })
#define SIGTIMER_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \
0x80000000 })