diff options
author | Chris Lattner <sabre@nondot.org> | 2003-01-29 16:26:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-01-29 16:26:46 +0000 |
commit | b16b39914bd0b2bf63fa5f2501b42977b71f2d3f (patch) | |
tree | be80fd4385869c718036d468ebe0007252d8b2cf /utils/Burg | |
parent | 3f24d7a2cd54abf84925a2dce2f7cc6a61da2b3d (diff) | |
download | external_llvm-b16b39914bd0b2bf63fa5f2501b42977b71f2d3f.zip external_llvm-b16b39914bd0b2bf63fa5f2501b42977b71f2d3f.tar.gz external_llvm-b16b39914bd0b2bf63fa5f2501b42977b71f2d3f.tar.bz2 |
Fix warning on sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/Burg')
-rw-r--r-- | utils/Burg/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/Burg/map.c b/utils/Burg/map.c index 6c3c154..588b485 100644 --- a/utils/Burg/map.c +++ b/utils/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); |