From 1dca31ba51b8d76ce950f81d5108f94dbf624c47 Mon Sep 17 00:00:00 2001 From: fche Date: Tue, 8 Nov 2005 17:02:13 +0000 Subject: 2005-11-08 Frank Ch. Eigler Patch from "Mao, Bibo" * translate.cxx (mapvar::exists): Correct 64-bit type mismatch. --- translate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'translate.cxx') diff --git a/translate.cxx b/translate.cxx index 0c1ce84f..d3e9a492 100644 --- a/translate.cxx +++ b/translate.cxx @@ -471,7 +471,7 @@ struct mapvar string exists (vector const & indices) const { - return "(((int)" + call_prefix("get", indices) + ")) != 0)"; + return "(((int64_t)" + call_prefix("get", indices) + ")) != 0)"; } string get (vector const & indices) const -- cgit