aboutsummaryrefslogtreecommitdiffstats
path: root/support/tools/Burg/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/tools/Burg/map.c')
-rw-r--r--support/tools/Burg/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/tools/Burg/map.c b/support/tools/Burg/map.c
index 6c3c154..588b485 100644
--- a/support/tools/Burg/map.c
+++ b/support/tools/Burg/map.c
@@ -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);