Skip to content

Commit 9289b35

Browse files
long schemaver
1 parent 2067437 commit 9289b35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LightWeight/DataTypeInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public override string ToString()
4848
/// <summary>
4949
/// Use .ToString("X16") to convert to a more compact form.
5050
/// </summary>
51-
public static ulong GetSchemaVer(List<DataTypeInfo> columns, string[] keyColumns)
51+
public static long GetSchemaVer(List<DataTypeInfo> columns, string[] keyColumns)
5252
{
5353
var keySet = keyColumns?.ToHashSet(StringComparer.OrdinalIgnoreCase);
5454

@@ -78,6 +78,6 @@ public static ulong GetSchemaVer(List<DataTypeInfo> columns, string[] keyColumns
7878
hash *= 0x100000001B3u;
7979
}
8080

81-
return hash;
81+
return unchecked((long)hash);
8282
}
8383
}

0 commit comments

Comments
 (0)