Fix type mismatch.

This commit is contained in:
Bartosz Taudul 2017-11-11 14:35:46 +01:00
parent 0d15d45c3a
commit 49bce256bc

View File

@ -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;
}