summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/painting/qoutlinemapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qoutlinemapper.cpp b/src/gui/painting/qoutlinemapper.cpp
index f1e4ce5820..b2d02182c3 100644
--- a/src/gui/painting/qoutlinemapper.cpp
+++ b/src/gui/painting/qoutlinemapper.cpp
@@ -179,7 +179,7 @@ QT_FT_Outline *QOutlineMapper::convertPath(const QVectorPath &path)
m_elements.resize(count);
if (count)
- memcpy(m_elements.data(), path.points(), count* sizeof(QPointF));
+ memcpy(static_cast<void *>(m_elements.data()), static_cast<const void *>(path.points()), count* sizeof(QPointF));
m_element_types.resize(0);
}