1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Explicitly specify type.

This commit is contained in:
Bartosz Taudul 2017-09-22 22:14:04 +02:00
parent 7d5ed99f0f
commit 081e9eed7d

View File

@ -780,8 +780,8 @@ void View::DrawZones()
}
else if( timespan < 1000ull * 1000 * 1000 * 60 )
{
m_zvStart -= std::max( 1ll, int64_t( p1 * 0.1f ) );
m_zvEnd += std::max( 1ll, int64_t( p2 * 0.1f ) );
m_zvStart -= std::max( int64_t( 1 ), int64_t( p1 * 0.1f ) );
m_zvEnd += std::max( int64_t( 1 ), int64_t( p2 * 0.1f ) );
}
timespan = m_zvEnd - m_zvStart;
pxns = w / double( timespan );