Fix CPU profiler crash on conversion to ulong.

This commit is contained in:
Chandler Cox
2025-01-09 20:55:30 -06:00
parent 3133ebbd83
commit 2260236fa6

View File

@@ -175,7 +175,7 @@ namespace FlaxEditor.Windows.Profiler
private string FormatCellBytes(object x)
{
return Utilities.Utils.FormatBytesCount((ulong)x);
return Utilities.Utils.FormatBytesCount(Convert.ToUInt64(x));
}
/// <inheritdoc />