Skip to content

Commit 0fd857c

Browse files
authored
Update JenkinsLookup3 tests with CLS Compliant types
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 385f0ca commit 0fd857c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

HashifyNet.UnitTests/Algorithms/Jenkins/JenkinsLookup3_Implementation_Tests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ protected override IJenkinsLookup3 CreateHashFunction(int hashSize) =>
240240
new JenkinsLookup3Config()
241241
{
242242
HashSizeInBits = hashSize,
243-
Seed = 0x7da236b9U,
244-
Seed2 = 0x87930b75U
243+
Seed = 0x7da236b9,
244+
Seed2 = unchecked((int)0x87930b75)
245245
});
246246
}
247247

@@ -257,9 +257,9 @@ protected override IJenkinsLookup3 CreateHashFunction(int hashSize) =>
257257
new JenkinsLookup3_Implementation(
258258
new JenkinsLookup3Config()
259259
{
260-
Seed = 0x7da236b9U,
261-
Seed2 = 0x87930b75U
260+
Seed = 0x7da236b9,
261+
Seed2 = unchecked((int)0x87930b75)
262262
});
263263
}
264264
}
265-
}
265+
}

0 commit comments

Comments
 (0)