]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.cpp
* Streamlining by Peter Eisentraut <petere@debian.org>.
[ginac.git] / ginac / relational.cpp
index 63dd2459c610d8295c1421e7dd4aa5361be7efdc..324b2a5d72a82d4809a22f85a9c1f4e5dbd9ce23 100644 (file)
@@ -250,7 +250,7 @@ unsigned relational::return_type() const
        return lh.return_type();
 }
    
-const basic* relational::return_type_tinfo() const
+tinfo_t relational::return_type_tinfo() const
 {
        GINAC_ASSERT(lh.return_type_tinfo()==rh.return_type_tinfo());
        return lh.return_type_tinfo();
@@ -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();