Skip to content

Commit 3cd4175

Browse files
authored
Cast back int to uint internally
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 21cd037 commit 3cd4175

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HashifyNet/Algorithms/MurmurHash/MurmurHash3_Implementation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ public override IBlockTransformer CreateBlockTransformer()
8181
switch (_config.HashSizeInBits)
8282
{
8383
case 32:
84-
return new BlockTransformer32(_config.Seed);
84+
return new BlockTransformer32((uint)_config.Seed);
8585

8686
case 128:
87-
return new BlockTransformer128(_config.Seed);
87+
return new BlockTransformer128((uint)_config.Seed);
8888

8989
default:
9090
throw new NotImplementedException();

0 commit comments

Comments
 (0)