From fe313773d1bba00cb6db6ca5182b7eaf02340df8 Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Sun, 1 Dec 2024 21:49:58 +0200 Subject: [PATCH] Fix casting error in CPU profiler tab --- Source/Editor/Windows/Profiler/CPU.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/Windows/Profiler/CPU.cs b/Source/Editor/Windows/Profiler/CPU.cs index 8c6ff5e78..df0ebdd15 100644 --- a/Source/Editor/Windows/Profiler/CPU.cs +++ b/Source/Editor/Windows/Profiler/CPU.cs @@ -175,7 +175,7 @@ namespace FlaxEditor.Windows.Profiler private string FormatCellBytes(object x) { - return Utilities.Utils.FormatBytesCount((ulong)x); + return Utilities.Utils.FormatBytesCount((ulong)(int)x); } ///