Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/PerfView/CommandProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3653,7 +3653,7 @@ private void WaitForRundownIdle(int minSeconds, int maxSeconds, int maxSizeMB, s
LogFile.WriteLine("Rundown File Length: {0:n1}MB delta: {1:n1}MB", newRundownFileLen / 1000000.0, delta / 1000000.0);
rundownFileLen = newRundownFileLen;

if ((maxSizeMB > 0) && rundownFileLen >= (maxSizeMB * 1024 * 1024))
if ((maxSizeMB > 0) && rundownFileLen >= ((long)maxSizeMB * 1024 * 1024))
{
LogFile.WriteLine($"Exceeded maximum rundown file size of {maxSizeMB}MB.");
break;
Expand Down