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 6bfaf00..a3f3f05 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;
 }