Skip to content

Commit

Permalink
Compilation fix linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianFeldmann committed Feb 26, 2024
1 parent 01edae3 commit 2c9dbf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YUViewLib/src/statistics/StatisticsType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void StatisticsType::savePlaylist(YUViewDomElement &root) const
if (init.arrowHead != arrowHead)
{
if (const auto index = vectorIndexOf(stats::AllArrowHeads, arrowHead))
newChild.setAttribute("renderarrowHead", *index);
newChild.setAttribute("renderarrowHead", static_cast<int>(*index));
}
if (init.renderGrid != renderGrid)
newChild.setAttribute("renderGrid", renderGrid);
Expand Down

0 comments on commit 2c9dbf1

Please sign in to comment.