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

This commit is contained in:
Rich Felker 2011-06-13 20:37:52 -04:00
parent 1e4f1cf154
commit f09e78de98
1 changed files with 1 additions and 1 deletions

View File

@ -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 })