]> www.ginac.de Git - ginac.git/blobdiff - ginac/symbol.cpp
Fixed problems on 64-bit machines and introduced has_options::algebraic.
[ginac.git] / ginac / symbol.cpp
index 6c0c6960769f8a166b615cb80f89c7d13ab6087f..2d680c435cf10b5811f23f75e2396eb988ed1e00 100644 (file)
@@ -257,7 +257,7 @@ bool symbol::is_equal_same_type(const basic & other) const
 
 unsigned symbol::calchash() const
 {
-       hashvalue = golden_ratio_hash((unsigned)tinfo() ^ serial);
+       hashvalue = golden_ratio_hash((p_int)tinfo() ^ serial);
        setflag(status_flags::hash_calculated);
        return hashvalue;
 }