From: Rich Felker Date: Fri, 1 May 2015 17:35:51 +0000 (-0400) Subject: fix integer overflow in elf.h macro SHF_EXCLUDE X-Git-Tag: v1.1.9~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e98a54643ee95032baab883673628314e520012e;p=oweals%2Fmusl.git fix integer overflow in elf.h macro SHF_EXCLUDE --- 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