Fix CA2022 warning

This commit is contained in:
Yaakov authored and Pavel Djundik committed 2024-11-14 10:53:26 +02:00
1 parent 6c09739c8c
commit fac3a22f4f
1 file changed
+1 -1
+1 -1
View File
@@ -1119,7 +1119,7 @@ namespace DepotDownloader
fsOld.Seek((long)match.OldChunk.Offset, SeekOrigin.Begin);
var tmp = new byte[match.OldChunk.UncompressedLength];
fsOld.Read(tmp, 0, tmp.Length);
fsOld.ReadExactly(tmp);
fs.Seek((long)match.NewChunk.Offset, SeekOrigin.Begin);
fs.Write(tmp, 0, tmp.Length);