mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Use proper type for buffer size comparison.
This commit is contained in:
parent
70a7033a64
commit
1c41229766
@ -1255,7 +1255,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
|
||||
auto fi = m_slab.Alloc<FrameImage>();
|
||||
f.Read2( fi->w, fi->h );
|
||||
f.Read( fi->flip );
|
||||
const auto sz = fi->w * fi->h / 2;
|
||||
const auto sz = size_t( fi->w * fi->h / 2 );
|
||||
if( tmpbufsz < sz )
|
||||
{
|
||||
tmpbufsz = sz;
|
||||
|
Loading…
Reference in New Issue
Block a user