From 68979757bc2813c52f751a1e7fbc784567798b31 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 2 Jun 2000 00:27:08 +0000 Subject: Update. * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before shifting. --- elf/elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf') 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. */ -- cgit 1.4.1