1
0

Fixed an inconsequential macro argument typo for vtable_ptr

This commit is contained in:
Patrick Gaskin
2020-08-04 23:56:44 -04:00
parent f813e90767
commit 397964e761

View File

@@ -196,7 +196,7 @@ NM_ACTION_(nickel_setting) {
// address plus 8 (for the vtable header), then look up the address in
// reverse to find that it refers to a GOT relocation for a vtable symbol.
#define vtable_ptr(x) *reinterpret_cast<void**&>(settings)
#define vtable_ptr(x) *reinterpret_cast<void**&>(x)
#define vtable_target(x) reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(x)+8)
//libnickel 4.6 * _ZTV8Settings