]> www.ginac.de Git - ginac.git/blobdiff - ginac/wildcard.cpp
Fixed problems on 64-bit machines and introduced has_options::algebraic.
[ginac.git] / ginac / wildcard.cpp
index 84a67317a3542cfca4b964ec0a9c1a978bd03e26..62a4eb5086d552fd1c75a304045c739f4717b4f5 100644 (file)
@@ -106,7 +106,7 @@ unsigned wildcard::calchash() const
        // this is where the schoolbook method
        // (golden_ratio_hash(tinfo()) ^ label)
        // is not good enough yet...
-       hashvalue = golden_ratio_hash(golden_ratio_hash((unsigned)tinfo()) ^ label);
+       hashvalue = golden_ratio_hash(golden_ratio_hash((p_int)tinfo()) ^ label);
        setflag(status_flags::hash_calculated);
        return hashvalue;
 }