diff options
Diffstat (limited to 'src/item.cc')
-rw-r--r-- | src/item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<intptr_t>(&item)); } value_t get_depth(item_t&) { |