mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Fix types in std::max.
This commit is contained in:
parent
e496f24427
commit
eb95d65622
@ -2521,7 +2521,7 @@ void View::DrawMessages()
|
||||
if( ImGui::IsItemClicked() )
|
||||
{
|
||||
m_pause = true;
|
||||
const auto hr = std::max( 1ll, ( m_zvEnd - m_zvStart ) / 2 );
|
||||
const auto hr = std::max<uint64_t>( 1, ( m_zvEnd - m_zvStart ) / 2 );
|
||||
m_zvStart = v->time - hr;
|
||||
m_zvEnd = v->time + hr;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user