diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-05-01 13:35:51 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-05-01 13:35:51 -0400 |
commit | e98a54643ee95032baab883673628314e520012e (patch) | |
tree | 6ffc433f418979900406c6cf13d95f9d0b030f2b /include/elf.h | |
parent | 58fa856960d3073bcf84adac8e8bd6c555674271 (diff) | |
download | musl-e98a54643ee95032baab883673628314e520012e.tar.gz |
fix integer overflow in elf.h macro SHF_EXCLUDE
Diffstat (limited to 'include/elf.h')
-rw-r--r-- | include/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/elf.h b/include/elf.h index c748c445..1d43670c 100644 --- a/include/elf.h +++ b/include/elf.h @@ -319,7 +319,7 @@ typedef struct { #define SHF_MASKOS 0x0ff00000 #define SHF_MASKPROC 0xf0000000 #define SHF_ORDERED (1 << 30) -#define SHF_EXCLUDE (1 << 31) +#define SHF_EXCLUDE (1U << 31) #define GRP_COMDAT 0x1 |