Added parentheses in ELF64_R_INFO macro for 's' parameter

This commit is contained in:
Gleb Struchalin 2019-04-17 22:07:55 +03:00 committed by Serge Lamikhov-Center
parent 350008420f
commit e64acb2b2e

View File

@ -827,7 +827,7 @@ struct Elf64_Rela {
#define ELF64_R_SYM(i) ((i)>>32)
#define ELF64_R_TYPE(i) ((i)&0xffffffffL)
#define ELF64_R_INFO(s,t) ((((int64_t)s)<<32)+((t)&0xffffffffL))
#define ELF64_R_INFO(s,t) ((((int64_t)(s))<<32)+((t)&0xffffffffL))
// Dynamic structure
struct Elf32_Dyn {