mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-23 07:12:12 -07:00
Adding missing cast to deliberately throw away bits in hash function, fixing a warning on w3i6mv.
Copied from Perforce Change: 178200 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
e76e783934
commit
45c488d1c5
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ static size_t sizeFloorLog2(size_t size)
|
|||
static ulong TableHash(Word key)
|
||||
{
|
||||
/* Shift some randomness into the low bits. */
|
||||
return (key >> 10) + key;
|
||||
return (ulong)((key >> 10) + key);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue