Skip to content

Commit c8e251b

Browse files
committed
File: Fix infinite loop on FileDescriptor::write (Windows)
1 parent 194f94f commit c8e251b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/File/Internal/FileWindows.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ SC::Result SC::FileDescriptor::write(Span<const char> data)
115115
SC::Result SC::FileDescriptor::read(Span<char> data, Span<char>& actuallyRead, uint64_t offset)
116116
{
117117
SC_TRY(seek(SeekStart, offset));
118-
return read(data, actuallyRead, offset);
118+
return read(data, actuallyRead);
119119
}
120120

121121
SC::Result SC::FileDescriptor::read(Span<char> data, Span<char>& actuallyRead)

0 commit comments

Comments
 (0)