Skip to content

Commit 7d1b867

Browse files
committed
Oops... again...
1 parent e328985 commit 7d1b867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SarcLibrary/Readers/SfatReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public ref SfatNode this[ReadOnlySpan<byte> key] {
2424
[MethodImpl(MethodImplOptions.AggressiveInlining)]
2525
get {
2626
int index = GetIndex(GetHash(key));
27-
return ref index > 0 && Nodes.Length > index
27+
return ref index > -1 && Nodes.Length > index
2828
? ref Nodes[index]
2929
: ref Unsafe.NullRef<SfatNode>();
3030
}

0 commit comments

Comments
 (0)