diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 5f317926..ed9842ed 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -8844,7 +8844,7 @@ void View::DrawInfo() } else { - const auto pxns = numBins / ( tmax - tmin ); + const auto pxns = numBins / double( tmax - tmin ); const auto nspx = 1.0 / pxns; const auto scale = std::max( 0.0f, round( log10( nspx ) + 2 ) ); const auto step = pow( 10, scale );