]> www.ginac.de Git - ginac.git/blobdiff - ginac/hash_seed.h
Remove extra cases for missing <stdint.h>.
[ginac.git] / ginac / hash_seed.h
index c0fb4b8904c0c247311d35c799207474bbcff1f8..9b163cf86010952ab40289682763657228842ef2 100644 (file)
@@ -38,7 +38,7 @@ static inline unsigned make_hash_seed(const std::type_info& tinfo)
        // This pointer is the same for all objects of the same type.
        // Hence we can use it.
        const void* mangled_name_ptr = (const void*)tinfo.name();
-       unsigned v = golden_ratio_hash((p_int)mangled_name_ptr);
+       unsigned v = golden_ratio_hash((uintptr_t)mangled_name_ptr);
        return v;
 }
 #else