X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fwildcard.cpp;h=38a67de90a44792d811cf7b4666fa55dd6999353;hp=84a67317a3542cfca4b964ec0a9c1a978bd03e26;hb=f164fa76f440bf7a455ca65abaf0f031f715f076;hpb=3ac17e18ada69428fe170c10abcc5f33a30f0676 diff --git a/ginac/wildcard.cpp b/ginac/wildcard.cpp index 84a67317..38a67de9 100644 --- a/ginac/wildcard.cpp +++ b/ginac/wildcard.cpp @@ -3,7 +3,7 @@ * Implementation of GiNaC's wildcard objects. */ /* - * GiNaC Copyright (C) 1999-2006 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2007 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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; }