From 5e48eebf262cdced5cd65599a951597b82b0e83f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 7 Feb 2021 21:08:24 +0100 Subject: [PATCH] Fix type in comparison. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 87d7fc1f..38e5ba53 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -3246,7 +3246,7 @@ void Profiler::HandleSourceCodeQuery() auto ptr = (char*)tracy_malloc( st.st_size ); auto rd = fread( ptr, 1, st.st_size, f ); fclose( f ); - if( rd == st.st_size ) + if( rd == (size_t)st.st_size ) { SendLongString( (uint64_t)ptr, ptr, rd, QueueType::SourceCode ); }