From 081e9eed7ddf9a2b60defabdbdb2fd9710dcf52a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 22 Sep 2017 22:14:04 +0200 Subject: [PATCH] Explicitly specify type. --- server/TracyView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 35c8840c..2c23cbb1 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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 );