Skip to content

Commit dda124b

Browse files
committed
missed one :(
1 parent 809b3ad commit dda124b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/modules/EventManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void DFHack::EventManager::unregister(EventType::EventType e, EventHandler handl
119119
continue;
120120
}
121121
DEBUG(log).print("unregistering handler {} from plugin {} for event {}\n",
122-
static_cast<void*>(handler.eventHandler),
122+
reinterpret_cast<void*>(handler.eventHandler),
123123
handler.plugin ? handler.plugin->getName() : "<null>",
124124
static_cast<int>(e));
125125
i = handlers[e].erase(i);

0 commit comments

Comments
 (0)