mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 23:21:57 +02:00
* Added a typecast to avoid range error in 64-bit debug builds
git-svn-id: trunk@20596 -
This commit is contained in:
parent
86bf5f36ba
commit
3d1b4b1b63
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user