* Added a typecast to avoid range error in 64-bit debug builds

git-svn-id: trunk@20596 -
This commit is contained in:
sergei 2012-03-23 13:48:34 +00:00
parent 86bf5f36ba
commit 3d1b4b1b63

View File

@ -693,7 +693,7 @@ var
idx: Integer;
HashValue: LongWord;
begin
HashValue := Hash(PtrUInt(uri), localName, localLength);
HashValue := Hash(LongWord(PtrUInt(uri)), localName, localLength);
mask := (1 shl FSizeLog) - 1;
step := (HashValue and (not mask)) shr (FSizeLog-1) and (mask shr 2) or 1;