about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 042dcbdb31..b9b34429e7 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -476,7 +476,7 @@ typedef struct
 
 #define ELF64_R_SYM(i)			((i) >> 32)
 #define ELF64_R_TYPE(i)			((i) & 0xffffffff)
-#define ELF64_R_INFO(sym,type)		(((sym) << 32) + (type))
+#define ELF64_R_INFO(sym,type)		((((Elf64_Xword) (sym)) << 32) + (type))
 
 /* Program segment header.  */