Skip to content

Commit

Permalink
Use long integer for UpdateEvent()
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-nyan committed Aug 13, 2023
1 parent fae593b commit 19c3ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hi3Helper.SharpHDiffPatch/HDiffPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public void Patch(string inputPath, string outputPath, bool useBufferedPatch, Ca
}
#endregion

internal static void UpdateEvent(int read)
internal static void UpdateEvent(long read)
{
PatchEvent.UpdateEvent(currentSizePatched += read, totalSizePatched, read, _patchStopwatch.Elapsed.TotalSeconds);
Event.PushEvent(PatchEvent);
Expand Down

0 comments on commit 19c3ad2

Please sign in to comment.