summaryrefslogtreecommitdiffstats
path: root/linker
diff options
context:
space:
mode:
Diffstat (limited to 'linker')
-rwxr-xr-xlinker/linker.cpp2
-rw-r--r--linker/linker.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index f58e222..9bc9afe 100755
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -783,7 +783,7 @@ static soinfo* find_library_internal(const char* name) {
// At this point we know that whatever is loaded @ base is a valid ELF
// shared library whose segments are properly mapped in.
- TRACE("[ init_library base=%p sz=0x%08x name='%s' ]",
+ TRACE("[ find_library_internal base=%p size=%zu name='%s' ]",
reinterpret_cast<void*>(si->base), si->size, si->name);
if (!soinfo_link_image(si)) {
diff --git a/linker/linker.h b/linker/linker.h
index 67a86ab..972050f 100644
--- a/linker/linker.h
+++ b/linker/linker.h
@@ -106,7 +106,7 @@ struct soinfo {
size_t phnum;
Elf_Addr entry;
Elf_Addr base;
- unsigned size;
+ size_t size;
#ifndef __LP64__
uint32_t unused1; // DO NOT USE, maintained for compatibility.