Skip to content

Commit

Permalink
Remove implicit conversion changint type.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Jan 10, 2025
1 parent 72d1d5c commit ae336dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BasicDataPlot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ BasicDataPlot::TimeScaleDraw::TimeScaleDraw()

QwtText BasicDataPlot::TimeScaleDraw::label(double v) const
{
return {qwt_ble_utilities::stringFromDays(::lround(v))};
return {qwt_ble_utilities::stringFromDays(static_cast<int>(::lround(v)))};
}

void BasicDataPlot::legendItemChecked(const QVariant& itemInfo, bool on,
Expand Down

0 comments on commit ae336dc

Please sign in to comment.