summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-05-01 13:35:51 -0400
committerRich Felker <dalias@aerifal.cx>2015-05-01 13:35:51 -0400
commite98a54643ee95032baab883673628314e520012e (patch)
tree6ffc433f418979900406c6cf13d95f9d0b030f2b
parent58fa856960d3073bcf84adac8e8bd6c555674271 (diff)
downloadmusl-e98a54643ee95032baab883673628314e520012e.tar.gz
fix integer overflow in elf.h macro SHF_EXCLUDE
-rw-r--r--include/elf.h2
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