Fix 64bit build
Change-Id: I6ef55b5951270c46ee5e9a11385bd09e33a9f969
This commit is contained in:
parent
34ac60ca16
commit
f240aa8089
|
@ -1877,7 +1877,7 @@ bool soinfo::PrelinkImage() {
|
|||
break;
|
||||
case DT_SYMENT:
|
||||
if (d->d_un.d_val != sizeof(ElfW(Sym))) {
|
||||
DL_ERR("invalid DT_SYMENT: %d", d->d_un.d_val);
|
||||
DL_ERR("invalid DT_SYMENT: %zd", static_cast<size_t>(d->d_un.d_val));
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
@ -1932,7 +1932,7 @@ bool soinfo::PrelinkImage() {
|
|||
break;
|
||||
case DT_RELAENT:
|
||||
if (d->d_un.d_val != sizeof(ElfW(Rela))) {
|
||||
DL_ERR("invalid DT_RELAENT: %d", d->d_un.d_val);
|
||||
DL_ERR("invalid DT_RELAENT: %zd", static_cast<size_t>(d->d_un.d_val));
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
@ -1954,7 +1954,7 @@ bool soinfo::PrelinkImage() {
|
|||
break;
|
||||
case DT_RELENT:
|
||||
if (d->d_un.d_val != sizeof(ElfW(Rel))) {
|
||||
DL_ERR("invalid DT_RELENT: %d", d->d_un.d_val);
|
||||
DL_ERR("invalid DT_RELENT: %zd", static_cast<size_t>(d->d_un.d_val));
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue