--- src/wayland/buffer/dmabuf.cpp.orig 2026-01-13 05:59:50 UTC +++ src/wayland/buffer/dmabuf.cpp @@ -599,9 +599,9 @@ WlBufferQSGTexture* WlDmaBuffer::createQsgTexture(QQui // clang-format off auto attribs = std::vector { - EGL_WIDTH, this->width, - EGL_HEIGHT, this->height, - EGL_LINUX_DRM_FOURCC_EXT, this->format, + EGL_WIDTH, static_cast(this->width), + EGL_HEIGHT, static_cast(this->height), + EGL_LINUX_DRM_FOURCC_EXT, static_cast(this->format), }; // clang-format on @@ -617,8 +617,8 @@ WlBufferQSGTexture* WlDmaBuffer::createQsgTexture(QQui // clang-format off attribs.insert(attribs.end(), { names.fd, plane.fd, - names.offset, plane.offset, - names.pitch, plane.stride, + names.offset, static_cast(plane.offset), + names.pitch, static_cast(plane.stride), }); // clang-format on