diff --git a/YUViewLib/src/statistics/StatisticsType.cpp b/YUViewLib/src/statistics/StatisticsType.cpp index cf8cc4b62..bc68925f0 100644 --- a/YUViewLib/src/statistics/StatisticsType.cpp +++ b/YUViewLib/src/statistics/StatisticsType.cpp @@ -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(*index)); } if (init.renderGrid != renderGrid) newChild.setAttribute("renderGrid", renderGrid);