Libraries: Unbreak building with extra debug macros

This commit is contained in:
Ben Wiederhake
2020-08-27 00:34:59 +02:00
committed by Andreas Kling
parent 081bb29626
commit d8e22fedc3
8 changed files with 23 additions and 17 deletions

View File

@@ -263,7 +263,7 @@ const DynamicObject::Symbol DynamicObject::HashSection::lookup_symbol(const char
auto symbol = m_dynamic.symbol(i);
if (strcmp(name, symbol.name()) == 0) {
#ifdef DYNAMIC_LOAD_DEBUG
dbgprintf("Returning dynamic symbol with index %d for %s: %p\n", i, symbol.name(), symbol.address());
dbgprintf("Returning dynamic symbol with index %u for %s: %p\n", i, symbol.name(), symbol.address().as_ptr());
#endif
return symbol;
}