From 49bce256bc5869e1c9be1593aaf39ca4c4804edd Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 11 Nov 2017 14:35:46 +0100 Subject: [PATCH] Fix type mismatch. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index df6c41b7..1105115a 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -278,7 +278,7 @@ bool Profiler::AppendData( const void* data, size_t len ) auto ret = true; if( m_bufferOffset - m_bufferStart + len > TargetFrameSize ) ret = CommitData(); memcpy( m_buffer + m_bufferOffset, data, len ); - m_bufferOffset += len; + m_bufferOffset += int( len ); return ret; }