summaryrefslogtreecommitdiff
path: root/src/plugins/platforms/wayland/qwaylandcursor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandcursor.cpp')
-rw-r--r--src/plugins/platforms/wayland/qwaylandcursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandcursor.cpp b/src/plugins/platforms/wayland/qwaylandcursor.cpp
index e8e7ef1e..55c7cf67 100644
--- a/src/plugins/platforms/wayland/qwaylandcursor.cpp
+++ b/src/plugins/platforms/wayland/qwaylandcursor.cpp
@@ -199,7 +199,7 @@ void QWaylandCursor::setupPixmapCursor(QCursor *cursor)
}
QImage src = cursor->pixmap().toImage().convertToFormat(QImage::Format_ARGB32);
for (int y = 0; y < src.height(); ++y)
- qMemCopy(mBuffer->image()->scanLine(y), src.scanLine(y), src.bytesPerLine());
+ memcpy(mBuffer->image()->scanLine(y), src.scanLine(y), src.bytesPerLine());
mDisplay->setCursor(mBuffer, cursor->hotSpot().x(), cursor->hotSpot().y());
}