Fix MSVC "value may be truncated" warnings. (by pkasting@)
git-svn-id: https://cld2.googlecode.com/svn/trunk@168 b252ecd4-b096-bf77-eb8e-91563289f87e
This commit is contained in:
@@ -392,7 +392,7 @@ inline void OctaFPJustHash(uint64 longwordhash,
|
||||
uint32* subscr, uint32* hashkey) {
|
||||
uint32 temp = (longwordhash + (longwordhash >> 12)) & (bucketcount - 1);
|
||||
*subscr = temp;
|
||||
temp = longwordhash >> 4;
|
||||
temp = static_cast<uint32>(longwordhash >> 4);
|
||||
*hashkey = temp & keymask;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user