From eb95d656225ebdc61bec8a59519f4f0c2d334243 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 14 Oct 2017 18:34:18 +0200 Subject: [PATCH] Fix types in std::max. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index fe783581..665617ba 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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( 1, ( m_zvEnd - m_zvStart ) / 2 ); m_zvStart = v->time - hr; m_zvEnd = v->time + hr; }