Skip to content

Commit 2db0c8d

Browse files
authored
Cast back int to uint internally
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 75adb64 commit 2db0c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HashifyNet/Algorithms/MurmurHash/MurmurHash1_Implementation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected override IHashValue ComputeHashInternal(ArraySegment<byte> data, Cance
7272
var endOffset = dataOffset + dataCount;
7373
var remainderCount = dataCount % 4;
7474

75-
uint hashValue = _config.Seed ^ ((uint)dataCount * _m);
75+
uint hashValue = (uint)_config.Seed ^ ((uint)dataCount * _m);
7676

7777
// Process 4-byte groups
7878
{

0 commit comments

Comments
 (0)