aboutsummaryrefslogtreecommitdiff
path: root/elf/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 042dcbd..b9b3442 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. */