diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-06-02 00:27:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-06-02 00:27:08 +0000 |
commit | 68979757bc2813c52f751a1e7fbc784567798b31 (patch) | |
tree | c327b5355eba1d4945c78076bac49c77806ffd0f /elf | |
parent | 61d655c1cba7d9755ddf11458f2c94fe58ff50e1 (diff) | |
download | glibc-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.h | 2 |
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. */ |