]> www.ginac.de Git - ginac.git/commitdiff
Fixed cast that caused compile error on 64bit machines.
authorJens Vollinga <jensv@balin.nikhef.nl>
Fri, 31 Jul 2009 09:14:01 +0000 (11:14 +0200)
committerAlexei Sheplyakov <Alexei.Sheplyakov@gmail.com>
Thu, 9 Dec 2010 18:46:06 +0000 (20:46 +0200)
ginac/parser/parser.cpp

index 6bfaf002c4ef68d3fe16df344f045aad0a0495e3..a3f3f0520c8c6bbff90330f76303af69361e1b05 100644 (file)
@@ -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<unsigned>(reader->second), args);
        return ret;
 }