diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-06-13 20:37:52 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-06-13 20:37:52 -0400 |
commit | f09e78de983a8d1daf2f6e071a998eb615f1ce67 (patch) | |
tree | 326b60303275709627c371ac64bd0390c3810726 | |
parent | 1e4f1cf154d18d2bd13cd4524a8bbae6786efd02 (diff) | |
download | musl-f09e78de983a8d1daf2f6e071a998eb615f1ce67.tar.gz musl-f09e78de983a8d1daf2f6e071a998eb615f1ce67.tar.bz2 musl-f09e78de983a8d1daf2f6e071a998eb615f1ce67.tar.xz musl-f09e78de983a8d1daf2f6e071a998eb615f1ce67.zip |
fix sigset macro for 64-bit systems (<< was overflowing due to wrong type)
-rw-r--r-- | src/internal/pthread_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 219bf006..12f8ccfc 100644 --- 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] = 3UL<<(32*(sizeof(long)>4)) }) #define SIGTIMER_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \ 0x80000000 }) |