提交 f09e78de 编写于 作者: R Rich Felker

fix sigset macro for 64-bit systems (<< was overflowing due to wrong type)

上级 1e4f1cf1
......@@ -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] = 3UL<<(32*(sizeof(long)>4)) })
#define SIGTIMER_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \
0x80000000 })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册