Skip to content

Commit

Permalink
Fix CA2022 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yaakov-h committed Sep 13, 2024
1 parent 580b528 commit d1a583c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DepotDownloader/ContentDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ private static void DownloadSteam3AsyncDepotFile(
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);
Expand Down

0 comments on commit d1a583c

Please sign in to comment.