From 3e0d8f7aefe115f7bc318a70f0b03b86342c5142 Mon Sep 17 00:00:00 2001 From: Daniel Coonce Date: Fri, 13 Nov 2020 16:38:31 -0600 Subject: Fix build for x86_64-w64-mingw32 Fixes #1905 --- src/item.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/item.cc') diff --git a/src/item.cc b/src/item.cc index d46fba8b..06d77c66 100644 --- a/src/item.cc +++ b/src/item.cc @@ -369,7 +369,7 @@ namespace { } value_t get_addr(item_t& item) { - return long(&item); + return long(reinterpret_cast(&item)); } value_t get_depth(item_t&) { -- cgit v1.2.3