Skip to content

Commit 75adb64

Browse files
authored
Cast back long to ulong internally
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 3cd4175 commit 75adb64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HashifyNet/Algorithms/MurmurHash/MurmurHash2_Implementation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ protected IHashValue ComputeHash64(ArraySegment<byte> data, CancellationToken ca
153153
var endOffset = dataOffset + dataCount;
154154
var remainderCount = dataCount % 8;
155155

156-
ulong hashValue = _config.Seed ^ ((ulong)dataCount * _mixConstant64);
156+
ulong hashValue = (ulong)_config.Seed ^ ((ulong)dataCount * _mixConstant64);
157157

158158
// Process 8-byte groups
159159
{

0 commit comments

Comments
 (0)