From eaf81b3115697a8e883848ace0ceb919cf443b2c Mon Sep 17 00:00:00 2001 From: Jens Vollinga Date: Fri, 31 Jul 2009 11:14:01 +0200 Subject: [PATCH] Fixed cast that caused compile error on 64bit machines. --- ginac/parser/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ginac/parser/parser.cpp b/ginac/parser/parser.cpp index 49314663..a46017d3 100644 --- a/ginac/parser/parser.cpp +++ b/ginac/parser/parser.cpp @@ -66,7 +66,7 @@ ex parser::parse_identifier_expr() Parse_error_("no function \"" << name << "\" with " << args.size() << " arguments"); } - ex ret = GiNaC::function((unsigned)reader->second, args); + ex ret = GiNaC::function(reinterpret_cast(reader->second), args); return ret; } -- 2.47.0