]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.cpp
Fixed problems on 64-bit machines and introduced has_options::algebraic.
[ginac.git] / ginac / relational.cpp
index 63dd2459c610d8295c1421e7dd4aa5361be7efdc..0f94f8cf09a59a51cc6468b362c43e047160234c 100644 (file)
@@ -258,7 +258,7 @@ const basic* relational::return_type_tinfo() const
 
 unsigned relational::calchash() const
 {
-       unsigned v = golden_ratio_hash((unsigned)tinfo());
+       unsigned v = golden_ratio_hash((p_int)tinfo());
        unsigned lhash = lh.gethash();
        unsigned rhash = rh.gethash();