summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-02 00:27:08 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-02 00:27:08 +0000
commit68979757bc2813c52f751a1e7fbc784567798b31 (patch)
treec327b5355eba1d4945c78076bac49c77806ffd0f /elf
parent61d655c1cba7d9755ddf11458f2c94fe58ff50e1 (diff)
downloadglibc-68979757bc2813c52f751a1e7fbc784567798b31.tar.gz
glibc-68979757bc2813c52f751a1e7fbc784567798b31.tar.xz
glibc-68979757bc2813c52f751a1e7fbc784567798b31.zip
Update.
	* elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
	shifting.
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.  */