From: Jens Vollinga Date: Fri, 31 Jul 2009 09:14:01 +0000 (+0200) Subject: Fixed cast that caused compile error on 64bit machines. X-Git-Tag: release_1-6-0~29 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=adb222a4d30fade5b53e94e2750b8c0ba83e90b6;ds=inline Fixed cast that caused compile error on 64bit machines. --- diff --git a/ginac/parser/parser.cpp b/ginac/parser/parser.cpp index 6bfaf002..a3f3f052 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; }