From 397964e76149e19cc839201df7123b9f33604431 Mon Sep 17 00:00:00 2001 From: Patrick Gaskin Date: Tue, 4 Aug 2020 23:56:44 -0400 Subject: [PATCH] Fixed an inconsequential macro argument typo for vtable_ptr --- src/action_cc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action_cc.cc b/src/action_cc.cc index f5117b7..159a21e 100644 --- a/src/action_cc.cc +++ b/src/action_cc.cc @@ -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(settings) + #define vtable_ptr(x) *reinterpret_cast(x) #define vtable_target(x) reinterpret_cast(reinterpret_cast(x)+8) //libnickel 4.6 * _ZTV8Settings