mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Use proper data type size.
This commit is contained in:
parent
1d97efa059
commit
ed5f534bbb
@ -9459,7 +9459,7 @@ void View::DrawZoneList( const Vector<short_ptr<ZoneEvent>>& zones )
|
||||
{
|
||||
zonesToIterate = &sortedZones;
|
||||
sortedZones.reserve_and_use( zones.size() );
|
||||
memcpy( sortedZones.data(), zones.data(), zones.size() * sizeof( ZoneEvent* ) );
|
||||
memcpy( sortedZones.data(), zones.data(), zones.size() * sizeof( decltype( *zones.begin() ) ) );
|
||||
|
||||
switch( m_findZone.tableSortBy )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user