Fix mips64 build. Replace explicit cast with static_cast
Change-Id: Ib08fbe8bb832884a3eb33904fe4d490759116cb2
This commit is contained in:
parent
385c07a74c
commit
db3078d97b
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ bool soinfo::relocate(ElfW(Rel)* rel, unsigned count, const soinfo_list_t& globa
|
||||||
if (ELF64_R_TYPE2(rel->r_info) != R_MIPS_64 ||
|
if (ELF64_R_TYPE2(rel->r_info) != R_MIPS_64 ||
|
||||||
ELF64_R_TYPE3(rel->r_info) != R_MIPS_NONE) {
|
ELF64_R_TYPE3(rel->r_info) != R_MIPS_NONE) {
|
||||||
DL_ERR("Unexpected compound relocation type:%d type2:%d type3:%d @ %p (%zu)",
|
DL_ERR("Unexpected compound relocation type:%d type2:%d type3:%d @ %p (%zu)",
|
||||||
type, (unsigned)ELF64_R_TYPE2(rel->r_info),
|
type, static_cast<unsigned>(ELF64_R_TYPE2(rel->r_info)),
|
||||||
(unsigned)ELF64_R_TYPE3(rel->r_info), rel, idx);
|
static_cast<unsigned>(ELF64_R_TYPE3(rel->r_info)), rel, idx);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue