summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx
index d3e9a492..95a37438 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -471,7 +471,7 @@ struct mapvar
string exists (vector<tmpvar> const & indices) const
{
- return "(((int64_t)" + call_prefix("get", indices) + ")) != 0)";
+ return "((uintptr_t)" + call_prefix("get", indices) + ") != (uintptr_t) 0)";
}
string get (vector<tmpvar> const & indices) const