Fix warning on sparc

llvm-svn: 5426
This commit is contained in:
Chris Lattner 2003-01-29 16:26:46 +00:00
parent 362dab3705
commit 51978fe692
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ hash(ts, mod) Item_Set ts; int mod;
v = 0;
for (; (nt = *r) != 0; r++) {
v ^= ((int)p[nt].rule) + (PRINCIPLECOST(p[nt].delta)<<4);
v ^= ((long)p[nt].rule) + (PRINCIPLECOST(p[nt].delta)<<4);
}
v >>= 4;
v &= (mod-1);