From 844999e92fcd9b461ce5bfae7b499f75d171ba1a Mon Sep 17 00:00:00 2001 From: Fuzz Date: Wed, 17 Jul 2024 13:43:42 +1000 Subject: [PATCH] PerformanceMonitor - fixed linux build issue --- src/PerformanceMonitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PerformanceMonitor.cpp b/src/PerformanceMonitor.cpp index 5e4ede59..397cef47 100644 --- a/src/PerformanceMonitor.cpp +++ b/src/PerformanceMonitor.cpp @@ -105,7 +105,7 @@ void PerformanceMonitor::PrintStats(bool perTick, bool fullStack) }); uint64 typeTotalTime = 0; - uint64 typeMinTime = MAXINT32; + uint64 typeMinTime = 0xffffffffu; uint64 typeMaxTime = 0; uint32 typeCount = 0; for (auto& name : names) @@ -204,7 +204,7 @@ void PerformanceMonitor::PrintStats(bool perTick, bool fullStack) }); uint64 typeTotalTime = 0; - uint64 typeMinTime = MAXINT32; + uint64 typeMinTime = 0xffffffffu; uint64 typeMaxTime = 0; uint32 typeCount = 0; for (auto& name : names)