Skip to content

Commit 8a7b621

Browse files
authored
Change seed type to long for CLS Compliance
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent f859c6a commit 8a7b621

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

HashifyNet/Algorithms/RapidHash/RapidHashConfig.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace HashifyNet.Algorithms.RapidHash
3333
/// Represents the configuration settings for the RapidHash algorithm.
3434
/// </summary>
3535
/// <remarks>This class provides options to configure the behavior of the RapidHash algorithm, including the
36-
/// hash size and an optional seed value. It also supports cloning to create independent configuration
36+
/// hash size and an optional seed value. It also supports cloning to create an independent configuration
3737
/// instances.</remarks>
3838
public class RapidHashConfig : IRapidHashConfig
3939
{
@@ -46,7 +46,7 @@ public class RapidHashConfig : IRapidHashConfig
4646
/// <inheritdoc/>
4747
/// <para>Defaults to 0.</para>
4848
/// </summary>
49-
public ulong Seed { get; set; } = 0;
49+
public long Seed { get; set; }
5050

5151
/// <summary>
5252
/// <inheritdoc/>
@@ -61,3 +61,4 @@ public class RapidHashConfig : IRapidHashConfig
6161
public IRapidHashConfig Clone() => new RapidHashConfig() { Seed = this.Seed, Mode = this.Mode };
6262
}
6363
}
64+

0 commit comments

Comments
 (0)